From addada941082cac58b7ff8b16e3bd4c1c5b49fcc Mon Sep 17 00:00:00 2001
From: 18756 <1875631620@qq.com>
Date: 星期二, 20 八月 2024 17:27:34 +0800
Subject: [PATCH] 会议室功能取消开启优化8.20

---
 src/main/java/com/product/administration/service/PunchRecordService.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/product/administration/service/PunchRecordService.java b/src/main/java/com/product/administration/service/PunchRecordService.java
index 83f72f5..42b282f 100644
--- a/src/main/java/com/product/administration/service/PunchRecordService.java
+++ b/src/main/java/com/product/administration/service/PunchRecordService.java
@@ -94,7 +94,7 @@
 			StringBuilder sbReplenish=new StringBuilder();
 			sbReplenish.append(" SELECT T1.id,T1.uuid,T1.created_by,T1.applicant,T1.replenish_date,T1.reason,");
 			sbReplenish.append(" SUBSTRING_INDEX( SUBSTRING_INDEX( T1.replacement_card_type, ',', T2.digit + 1 ), ',',- 1 ) AS type ");
-			sbReplenish.append(" FROM product_oa_replenish_punch T1 ");
+			sbReplenish.append(" FROM (select * from product_oa_replenish_punch where flow_flag=2) T1 ");
 			sbReplenish.append(" JOIN ( SELECT 0 AS digit UNION ALL SELECT 1 UNION ALL SELECT 2 UNION ALL SELECT 3 ) T2");
 			sbReplenish.append(" ON T2.digit < ( length( T1.replacement_card_type )- length( REPLACE ( T1.replacement_card_type, ',', '' ))+ 1 )");
 			sbReplenish.append(" where t1.created_by=? ");

--
Gitblit v1.9.2