From 35309c86535d392d593471236585b4b36fb417d6 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 15 一月 2024 15:19:48 +0800
Subject: [PATCH] # 需求更改
---
src/main/java/com/zy/asrs/controller/MobileController.java | 17 ++++++++++++++++-
1 files changed, 16 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 0ec5bf0..c305d33 100644
--- a/src/main/java/com/zy/asrs/controller/MobileController.java
+++ b/src/main/java/com/zy/asrs/controller/MobileController.java
@@ -17,6 +17,7 @@
import com.zy.asrs.service.*;
import com.zy.common.model.WrkDto;
import com.zy.common.web.BaseController;
+import com.zy.system.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
@@ -427,7 +428,14 @@
if(Cools.isEmpty(locNo) || Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){
return R.error("鏈夊弬鏁颁负绌猴紝鏃犳硶鍏ュ簱");
}
- mobileService.plaPakin(locNo,batch,packageNo);
+ //娴嬭瘯
+ if(true){
+ User user = new User();
+ user.setUsername("test");
+ mobileService.plaPakin(locNo,batch,packageNo,user);
+ return R.ok();
+ }
+ mobileService.plaPakin(locNo,batch,packageNo,getUser());
return R.ok();
}
@@ -468,4 +476,11 @@
mobileService.plaPakout(locNo,batch,packageNo,orderNo,orderDetlId,wrkNo,anfme);
return R.ok();
}
+
+ public static void main(String[] args) {
+ String aa = "aabb";
+ String[] ccs = aa.split("cc");
+ System.out.println(ccs[0]);
+ }
+
}
--
Gitblit v1.9.1