jinlin
2024-08-02 826cd5b51d5106cfea07e397eda184fb15ec7a30
modules/mainPart/src/main/resources/mapper/taskReliability/TaskPhaseModelDao.xml
@@ -9,13 +9,14 @@
             , 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}
        WHERE a.IS_DELETE = 0
          and a.product_id = ${productId}
        order by a.CREATE_DATE
    </select>
</mapper>