zouyu
2026-04-13 8cbb4e01b9226b32797a48489c5e1b30da3e2110
cnas-process/src/main/resources/mapper/QualitySuperviseDetailsMapper.xml
@@ -10,17 +10,20 @@
        ca.is_correct,
        cc.supervise_details_correct_id,
        case
        when cr.is_finish = 1 then 2
        when cr.is_finish = 1 then 3
        when cr.is_finish = 0 then 2
        when cr.supervise_details_record_id is not null then 1
        else 0
        end record_status,
        case
        when ca.is_finish = 1 then 2
        when ca.is_finish = 1 then 3
        when ca.is_finish = 0 then 2
        when ca.supervise_details_according_id is not null then 1
        else 0
        end according_status,
        case
        when cc.is_finish = 1 then 2
        when cc.is_finish = 1 then 3
        when cc.is_finish = 0 then 2
        when cc.supervise_details_correct_id is not null then 1
        else 0
        end correct_status