From 664db98c9e8595ce4dd636a27f480e3a08b81ff5 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期五, 21 二月 2025 11:13:51 +0800
Subject: [PATCH] 新增可忽略的维修时间
---
modules/mainPart/src/main/resources/mapper/taskReliability/TaskBinoParamDao.xml | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskBinoParamDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskBinoParamDao.xml
index bc584f3..71d3560 100644
--- a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskBinoParamDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskBinoParamDao.xml
@@ -52,24 +52,31 @@
and g.product_id = f.id
and g.is_delete = 0
and g.reliab_distrib_type = 3
+ and g.product_id = ${productId}
) a
left join task_bino_param b on
b.task_id = ${taskId}
and b.phase_id = a.phase_id
and b.operat_condit_id = a.operat_condit_id
- and b.model_id = a.model_id
+ /*and b.model_id = a.model_id*/
and b.product_id = a.product_id
order by a.phase_id, a.operat_condit_id, a.product_id
</select>
<select id="getBinoParams" resultType="com.zt.life.modules.mainPart.taskReliability.model.TaskBinoParam">
select a.*
- from
- task_bino_param a
- where
- a.IS_DELETE=0
- <if test="shipId!=null">
- and a.task_id = #{taskModelId}
- </if>
+ from task_bino_param a
+ where a.IS_DELETE = 0
+ and a.task_id = #{taskId}
+ </select>
+ <select id="getSb" resultType="com.zt.life.modules.mainPart.basicInfo.model.XhProductModel">
+ select a.id, a.name_path
+ from product_model a
+ left join param_data b on b.product_id = a.id
+ where a.IS_DELETE = 0
+ and b.IS_DELETE = 0
+ and a.ship_id = ${shipId}
+ and b.reliab_distrib_type = 3
+ order by sort
</select>
</mapper>
--
Gitblit v1.9.1