From 7917c76b02b213a5fa805a6e2c9936167fae5cc8 Mon Sep 17 00:00:00 2001 From: wente <329538422@qq.com> Date: 星期一, 14 十月 2024 09:23:29 +0800 Subject: [PATCH] 时序图 --- modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml index 900b8cb..84acf4f 100644 --- a/modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml +++ b/modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml @@ -53,4 +53,28 @@ group by model_id </select> + <select id="getGKModelTrees" resultType="com.zt.life.modules.mainPart.taskReliability.model.OperatConditModel"> + select + a.* + FROM + operat_condit_model a + inner join operat_condit b on b.id=a.operat_condit_id + where + a.is_delete = 0 + and b.is_delete = 0 + <if test="productId!=null"> + and b.product_id=#{productId} + </if> + ORDER BY a.operat_condit_id, a.product_id + </select> + <select id="getGKModelAssembled" resultType="com.zt.life.modules.mainPart.taskReliability.model.OperatConditModel"> + select + a.* + FROM + operat_condit_model a + where + a.is_delete = 0 + and a.is_disabled = 0 + and a.operat_condit_id=#{gkId} + </select> </mapper> -- Gitblit v1.9.1