diff --git a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml index ce152437..d544f068 100644 --- a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml +++ b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml @@ -402,8 +402,8 @@ qct.check_loc checkLoc, qct.remark from qc_check_task qct - left join pro_order_workorder pow on pow.workorder_code = qct.order_no - where qct.record_id = #{recordId} + left join pro_order_workorder pow on pow.workorder_code = qct.order_no + where qct.record_id = #{recordId} and pow.del_flag = '0'