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 | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 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 e1b5686..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 @@ -5,7 +5,7 @@ * @description: 自定义sql,请自行实现业务逻辑 * @company: hugeinfo * @author: liyj - * @time:2024-08-17 15:30:57 + * @time:2024-08-19 20:04:19 * @version 1.0.0 --> <mapper namespace="cn.huge.module.ctuser.dao.mapper.CtUnitMapper"> @@ -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