| | |
| | | </delete> |
| | | |
| | | <select id="getList" resultType="com.zt.life.modules.mainPart.taskReliability.model.OperatConditModel"> |
| | | SELECT a.id, |
| | | a.pid, |
| | | a.`NAME` as product, |
| | | c.model_name, |
| | | SELECT b.id, |
| | | a.id as iid, |
| | | a.id as product_id, |
| | | a.pid, |
| | | a.`NAME` as productName, |
| | | c.model_name, |
| | | b.model_id, |
| | | case when b.is_disabled is null or b.is_disabled = 1 then 1 else 0 end as is_disabled, |
| | | ${operatConditId} as operatConditId |
| | |
| | | ) |
| | | 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 * |