双重预防项目-国泰新华二开定制版
heheng
2025-06-24 e98eeaaa5766511fdb8e6d5e412eb1c59d1f07ce
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