| | |
| | | left join sys_depart t4 on t2.use_id = t4.id |
| | | left join mom_base_team t5 on t2.team_id = t5.id |
| | | left join (select * from v_sys_dict where dict_code = 'assign_mode') t6 on t1.assign_mode = t6.item_value |
| | | where t1.del_flag = 0 and t1.type = #{params.type} |
| | | where t1.del_flag = 0 and t1.type = #{params.type} and t2.technology_status in ('qualified','limitedUse') |
| | | <if test="params.useId != null and params.useId != ''"> |
| | | and t2.use_id = #{params.useId} |
| | | </if> |
| | |
| | | left join sys_depart t4 on t2.use_id = t4.id |
| | | left join mom_base_team t5 on t2.team_id = t5.id |
| | | left join (select * from v_sys_dict where dict_code = 'assign_mode') t6 on t1.assign_mode = t6.item_value |
| | | where t1.del_flag = 0 and t1.type = #{params.type} and t2.equipment_importance_id in ('A','B','C') |
| | | where t1.del_flag = 0 and t1.type = #{params.type} and t2.equipment_importance_id in ('A','B','C') and t2.technology_status in ('qualified','limitedUse') |
| | | <if test="params.useId != null and params.useId != ''"> |
| | | and t2.use_id = #{params.useId} |
| | | </if> |