| | |
| | | <delete id="delete"> |
| | | delete from t_region_inspection_record where id=#{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteIMG"> |
| | | delete from t_region_inspection_record_img where regionInspectionRecordId=#{regionInspectionRecordId,jdbcType=VARCHAR} |
| | | </delete> |
| | | |
| | | <delete id="deleteByRegionInspectionId"> |
| | | delete from t_region_inspection_record where regionInspectionId=#{regionInspectionId,jdbcType=VARCHAR} |
| | |
| | | t.result result, |
| | | GROUP_CONCAT(timg.imgPath) imgPaths, |
| | | t.location, |
| | | spu.real_name realName |
| | | spu.real_name realName, |
| | | t.status |
| | | FROM t_region_inspection_record t |
| | | LEFT JOIN t_region_inspection_record_img timg on t.id = timg.regionInspectionRecordId |
| | | LEFT JOIN t_region_hazard_inform rhi on rhi.id = t.regionHazardInformId |