diff --git a/src/main/resources/mybatis/datasource/hiddenDangerCheckStandard/CustomHiddenMapper.xml b/src/main/resources/mybatis/datasource/hiddenDangerCheckStandard/CustomHiddenMapper.xml index d50c6e4..ef742b9 100644 --- a/src/main/resources/mybatis/datasource/hiddenDangerCheckStandard/CustomHiddenMapper.xml +++ b/src/main/resources/mybatis/datasource/hiddenDangerCheckStandard/CustomHiddenMapper.xml @@ -445,8 +445,7 @@ chd.NAME CHECKDEPTNAME, lv.NAME HIDDENLEVELNAME, bc.LIST_NAME, - Bb.NAME as HIDDEN_CATEGORY_NAME, - bri.RISK_UNIT_ID + Bb.NAME as HIDDEN_CATEGORY_NAME from f left join sys_user cr on cr.USER_ID = f.CREATOR @@ -458,8 +457,7 @@ left join bus_checkrecord bc on bc.CHECKRECORD_ID = f.CHECKRECORD_ID and bc.ISDELETE = 0 left join lv on f.HIDDENLEVEL = lv.BIANMA left join SYS_DICTIONARIES Bb on f.HIDDEN_CATEGORY = Bb.DICTIONARIES_ID - left join bus_recorditem br on br.RECORDITEM_ID = f.RECORDITEM_ID - left join bus_riskpoint bri on bri.RISKPOINT_ID = br.RISKPOINT_ID + left join BUS_HIDDENDANGERCHECKSTANDARD_RECORDITEM br on br.RECORDITEM_ID = f.RECORDITEM_ID where f.HIDDEN_ID = #{HIDDEN_ID}