| | |
| | | <select id="selectInfo" resultType="com.thhy.secure.modules.biz.hiddenDanger.entity.HiddenDangerEntity"> |
| | | select |
| | | t.id, |
| | | t.dangerLocation, |
| | | sd.dict_name dangerLocation, |
| | | sd.dict_id dictId, |
| | | t.title, |
| | | t.createTime, |
| | | t.auditStatus, |
| | |
| | | from t_hidden_danger t |
| | | LEFT JOIN sys_users su ON su.user_id = t.createUser |
| | | LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser |
| | | LEFT JOIN sys_dict sd on sd.dict_id = t.dangerLocation |
| | | where t.id=#{id} |
| | | </select> |
| | | |
| | |
| | | <select id="selectPageList" resultType="com.thhy.secure.modules.biz.hiddenDanger.entity.HiddenDangerEntity"> |
| | | SELECT |
| | | t.id, |
| | | t.dangerLocation, |
| | | sd.dict_name dangerLocation, |
| | | sd.dict_id dictId, |
| | | t.title, |
| | | t.createTime, |
| | | t.auditStatus, |
| | |
| | | from t_hidden_danger t |
| | | LEFT JOIN sys_users su ON su.user_id = t.createUser |
| | | LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser |
| | | LEFT JOIN sys_dict sd on sd.dict_id = t.dangerLocation |
| | | WHERE |
| | | t.isUse = 1 |
| | | and t.companyId = #{companyId} |
| | |
| | | <select id="selectAppList" resultType="com.thhy.secure.modules.biz.hiddenDanger.entity.HiddenDangerEntity"> |
| | | SELECT |
| | | t.id, |
| | | t.dangerLocation, |
| | | sd.dict_name dangerLocation, |
| | | sd.dict_id dictId, |
| | | t.title, |
| | | t.createTime, |
| | | t.auditStatus, |
| | |
| | | from t_hidden_danger t |
| | | LEFT JOIN sys_users su ON su.user_id = t.createUser |
| | | LEFT JOIN sys_users su1 ON su1.user_id = t.updateUser |
| | | LEFT JOIN sys_dict sd on sd.dict_id = t.dangerLocation |
| | | WHERE |
| | | t.isUse = 1 |
| | | and t.companyId = #{companyId} |