diff --git a/src/main/resources/mybatis/dsno2/hiddenDangerCheckStandard/DictionaryMapper.xml b/src/main/resources/mybatis/dsno2/hiddenDangerCheckStandard/DictionaryMapper.xml index eb2263d..000c23c 100644 --- a/src/main/resources/mybatis/dsno2/hiddenDangerCheckStandard/DictionaryMapper.xml +++ b/src/main/resources/mybatis/dsno2/hiddenDangerCheckStandard/DictionaryMapper.xml @@ -207,10 +207,10 @@ from f - left join bus_hiddendangercheckstandard_common_item cca on cca.CHECK_CATEGORY = f.DICTIONARY_ID - left join bus_hiddendangercheckstandard_common_item cci on cci.CHECK_ITEM = f.DICTIONARY_ID - left join bus_hiddendangercheckstandard_custom_item cua on cua.CHECK_CATEGORY = f.DICTIONARY_ID - left join bus_hiddendangercheckstandard_custom_item cui on cui.CHECK_ITEM = f.DICTIONARY_ID + left join bus_hiddendangercheckstandard_common_item cca on cca.CHECK_CATEGORY = f.DICTIONARY_ID and cca.ISDELETE = '0' + left join bus_hiddendangercheckstandard_common_item cci on cci.CHECK_ITEM = f.DICTIONARY_ID and cci.ISDELETE = '0' + left join bus_hiddendangercheckstandard_custom_item cua on cua.CHECK_CATEGORY = f.DICTIONARY_ID and cua.ISDELETE = '0' + left join bus_hiddendangercheckstandard_custom_item cui on cui.CHECK_ITEM = f.DICTIONARY_ID and cui.ISDELETE = '0' where f.ISDELETE = '0' group by f.DICTIONARY_ID order by f.DICTIONARY_LEVEL asc, f.DICTIONARY_SORT asc