From 836ec39fdad422b1a148699a4c5fb8c5b4d395f0 Mon Sep 17 00:00:00 2001
From: zuoxiao <lf_zuo@163.com>
Date: 星期三, 25 六月 2025 11:04:33 +0800
Subject: [PATCH] feat(card): 添加管理类型卡写卡功能并优化卡片相关逻辑- 在 OperateTypeENUM 中添加 SUPPLEMENT 和 MANAGEMENT_CARD_WRITE 枚举值 - 在 SeManagementCard 中添加 cancelTime 和 state 字段 - 更新相关 mapper 和 XML 文件以支持新增字段 - 修改 CardSv 中的回调处理逻辑,支持管理类型卡写卡 - 优化 CreateManagementCardDto 中识别码的示例值

---
 pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeIntakeLossSv.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeIntakeLossSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeIntakeLossSv.java
index 9a540ed..97c5647 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeIntakeLossSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/changeSome/ChSomeIntakeLossSv.java
@@ -9,6 +9,7 @@
 import com.dy.pipIrrGlobal.pojoSt.StLossMonth;
 import com.dy.pipIrrGlobal.pojoSt.StLossYear;
 import com.dy.pipIrrGlobal.voSt.VoIntake;
+import com.dy.pipIrrTemp.util.StClientAmountConstant;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
@@ -27,9 +28,6 @@
 public class ChSomeIntakeLossSv {
 
     private ChangeMapper dao;
-
-    private static final int IntakeLossDayFlag = 800 ;//2024-12-14缁熻鍏冭皨鏁版嵁搴撳疄鏃舵暟鎹紝鍙戠幇澶т簬800鐨勬纭殑鏁版嵁涓嶅瓨鍦紝鑰屽皬浜�800鐨勫熀鏈负姝g‘鏁版嵁
-
     @Autowired
     private void setDao(ChangeMapper dao){
         this.dao = dao;
@@ -52,7 +50,7 @@
                 if(adList != null && adList.size() > 0){
                     //adList涓暟鎹互id鍗囧簭鎺掑垪
                     for(RmLossDay ad : adList){
-                        if(ad.lossAmount != null && ad.lossAmount > IntakeLossDayFlag){
+                        if(ad.lossAmount != null && ad.lossAmount > StClientAmountConstant.IntakeLossDayFlag){
                             this.doUpdateOneIntakeLossDay(ad.id, 0.0);
                         }
                     }
@@ -107,7 +105,7 @@
      */
     public void statisticsIntakeLossMonth() throws Exception{
         int nowYear = Integer.parseInt(DateTime.yyyy()) ;
-        int nowMonth = Integer.parseInt(DateTime.mm()) ;
+        int nowMonth = Integer.parseInt(DateTime.MM()) ;
         Date startDt ;
         Date endDt ;
         List<StLossMonth> list ;

--
Gitblit v1.8.0