rev:修改缓存线扫码异常和缓存线异常下发acs接口。
This commit is contained in:
@@ -571,7 +571,7 @@ public class CacheLineHandServiceImpl implements CacheLineHandService{
|
|||||||
jsonObject.put("vehicle_code", vehicle_code);
|
jsonObject.put("vehicle_code", vehicle_code);
|
||||||
jsonArray.add(jsonObject);
|
jsonArray.add(jsonObject);
|
||||||
try {
|
try {
|
||||||
return RestBusinessTemplate.execute(() -> AcsUtil.notifyAcs("/api/wms/issuedBarcode", jsonArray));
|
return RestBusinessTemplate.execute(() -> AcsUtil.notifyAcs("api/wms/issuedBarcode", jsonArray));
|
||||||
}
|
}
|
||||||
catch(NullPointerException e) {
|
catch(NullPointerException e) {
|
||||||
throw new BadRequestException(e.toString());
|
throw new BadRequestException(e.toString());
|
||||||
@@ -600,7 +600,7 @@ public class CacheLineHandServiceImpl implements CacheLineHandService{
|
|||||||
jsonObject.put("wcsdevice_code", wcsdevice_code);
|
jsonObject.put("wcsdevice_code", wcsdevice_code);
|
||||||
jsonArray.add(jsonObject);
|
jsonArray.add(jsonObject);
|
||||||
try {
|
try {
|
||||||
return RestBusinessTemplate.execute(() -> AcsUtil.notifyAcs("/api/wms/puaseCacheLine", jsonArray));
|
return RestBusinessTemplate.execute(() -> AcsUtil.notifyAcs("api/wms/puaseCacheLine", jsonArray));
|
||||||
}
|
}
|
||||||
catch(NullPointerException e) {
|
catch(NullPointerException e) {
|
||||||
throw new BadRequestException(e.toString());
|
throw new BadRequestException(e.toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user