## 初始化考核数据调整;
This commit is contained in:
parent
488dd63c61
commit
0606078565
|
@ -517,11 +517,13 @@
|
||||||
where cma.assess_type = 5
|
where cma.assess_type = 5
|
||||||
and cma.is_examine = 1
|
and cma.is_examine = 1
|
||||||
and cma.del_flag = 0) tmp
|
and cma.del_flag = 0) tmp
|
||||||
left join ${accessTableName} cma
|
where tmp.pk_member not in
|
||||||
on cma.pk_member = tmp.pk_member
|
(select t.pk_member
|
||||||
and cma.assess_type = 5
|
from ${accessTableName} t
|
||||||
and cma.is_examine = 1
|
where t.del_flag = 0
|
||||||
and cma.del_flag = 0) tmp
|
and t.assess_type = 5
|
||||||
|
and t.is_examine = 0)
|
||||||
|
) tmp
|
||||||
on (cma.pk_member = tmp.pk_member and assess_type = 5 and cma.is_examine = 1 and cma.del_flag = 0)
|
on (cma.pk_member = tmp.pk_member and assess_type = 5 and cma.is_examine = 1 and cma.del_flag = 0)
|
||||||
when matched then
|
when matched then
|
||||||
update set cma.assess_status = tmp.assess_status,
|
update set cma.assess_status = tmp.assess_status,
|
||||||
|
|
Loading…
Reference in New Issue