| | |
| | | |
| | | <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> |
| | | |
| | | |
| | |
| | | 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" |
| | |
| | | <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 |