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