forked from integrated_whb/integrated_whb
清单记录bug修复
parent
a6d4f0787d
commit
141ada59bc
|
@ -190,9 +190,7 @@
|
|||
blsd.BZ as TASK_TYPE_NUM,
|
||||
bhd1.DICTIONARY_NAME as CHECK_CATEGORY_NAME,
|
||||
bhd2.DICTIONARY_NAME as CHECK_ITEM_NAME,
|
||||
btl.TERM_DESCRIBE as BAO_BAO_NUM_NAME,
|
||||
bhr.*,
|
||||
bhh.*
|
||||
btl.TERM_DESCRIBE as BAO_BAO_NUM_NAME
|
||||
from
|
||||
<include refid="tableName"></include> f
|
||||
left join bus_hiddendangercheckstandard_custom bl on bl.CUSTOM_ID = f.CUSTOM_ID
|
||||
|
@ -202,8 +200,6 @@
|
|||
left join bus_hiddendangercheckstandard_dictionary bhd1 on bhd1.DICTIONARY_ID = f.CHECK_CATEGORY and bhd1.ISDELETE = 0
|
||||
left join bus_hiddendangercheckstandard_dictionary bhd2 on bhd2.DICTIONARY_ID = f.CHECK_ITEM and bhd2.ISDELETE = 0
|
||||
left join bus_hiddendangercheckstandard_term_library btl on btl.TASK_NUM = f.BAO_BAO_NUM and btl.WORK_TYPE = blsd.BZ
|
||||
left join bus_hiddendangercheckstandard_recorditem bhr on bhr.CUSTOM_ID = f.CUSTOM_ID
|
||||
left join bus_hiddendangercheckstandard_hidden bhh on bhh.RECORDITEM_ID = bhr.RECORDITEM_ID
|
||||
where f.ISDELETE = '0'
|
||||
<if test="CUSTOM_ID != null and CUSTOM_ID != ''"><!-- 检查表id -->
|
||||
and f.CUSTOM_ID = #{CUSTOM_ID}
|
||||
|
|
Loading…
Reference in New Issue