opt:优化
This commit is contained in:
@@ -791,9 +791,9 @@ public class SlitterServiceImpl implements SlitterService {
|
||||
//成品
|
||||
if(point_type.equals("4")){
|
||||
//设置目的点为有架子的点
|
||||
List<BstIvtPackageinfoivt> mzPointList = bcutpointivtService.getPointByStatus(PackageInfoIvtEnum.POINT_STATUS.code("子卷缓存位"),PackageInfoIvtEnum.IVT_STATUS.code("空"));
|
||||
List<BstIvtPackageinfoivt> mzPointList = bcutpointivtService.getPointByStatus(PackageInfoIvtEnum.POINT_STATUS.code("子卷缓存位"),PackageInfoIvtEnum.IVT_STATUS.code("空载具"));
|
||||
if(mzPointList.size() == 0){
|
||||
throw new BadRequestException("内包间无空闲满轴缓存位!");
|
||||
throw new BadRequestException("内包间无可放子卷的空载具位置!");
|
||||
}
|
||||
//设置目的点为满轴位
|
||||
taskParam.put("point_code2", mzPointList.get(0).getPoint_code());
|
||||
|
||||
Reference in New Issue
Block a user