From d8cb08ce6b68b50d2475b70eb522ea6bbbb17686 Mon Sep 17 00:00:00 2001 From: xyc <jc_xiong@hotmail.com> Date: 星期三, 24 七月 2024 15:26:12 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseModelDao.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseModelDao.xml b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseModelDao.xml index ebf1303..d38b55a 100644 --- a/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseModelDao.xml +++ b/modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseModelDao.xml @@ -9,8 +9,8 @@ , a.NAME as operatConditName , a.id as operatConditId , case - when b.id is null then 0 - else 1 end as isCheck + when b.operat_condit_duration_rate >'0' then 1 + else 0 end as isCheck FROM operat_condit a left join task_phase_model b on a.id = b.operat_condit_id and b.is_delete = 0 and b.phase_id = ${phaseId} -- Gitblit v1.9.1