From 32fddc1b93fd68b5013bc728ac19a7bcdffc4212 Mon Sep 17 00:00:00 2001
From: TQS <56479841@qq.com>
Date: 星期二, 14 三月 2023 08:06:28 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/controller/MobileController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/MobileController.java b/src/main/java/com/zy/asrs/controller/MobileController.java
index 37a625c..ec47bd4 100644
--- a/src/main/java/com/zy/asrs/controller/MobileController.java
+++ b/src/main/java/com/zy/asrs/controller/MobileController.java
@@ -348,7 +348,7 @@
     @ManagerAuth
     public R getCheckDetl2(String barcode) {
         WrkMast wrkMast = wrkMastService.selectByBarcode(barcode);
-        if(Cools.isEmpty()){
+        if(Cools.isEmpty(wrkMast)){
             throw new CoolException("姝ゆ墭鐩樼爜娌℃湁鐩樼偣浠诲姟");
         }
         if (wrkMast.getIoType() != 107){

--
Gitblit v1.9.1