From d2daac02fbc20980162799fc7bf6b1ca59f5686a Mon Sep 17 00:00:00 2001
From: wujian <14790700720@163.com>
Date: 星期五, 12 七月 2024 07:40:41 +0800
Subject: [PATCH] fix3

---
 jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/controller/DaTileMatchMiddlewareController.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/controller/DaTileMatchMiddlewareController.java b/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/controller/DaTileMatchMiddlewareController.java
index ad695ba..6be64fd 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/controller/DaTileMatchMiddlewareController.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/da/tileMatchMiddleware/controller/DaTileMatchMiddlewareController.java
@@ -163,6 +163,15 @@
             rMiddleware.setState(2);
             SNCode=rMiddleware.getSfcCode();
             daTileMatchMiddlewareService.updateDaTileMatchMiddleware(rMiddleware);
+            DaTileMatchMiddleware patch = new DaTileMatchMiddleware();
+            patch.setSfcCode(SNCode);
+            patch.setState(1);
+            List<DaTileMatchMiddleware> checkList = daTileMatchMiddlewareService.selectDaTileMatchMiddlewareList(patch);
+            if (CollUtil.isNotEmpty(checkList)){
+                if (checkList.size() == 2){
+                    rMiddleware.setCheckFlag("1");
+                }
+            }
             //鑾峰彇浜у搧鍨嬪彿
             ProductNewPassStation productNewPassStation = new ProductNewPassStation();
             productNewPassStation.setSfcCode(SNCode);

--
Gitblit v1.9.3