From 23eb9c9a21afc8ed065706f0e6494ee998a217b5 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 04 三月 2026 16:35:27 +0800
Subject: [PATCH] fix:1.班次页面:月度统计时间调整为上月26到本月25;班次支持右键添加批注 2.外购下单:KJNS域订单免检自动更新批次属性;外购下单-全部页新增【更新IFS批次属性】按钮,支持更新已提交订单的批次属性 3.资源要求-设备:设备核查计划:核查负责人回显问题修复;设备使用授权:检验项目导出数据错误问题修复

---
 cnas-process/src/main/resources/mapper/QualitySuperviseDetailsMapper.xml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/cnas-process/src/main/resources/mapper/QualitySuperviseDetailsMapper.xml b/cnas-process/src/main/resources/mapper/QualitySuperviseDetailsMapper.xml
index 9877619..0e8b619 100644
--- a/cnas-process/src/main/resources/mapper/QualitySuperviseDetailsMapper.xml
+++ b/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

--
Gitblit v1.9.3