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 | 19 ++++++++++++++++++-
1 files changed, 18 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 b35c0eb..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 = '1'
+ and delete_status = 0
</if>
<if test="terms.deleteStatus != null and terms.deleteStatus !=''">
and delete_status = #{terms.deleteStatus}
@@ -307,4 +307,21 @@
limit #{page.offset}, #{page.size}
</select>
+ <!-- 更新对象 -->
+ <update id="updateTerms">
+ update
+ <include refid="table-name"/>
+ <set>
+ <include refid="set-part"/>
+ </set>
+ 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