From 7245942e7b3801054f42f19f3cf05714a3639a26 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 01 七月 2026 17:41:20 +0800
Subject: [PATCH] 【景宁】任务组开发

---
 smartor/src/main/resources/mapper/smartor/ServiceTaskScheduleMapper.xml |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/ServiceTaskScheduleMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceTaskScheduleMapper.xml
index 878fb33..eb142d0 100644
--- a/smartor/src/main/resources/mapper/smartor/ServiceTaskScheduleMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/ServiceTaskScheduleMapper.xml
@@ -17,6 +17,10 @@
         <result property="nextExecuteTime" column="next_execute_time"/>
         <result property="scheduleBenchmark" column="schedule_benchmark"/>
         <result property="scheduleBenchmarkCustomTime" column="schedule_benchmark_custom_time"/>
+        <result property="deptCodes" column="dept_codes"/>
+        <result property="wardCodes" column="ward_codes"/>
+        <result property="icd10Codes" column="icd10_codes"/>
+        <result property="oplevelCodes" column="remark"/>
         <result property="remark" column="remark"/>
         <result property="delFlag" column="del_flag"/>
         <result property="createBy" column="create_by"/>
@@ -40,6 +44,10 @@
                next_execute_time,
                schedule_benchmark,
                schedule_benchmark_custom_time,
+               deptCodes,
+               wardCodes,
+               icd10Codes,
+               oplevelCodes,
                remark,
                del_flag,
                create_by,
@@ -69,6 +77,10 @@
         where del_flag = '0'
         <if test="taskid != null">and taskid = #{taskid}</if>
         <if test="scheduleStyle != null">and schedule_style = #{scheduleStyle}</if>
+        <if test="deptCode != null">and INSTR(dept_codes,  #{deptCode}) > 0</if>
+        <if test="wardCode != null">and INSTR(ward_codes,  #{wardCode}) > 0</if>
+        <if test="icd10Code != null">and INSTR(icd10_codes,  #{icd10Code}) > 0</if>
+        <if test="oplevelCode != null">and INSTR(oplevel_codes,  #{oplevelCode}) > 0</if>
         <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if>
         <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if>
         order by id desc
@@ -89,6 +101,10 @@
             <if test="nextExecuteTime != null">next_execute_time,</if>
             <if test="scheduleBenchmark != null">schedule_benchmark,</if>
             <if test="scheduleBenchmarkCustomTime != null">schedule_benchmark_custom_time,</if>
+            <if test="deptCodes != null">dept_codes,</if>
+            <if test="wardCodes != null">ward_codes,</if>
+            <if test="icd10Codes != null">icd10_codes,</if>
+            <if test="oplevelCodes != null">oplevel_codes,</if>
             <if test="remark != null">remark,</if>
             <if test="delFlag != null">del_flag,</if>
             <if test="createBy != null">create_by,</if>
@@ -110,6 +126,10 @@
             <if test="nextExecuteTime != null">#{nextExecuteTime},</if>
             <if test="scheduleBenchmark != null">#{scheduleBenchmark},</if>
             <if test="scheduleBenchmarkCustomTime != null">#{scheduleBenchmarkCustomTime},</if>
+            <if test="deptCodes != null">#{deptCodes},</if>
+            <if test="wardCodes != null">#{wardCodes},</if>
+            <if test="icd10Codes != null">#{icd10Codes},</if>
+            <if test="oplevelCodes != null">#{oplevelCodes},</if>
             <if test="remark != null">#{remark},</if>
             <if test="delFlag != null">#{delFlag},</if>
             <if test="createBy != null">#{createBy},</if>
@@ -137,6 +157,10 @@
             <if test="scheduleBenchmarkCustomTime != null">
                 schedule_benchmark_custom_time = #{scheduleBenchmarkCustomTime},
             </if>
+            <if test="deptCodes != null">dept_codes = #{deptCodes},</if>
+            <if test="wardCodes != null">ward_codes = #{wardCodes},</if>
+            <if test="icd10Codes != null">icd10_codes = #{icd10Codes},</if>
+            <if test="oplevelCodes != null">oplevel_codes = #{oplevelCodes},</if>
             <if test="remark != null">remark = #{remark},</if>
             <if test="delFlag != null">del_flag = #{delFlag},</if>
             <if test="updateBy != null">update_by = #{updateBy},</if>

--
Gitblit v1.9.3