From ecd2f8acec4e743e18d978b7e0a1bb92bd17e70e Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 13 八月 2024 15:38:25 +0800
Subject: [PATCH] 修改仿真后台
---
modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseDao.xml | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseDao.xml
index a4e8995..d48ad1c 100644
--- a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseDao.xml
@@ -22,5 +22,22 @@
is_delete = 0
and task_id =${taskId}
</select>
+ <select id="getPhaseByTask" resultType="java.lang.Long">
+ SELECT id
+ FROM task_phase
+ where
+ is_delete = 0
+ and task_id =${taskId}
+ order by phase_sort
+ </select>
+ <select id="getListByTaskId" resultType="com.zt.life.modules.mainPart.taskReliability.model.TaskPhase">
+ SELECT
+ a.*
+ FROM
+ task_phase a
+ where a.is_delete = 0
+ and a.task_id=#{taskId}
+ ORDER BY a.phase_sort
+ </select>
</mapper>
--
Gitblit v1.9.1