From 7806f1910522ac9ab1eaebd26ab973afec54850c Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期四, 30 十一月 2023 09:30:38 +0800 Subject: [PATCH] 20231130_qiuyh_调整区域巡检打卡 --- hd/pipe/secure/src/main/resources/mapping/RegionInspectionRecordMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/hd/pipe/secure/src/main/resources/mapping/RegionInspectionRecordMapper.xml b/hd/pipe/secure/src/main/resources/mapping/RegionInspectionRecordMapper.xml index 03275cb..47cc911 100644 --- a/hd/pipe/secure/src/main/resources/mapping/RegionInspectionRecordMapper.xml +++ b/hd/pipe/secure/src/main/resources/mapping/RegionInspectionRecordMapper.xml @@ -153,6 +153,9 @@ <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} @@ -282,7 +285,8 @@ 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 -- Gitblit v1.9.3