From e98eeaaa5766511fdb8e6d5e412eb1c59d1f07ce Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期二, 24 六月 2025 10:24:43 +0800 Subject: [PATCH] 隐患来源功能外加仓吉基础数据定时上报 --- src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml b/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml index cfd455a..818b6eb 100644 --- a/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml +++ b/src/main/resources/mybatis/tr/HiddenDangerCheckPointMapper.xml @@ -103,6 +103,8 @@ <result property="checkPerson" column="check_person"/> <result property="findTime" column="find_time"/> + <result property="dangerSrc" column="danger_src"/> +<!-- <result property="dangerSrcName" column="danger_src_name"/>--> </resultMap> @@ -132,10 +134,13 @@ c.check_type,a.company_id, b.type_cycle_num,b.type_cycle_type, a.examine_user_id, a.examine_user_name, - a.check_person, a.find_time + a.check_person, a.find_time,e.danger_src +<!-- ,f.dict_label as danger_src_name--> from tr_hidden_danger_check_point a left join tr_hidden_danger_check c on c.check_id = a.check_id left join tr_troubleshoot_type b on c.troubleshoot_type_id = b.type_id + left join prevent_risk_danger_info e on e.danger_check_point_id = a.id +<!-- left join sys_dict_data f on f.dict_value = e.danger_src and f.dict_type = 'danger_source'--> </sql> <select id="selectHiddenDangerCheckPointList" parameterType="HiddenDangerCheckPoint" @@ -148,6 +153,7 @@ <if test="planCreateUserId != null and planCreateUserId != ''">and c.plan_create_user_id = #{planCreateUserId} </if> + <if test="dangerSrc != null"> and e.danger_src = #{dangerSrc}</if> <if test="planName != null and planName != ''">and c.plan_name like concat('%', #{planName}, '%')</if> <if test="troubleshootTypeId != null ">and c.troubleshoot_type_id = #{troubleshootTypeId}</if> <if test="troubleshootTypeName != null and troubleshootTypeName != ''">and c.troubleshoot_type_name like -- Gitblit v1.9.2