From 1f299dc56d42ca2e40602f54aeec0ed6fe94aa93 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 16 三月 2026 10:38:24 +0800
Subject: [PATCH] 【丽水】Service_Task 增加 diag_type 字段
---
smartor/src/main/java/com/smartor/domain/ServiceTask.java | 7 +++++++
smartor/src/main/java/com/smartor/domain/ServiceTaskVO.java | 7 +++++++
smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml | 8 +++++++-
3 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/smartor/src/main/java/com/smartor/domain/ServiceTask.java b/smartor/src/main/java/com/smartor/domain/ServiceTask.java
index 73c0a69..53b0d91 100644
--- a/smartor/src/main/java/com/smartor/domain/ServiceTask.java
+++ b/smartor/src/main/java/com/smartor/domain/ServiceTask.java
@@ -437,4 +437,11 @@
@ApiModelProperty(value = "閫傜敤鏉′欢绫诲瀷锛�1銆佹寜绉戝銆�2銆佹寜鐥呭尯銆�3銆佹寜鐤剧梾璇婃柇銆�4銆佹寜鎵嬫湳绫诲瀷")
@Excel(name = "閫傜敤鏉′欢绫诲瀷锛�1銆佹寜绉戝銆�2銆佹寜鐥呭尯銆�3銆佹寜鐤剧梾璇婃柇銆�4銆佹寜鎵嬫湳绫诲瀷")
private String appltype;
+
+ /**
+ * 鐤剧梾鐥呯
+ */
+ @ApiModelProperty(value = "鐤剧梾鐥呯")
+ @Excel(name = " 鐤剧梾鐥呯")
+ private String diagType;
}
diff --git a/smartor/src/main/java/com/smartor/domain/ServiceTaskVO.java b/smartor/src/main/java/com/smartor/domain/ServiceTaskVO.java
index f651b95..0791f67 100644
--- a/smartor/src/main/java/com/smartor/domain/ServiceTaskVO.java
+++ b/smartor/src/main/java/com/smartor/domain/ServiceTaskVO.java
@@ -439,4 +439,11 @@
@ApiModelProperty(value = "闅忚閮ㄩ棬鍚嶇О")
private String visitDeptName;
+
+ /**
+ * 鐤剧梾鐥呯
+ */
+ @ApiModelProperty(value = "鐤剧梾鐥呯")
+ @Excel(name = " 鐤剧梾鐥呯")
+ private String diagType;
}
diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
index 1e427e6..8c3bdf7 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskMapper.xml
@@ -60,6 +60,7 @@
<result property="nexttaskname" column="nexttaskname"/>
<result property="appltype" column="appltype"/>
<result property="patCycle" column="pat_cycle"/>
+ <result property="diagType" column="diag_type"/>
</resultMap>
<sql id="selectServiceTaskVo">
@@ -116,7 +117,8 @@
orgid,
nexttaskflag,
nexttaskid,
- nexttaskname
+ nexttaskname,
+ diag_type
from service_task
</sql>
@@ -171,6 +173,7 @@
<if test="nexttaskid != null ">and nexttaskid = #{nexttaskid}</if>
<if test="nexttaskname != null ">and nexttaskname = #{nexttaskname}</if>
<if test="appltype != null ">and appltype = #{appltype}</if>
+ <if test="diagType != null and diagType != ''">and diag_type = #{diagType}</if>
<if test="leavehospitaldistrictname != null ">and leavehospitaldistrictname =
#{leavehospitaldistrictname}
</if>
@@ -388,6 +391,7 @@
<if test="sendDay != null ">send_day,</if>
<if test="appltype != null ">appltype,</if>
<if test="patCycle != null ">pat_cycle,</if>
+ <if test="diagType != null and diagType != ''">diag_type,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskName != null">#{taskName},</if>
@@ -443,6 +447,7 @@
<if test="sendDay != null ">#{sendDay},</if>
<if test="appltype != null ">#{appltype},</if>
<if test="patCycle != null ">#{patCycle},</if>
+ <if test="diagType != null and diagType != ''">#{diagType},</if>
</trim>
</insert>
@@ -504,6 +509,7 @@
<if test="sendDay != null ">send_day = #{sendDay},</if>
<if test="appltype != null ">appltype = #{appltype},</if>
<if test="patCycle != null ">pat_cycle = #{patCycle},</if>
+ <if test="diagType != null and diagType != ''">diag_type = #{diagType},</if>
</trim>
where taskid = #{taskid}
</update>
--
Gitblit v1.9.3