opt:优化备货托盘绑定
This commit is contained in:
@@ -1548,6 +1548,12 @@ public class SlitterServiceImpl implements SlitterService {
|
||||
if (ObjectUtil.isEmpty(pointByCode)) {
|
||||
throw new BadRequestException("点位 [" + pointCode + "] 不存在或者已被禁用!");
|
||||
}
|
||||
if (ObjectUtil.isEmpty(vehicleCode)) {
|
||||
throw new BadRequestException("托盘信息不能为空!");
|
||||
}
|
||||
if(!vehicleCode.contains("GX")){
|
||||
throw new BadRequestException("请扫描或输入正确的托盘码!");
|
||||
}
|
||||
pointByCode.setVehicle_code(vehicleCode);
|
||||
pointByCode.setIvt_status("1");
|
||||
TaskUtils.updateOptMessageByBStockingPoint(pointByCode);
|
||||
|
||||
Reference in New Issue
Block a user