Commit 4a23c1dd by 潘诗林

v5.8.2 dml提交

1 parent 5079e13e
...@@ -62,4 +62,14 @@ where b.deleted_flag='N' and b.target_merchant_type=2 and b.division_money>0 and ...@@ -62,4 +62,14 @@ where b.deleted_flag='N' and b.target_merchant_type=2 and b.division_money>0 and
### 璐琦 -----------------end--------------------- ### 璐琦 -----------------end---------------------
### 林冲 -----------------start-------------------- ### 林冲 -----------------start--------------------
### 林冲 -----------------end----------------------
\ No newline at end of file \ No newline at end of file
### 林冲 -----------------end----------------------
### 潘诗林 -----------------start--------------------
UPDATE dj_car_life_merchant_deliver_target_config
SET period_start_date = CONCAT(target_month, '-01'),
period_end_date = DATE_FORMAT(LAST_DAY(CONCAT(target_month, '-01')), '%Y-%m-%d')
WHERE
target_month IS NOT NULL
AND period_start_date IS NULL;
### 潘诗林 -----------------end----------------------
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!