代码更新
This commit is contained in:
@@ -395,6 +395,18 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
if (ObjectUtil.isEmpty(sub_jo)) {
|
if (ObjectUtil.isEmpty(sub_jo)) {
|
||||||
throw new BadRequestException("未查询到该木箱对应的包装关系!");
|
throw new BadRequestException("未查询到该木箱对应的包装关系!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 校验木箱长度类型
|
||||||
|
double box_length = sub_jo.getDoubleValue("box_length");
|
||||||
|
|
||||||
|
if (522 <= box_length && box_length <= 614) {
|
||||||
|
device_code = device_code + "_1";
|
||||||
|
} else if (672 <= box_length && box_length <= 814) {
|
||||||
|
device_code = device_code + "_2";
|
||||||
|
} else {
|
||||||
|
device_code = device_code + "_3";
|
||||||
|
}
|
||||||
|
|
||||||
String sale_order_name = sub_jo.getString("sale_order_name");
|
String sale_order_name = sub_jo.getString("sale_order_name");
|
||||||
|
|
||||||
//查询是否存在可用的空位
|
//查询是否存在可用的空位
|
||||||
|
|||||||
Reference in New Issue
Block a user