| | |
| | | <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, |
| | |
| | | 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, |
| | |
| | | |
| | | <select id="regionInfo" resultType="com.thhy.secure.modules.biz.regionInspection.entity.RegionInspectionRecordEntity"> |
| | | SELECT |
| | | t.id, |
| | | t.userId, |
| | | t.regionInspectionId, |
| | | t.regionHazardInformId, |