1
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ public class HealthCheckupProjectServiceImpl extends BaseServiceImpl<HealthCheck
|
||||
update health_checkup_user cu
|
||||
left join health_checkup_project p on cu.projectId=p.id
|
||||
left join sys_user u on cu.userId=u.id
|
||||
set cu.phone=u.mobile,cu.card=u.idCard,cu.marriage=u.marriage
|
||||
set cu.phone=if(cu.phone is null,u.mobile,cu.phone),cu.card=u.idCard,cu.marriage=u.marriage
|
||||
,cu.personType=(case when p.name like '%在职教职工%' then '在职教职工' when p.name like '%校聘高知%' then '校聘高知保健对象' else '' end)
|
||||
where cu.projectId=@projectId2 and cu.confirmStatus!='1'
|
||||
""");
|
||||
|
||||
Reference in New Issue
Block a user