From 0e6be9f75b84ebdf6ed3943853d514966134da34 Mon Sep 17 00:00:00 2001
From: 18516761980 <tqsxp@163.com>
Date: 星期五, 23 九月 2022 14:05:13 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
index dae07fb..f9bc14d 100644
--- a/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -82,7 +82,7 @@
@Autowired
private TestMastService testMastService;
@Autowired
- private WorkLogHandler workLogHandler;
+ private WorkService workService;
@Value("${mes.url}")
private String mesUrl;
@@ -92,6 +92,7 @@
@Value("${mes.startUpTestPACK}")
private String suspendTestPACK;
+
@Override
@@ -618,11 +619,11 @@
public void startUpTestPACK(TestMast testMast) {
//鍚姩娴嬭瘯璇锋眰
- ReturnT<String> result=startUpTestPACK1(testMast);
- if (!result.isSuccess()) {
- log.error("娴嬭瘯鐢宠澶辫触", testMast.getBarcode());
+// ReturnT<String> result=startUpTestPACK1(testMast);
+// if (!result.isSuccess()) {
+// log.error("娴嬭瘯鐢宠澶辫触", testMast.getBarcode());
// throw new CoolException("娴嬭瘯鐢宠澶辫触");
- }
+// }
LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", testMast.getLocNo()));
if (Cools.isEmpty(locMast)) {
throw new CoolException(BaseRes.PARAM);
@@ -635,7 +636,7 @@
if (!testMastService.insert(testMast)){
throw new CoolException("娣诲姞testMast澶辫触");
}
- locMast.setPackStatus(2);
+ locMast.setPackStatus(1);
locMast.setModiTime(now);
if (!locMastService.update(locMast,new EntityWrapper<LocMast>().eq("loc_no", testMast.getLocNo()))){
throw new CoolException("鐢宠娴嬭瘯澶辫触");
@@ -646,7 +647,7 @@
public void suspendTestPACK() {
ReturnT<String> result=suspendTestPACK1();
if (!result.isSuccess()) {
- log.error("娴嬭瘯鐢宠澶辫触");
+ log.error("鏆傚仠娴嬭瘯澶辫触");
}
}
@Transactional
--
Gitblit v1.9.1