From f2cc333b963cb0de81aebc5ae3a8c247e99243d8 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 02 六月 2026 18:21:27 +0800
Subject: [PATCH] 【市一】同步手术视图
---
smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
index 81f1d55..b69adad 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyTaskTemplateScriptMapper.xml
@@ -49,11 +49,15 @@
<result property="dutyDeptCode" column="duty_dept_code"/>
<result property="reportDeptCode" column="report_dept_name"/>
<result property="reportDeptName" column="report_dept_code"/>
+ <result property="isMydException" column="is_myd_exception"/>
+ <result property="dimension" column="dimension"/>
</resultMap>
<sql id="selectSvyTaskTemplateScriptVo">
select id,
sort,
+ is_myd_exception,
+ dimension,
duty_dept_name,
duty_dept_code,
report_dept_name,
@@ -81,6 +85,8 @@
<include refid="selectSvyTaskTemplateScriptVo"/>
where 1=1
<if test="taskid != null ">and taskid = #{taskid}</if>
+ <if test="isMydException != null ">and is_myd_exception = #{isMydException}</if>
+ <if test="dimension != null ">and dimension = #{dimension}</if>
<if test="categoryid != null ">and categoryid = #{categoryid}</if>
<if test="ishide != null ">and ishide = #{ishide}</if>
<if test="scriptno != null ">and scriptno = #{scriptno}</if>
@@ -183,6 +189,8 @@
<if test="dutyDeptCode != null and dutyDeptCode != ''">duty_dept_code,</if>
<if test="reportDeptName != null and reportDeptName != ''">report_dept_name,</if>
<if test="reportDeptCode != null and reportDeptCode != ''"> report_dept_code,</if>
+ <if test="isMydException != null ">is_myd_exception,</if>
+ <if test="dimension != null ">dimension,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskid != null">#{taskid},</if>
@@ -228,6 +236,8 @@
<if test="dutyDeptCode != null and dutyDeptCode != ''">#{dutyDeptCode},</if>
<if test="reportDeptName != null and reportDeptName != ''">#{reportDeptName},</if>
<if test="reportDeptCode != null and reportDeptCode != ''">#{reportDeptCode},</if>
+ <if test="isMydException != null ">#{isMydException},</if>
+ <if test="dimension != null ">#{dimension},</if>
</trim>
</insert>
@@ -279,6 +289,8 @@
<if test="dutyDeptCode != null and dutyDeptCode != ''"> duty_dept_code = #{dutyDeptCode},</if>
<if test="reportDeptName != null and reportDeptName != ''">report_dept_name = #{reportDeptName},</if>
<if test="reportDeptCode != null and reportDeptCode != ''">report_dept_code = #{reportDeptCode},</if>
+ <if test="isMydException != null ">is_myd_exception = #{isMydException},</if>
+ <if test="dimension != null ">dimension = #{dimension},</if>
</trim>
where id = #{d}
</update>
--
Gitblit v1.9.3