From ed5d721437f2bf4780810c67662b6959fa9cb8a0 Mon Sep 17 00:00:00 2001
From: 邱宇豪 <qyh123230312>
Date: 星期四, 07 十二月 2023 09:45:22 +0800
Subject: [PATCH] 20231207_qiuyh_调整巡检

---
 hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml b/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml
index fc2846f..76be0eb 100644
--- a/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml
+++ b/hd/pipe/secure/src/main/resources/mapping/RegionInspectionMapper.xml
@@ -29,6 +29,9 @@
       <if test="companyId != null">
         companyId,
       </if>
+      <if test="status != null">
+        `status`,
+      </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
       <if test="id != null">
@@ -55,6 +58,9 @@
       <if test="companyId != null">
         #{companyId,jdbcType=VARCHAR},
       </if>
+      <if test="status != null">
+        #{status,jdbcType=INTEGER},
+      </if>
     </trim>
     on duplicate key update
     <trim suffixOverrides=",">
@@ -79,6 +85,9 @@
       <if test="companyId != null">
         companyId = #{companyId,jdbcType=VARCHAR},
       </if>
+      <if test="status != null">
+        `status` = #{status,jdbcType=INTEGER},
+      </if>
     </trim>
 
   </insert>
@@ -99,6 +108,7 @@
                                 t.updateTime,
                                 t.isUse,
                                 t.companyId,
+                                t.`status`,
                                 GROUP_CONCAT(DISTINCT b.real_name ORDER BY b.job_num SEPARATOR '、') realNames,
                                 GROUP_CONCAT(DISTINCT b.user_id ORDER BY b.job_num SEPARATOR '、') userIds,
                                 GROUP_CONCAT(DISTINCT d.region ORDER BY c.sort SEPARATOR ',') regions,

--
Gitblit v1.9.3