## 见点考核初始化数据类型调整;

This commit is contained in:
cabbage 2025-07-24 15:47:05 +08:00
parent 6106613c33
commit 5ae3d839f1
1 changed files with 2 additions and 2 deletions

View File

@ -472,7 +472,7 @@
and cm.pay_time >= #{monthStartDate} and cm.pay_time >= #{monthStartDate}
and #{endDate} >= cm.pay_time and #{endDate} >= cm.pay_time
) tmp ) tmp
on (cma.pk_member = tmp.pk_id and assess_type = 0 and cma.del_flag = 0) on (cma.pk_member = tmp.pk_id and assess_type = 5 and cma.del_flag = 0)
when not matched then when not matched then
insert insert
(pk_member, (pk_member,
@ -510,7 +510,7 @@
and cma.del_flag = 0 and cma.del_flag = 0
where cma.start_date is null where cma.start_date is null
or tmp.pay_time > cma.start_date) tmp or tmp.pay_time > cma.start_date) tmp
on (cma.pk_member = tmp.pk_member and assess_type = 0 and cma.del_flag = 0 and cma.is_examine = 1) on (cma.pk_member = tmp.pk_member and assess_type = 5 and cma.del_flag = 0 and cma.is_examine = 1)
when matched then when matched then
update set cma.start_date = tmp.pay_time update set cma.start_date = tmp.pay_time
when not matched then when not matched then