修改视图字段

pull/1/head
wangpeng 2024-03-01 11:26:02 +08:00
parent b05808b812
commit 62fe8f9f60
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
c.DEPARTMENT_ID
FROM
vi_list_checkuser_all c
LEFT JOIN vi_list_checkrecord_all cr ON c.CHECKRECORD_ID = cr.CHECKRECORD_ID and c.HIDDEN_RISKSTANDARD=cr.HIDDEN_RISKSTANDARD
LEFT JOIN vi_list_checkrecord_all cr ON c.CHECKRECORD_ID = cr.CHECKRECORD_ID and c.LIST_TYPE=cr.LIST_TYPE
WHERE
cr.isdelete = '0'
AND cr.FINISHED = '1'
@ -76,7 +76,7 @@
c.USER_ID
FROM
vi_list_checkuser_all c
LEFT JOIN vi_list_checkrecord_all cr ON c.CHECKRECORD_ID = cr.CHECKRECORD_ID and c.HIDDEN_RISKSTANDARD=cr.HIDDEN_RISKSTANDARD
LEFT JOIN vi_list_checkrecord_all cr ON c.CHECKRECORD_ID = cr.CHECKRECORD_ID and c.LIST_TYPE=cr.LIST_TYPE
WHERE
cr.isdelete = '0'
AND cr.FINISHED = '1'