fix:修改入烘箱逻辑
This commit is contained in:
@@ -717,7 +717,7 @@ public class InBoxManageServiceImpl implements InBoxManageService {
|
||||
|
||||
JSONObject jsonAttr = new JSONObject();
|
||||
|
||||
RLock lock = redissonClient.getLock("getEmptyBox-----"+block_num);
|
||||
RLock lock = redissonClient.getLock("getEmptyBox");
|
||||
boolean tryLock = lock.tryLock(0, TimeUnit.SECONDS);
|
||||
try {
|
||||
if (tryLock) {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package org.nl.wms.pda.mps.rest;
|
||||
|
||||
import cn.dev33.satoken.annotation.SaIgnore;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -25,7 +26,7 @@ public class BakingController {
|
||||
|
||||
@PostMapping("/ovenInAndOut")
|
||||
@Log("烘箱出入")
|
||||
|
||||
@SaIgnore
|
||||
public ResponseEntity<Object> queryRawFoil(@RequestBody JSONObject whereJson) {
|
||||
return new ResponseEntity<>(bakingService.ovenInAndOut(whereJson), HttpStatus.OK);
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
IFNULL(po.material_code,'') = ''
|
||||
ENDOPTION
|
||||
OPTION 输入.mater_flag = "1"
|
||||
IFNULL(po.material_code,'') = ''
|
||||
IFNULL(po.material_code,'') = ''
|
||||
ENDOPTION
|
||||
UNION
|
||||
SELECT
|
||||
@@ -308,6 +308,9 @@
|
||||
ENDOPTION
|
||||
OPTION 输入.point_type <> ""
|
||||
p.point_type = 输入.point_type
|
||||
ENDOPTION
|
||||
OPTION 输入.cant_location <> ""
|
||||
p.point_location not in 输入.cant_location
|
||||
ENDOPTION
|
||||
AND p.point_type = '4'
|
||||
AND p.point_status = '1'
|
||||
|
||||
Reference in New Issue
Block a user