hd/pipe/secure/src/main/resources/mapping/RegionInspectionRecordMapper.xml
@@ -3,7 +3,7 @@
<mapper namespace="com.thhy.secure.modules.biz.regionInspection.mapper.RegionInspectionRecordMapper">
    <insert id="insertIMG">
        insert into t_region_inspection_record
        insert into t_region_inspection_record_img
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="id != null">
                id,
@@ -158,6 +158,9 @@
        delete from t_region_inspection_record where  regionInspectionId=#{regionInspectionId,jdbcType=VARCHAR}
    </delete>
    <select id="selectImgByRecordId" resultType="com.thhy.secure.modules.biz.regionInspection.entity.RegionInspectionRecordImgEntity">
        select * from t_region_inspection_record_img where regionInspectionRecordId = #{regionInspectionRecordId}
    </select>
    <select id="selectPageList" resultType="com.thhy.secure.modules.biz.regionInspection.entity.RegionInspectionRecordEntity">
        SELECT  a.userId,
                a.regionInspectionId,
@@ -270,6 +273,7 @@
    <select id="regionInfo" resultType="com.thhy.secure.modules.biz.regionInspection.entity.RegionInspectionRecordEntity">
        SELECT
                t.id,
                t.userId,
                t.regionInspectionId,
                t.regionHazardInformId,
@@ -311,4 +315,14 @@
                a.id
    </select>
    <select id="selectPlatUserId" resultType="java.lang.String">
        SELECT
            plat_id platId
        FROM sys_users
        WHERE user_id= #{userId,jdbcType=VARCHAR}
    </select>
    <select id="getPlatUser" resultType="java.util.Map">
        SELECT * FROM sys_plat_user where user_id = #{userId}
    </select>
</mapper>