From fdb4fb8e81081534d296b738132b51bf149c2ef5 Mon Sep 17 00:00:00 2001 From: xyc <jc_xiong@hotmail.com> Date: 星期五, 02 八月 2024 10:01:17 +0800 Subject: [PATCH] 修改仿真后台 --- modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml | 25 +++++++++++++++++++++++++ 1 files changed, 25 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 e2c4543..84acf4f 100644 --- a/modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml +++ b/modules/mainPart/src/main/resources/mapper/taskReliability/OperatConditModelDao.xml @@ -39,6 +39,7 @@ ) and a.product_type in (4, 3, 2, 10) AND a.is_delete = 0 + ORDER BY a.product_type, a.sort </select> <select id="getModelList" resultType="com.zt.life.modules.mainPart.taskReliability.model.ModelRbd"> select * @@ -52,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