任务检验因排序问题导致数据缺失

master
FCD 3 days ago
parent 905d9597a0
commit 7dfe3ee5b8

@ -172,7 +172,7 @@
left join qc_check_type_project qctp on td.type_project_id = qctp.id left join qc_check_type_project qctp on td.type_project_id = qctp.id
left join lanju_op_cloud.dbo.sys_dict_data dic on dic.dict_value = td.unit_code and dic.status ='0' and dic.dict_type = 'unit' left join lanju_op_cloud.dbo.sys_dict_data dic on dic.dict_value = td.unit_code and dic.status ='0' and dic.dict_type = 'unit'
where td.belong_to = #{belongTo} and td.del_flag='0' and qctp.del_flag = '0' and td.rule_name is not null where td.belong_to = #{belongTo} and td.del_flag='0' and qctp.del_flag = '0' and td.rule_name is not null
order by td.property_code desc, td.project_id order by qctp.sort
</select> </select>
<select id="getQcUnitList" resultType="com.op.system.api.domain.SysDictData"> <select id="getQcUnitList" resultType="com.op.system.api.domain.SysDictData">
select dict_label dictLabel, select dict_label dictLabel,

Loading…
Cancel
Save