From 84e959cd1b213e0706b884d54903fe6f3dd7079d Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 12 一月 2025 14:52:52 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/service/CommonService.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java
index 246a478..b553989 100644
--- a/src/main/java/com/zy/common/service/CommonService.java
+++ b/src/main/java/com/zy/common/service/CommonService.java
@@ -32,7 +32,7 @@
         int eNo = wrkLastno.getENo();
         workNo = workNo>=eNo ? sNo : workNo+1;
         while (true) {
-            WrkMast wrkMast = wrkMastService.selectById(workNo);
+            WrkMast wrkMast = wrkMastService.selectByWorkNo(workNo);
             if (null != wrkMast) {
                 workNo = workNo>=eNo ? sNo : workNo+1;
             } else {
@@ -48,7 +48,7 @@
         if (workNo == 0) {
             throw new CoolException("鐢熸垚宸ヤ綔鍙峰け璐ワ紝璇疯仈绯荤鐞嗗憳");
         } else {
-            if (wrkMastService.selectById(workNo)!=null) {
+            if (wrkMastService.selectByWorkNo(workNo)!=null) {
                 throw new CoolException("鐢熸垚宸ヤ綔鍙�" + workNo + "鍦ㄥ伐浣滄。涓凡瀛樺湪");
             }
         }

--
Gitblit v1.9.1