...
|
...
|
@@ -114,3 +114,16 @@ UPDATE summary_evaluation |
|
|
set begin_time = '2023-04-02 23:59:00+08',
|
|
|
end_time = '2023-04-04 23:59:00+08'
|
|
|
WHERE id=37
|
|
|
|
|
|
-- 修改数据summary_evaluation 表数据
|
|
|
with t1 as (
|
|
|
SELECT summary_evaluation.id,summary_evaluation.evaluation_project_id
|
|
|
FROM summary_evaluation
|
|
|
WHERE to_char( summary_evaluation.begin_time, 'YYYY-MM-DD') ='2023-03-31'
|
|
|
and to_char( summary_evaluation.end_time, 'YYYY-MM-DD') ='2023-04-02'
|
|
|
and company_id=1
|
|
|
)
|
|
|
update summary_evaluation
|
|
|
set end_time=end_time+'1 day'
|
|
|
FROM t1
|
|
|
WHERE summary_evaluation.evaluation_project_id=t1.evaluation_project_id |
|
|
\ No newline at end of file |
...
|
...
|
|