Browse Source

opt:优化

master
张东升 2 weeks ago
parent
commit
cd691d7cad
  1. 4
      lms/nladmin-system/src/main/java/org/nl/b_lms/sch/tasks/slitter/service/impl/SlitterServiceImpl.java

4
lms/nladmin-system/src/main/java/org/nl/b_lms/sch/tasks/slitter/service/impl/SlitterServiceImpl.java

@ -791,9 +791,9 @@ public class SlitterServiceImpl implements SlitterService {
//成品 //成品
if(point_type.equals("4")){ 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){ if(mzPointList.size() == 0){
throw new BadRequestException("内包间无空闲满轴缓存位!"); throw new BadRequestException("内包间无可放子卷的空载具位置!");
} }
//设置目的点为满轴位 //设置目的点为满轴位
taskParam.put("point_code2", mzPointList.get(0).getPoint_code()); taskParam.put("point_code2", mzPointList.get(0).getPoint_code());

Loading…
Cancel
Save