From bf9543d3f9ef2de6b8d04e3153e43e7eec3843a2 Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Wed, 04 Sep 2024 10:53:34 +0800
Subject: [PATCH] 1、系统调度算法

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUnitMapper.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUnitMapper.xml b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUnitMapper.xml
index 11a7fa8..b5242a3 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUnitMapper.xml
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUnitMapper.xml
@@ -222,7 +222,7 @@
                     and disp_status = #{terms.dispStatus}
                 </if>
                 <if test="terms.deleteStatus = null and terms.deleteStatus =''">
-                    and delete_status = '0'
+                    and delete_status = 0
                 </if>
                 <if test="terms.deleteStatus != null and terms.deleteStatus !=''">
                     and delete_status = #{terms.deleteStatus}
@@ -317,4 +317,11 @@
         WHERE
         id = #{entity.id}
     </update>
+
+    <!--  更新调度规则指标目标组织名称  -->
+    <update id="updateDispNormCauseTargetUnitName">
+        update dyh_disp_norm_cause
+        set target_unit_name = #{unitName}
+        where target_unit_id = #{unitId}
+    </update>
 </mapper> 
\ No newline at end of file

--
Gitblit v1.8.0