fix:木箱出库时存在移库任务将出库锁释放
This commit is contained in:
@@ -26,6 +26,7 @@ import org.nl.b_lms.storage_manage.database.service.dao.mapper.BstIvtBoxinfoMapp
|
||||
import org.nl.b_lms.storage_manage.ios.enums.IOSEnum;
|
||||
import org.nl.common.enums.PackageInfoIvtEnum;
|
||||
import org.nl.modules.common.exception.BadRequestException;
|
||||
import org.nl.system.service.param.ISysParamService;
|
||||
import org.nl.wms.ext.mes.service.impl.LmsToMesServiceImpl;
|
||||
import org.nl.wms.sch.manage.TaskStatusEnum;
|
||||
import org.redisson.api.RLock;
|
||||
@@ -73,6 +74,9 @@ public class AutoSendZxToDjw extends Prun{
|
||||
@Resource
|
||||
private BstIvtBoxinfoMapper bstIvtBoxinfoMapper;
|
||||
|
||||
@Autowired
|
||||
private ISysParamService iSysParamService;
|
||||
|
||||
|
||||
|
||||
//装箱区->装箱对接位agv自动搬运任务
|
||||
@@ -263,10 +267,8 @@ public class AutoSendZxToDjw extends Prun{
|
||||
|
||||
private String getHeightLevel(BstIvtBoxinfo bstIvtBoxinfo) {
|
||||
String height;
|
||||
//String heightLevel1 = iSysParamService.findByCode("height_level_1").getValue();
|
||||
//String heightLevel2 = iSysParamService.findByCode("height_level_2").getValue();
|
||||
String heightLevel1 = "650";
|
||||
String heightLevel2 = "800";
|
||||
String heightLevel1 = iSysParamService.findByCode("height_level_1").getValue();
|
||||
String heightLevel2 = iSysParamService.findByCode("height_level_2").getValue();
|
||||
String box_high = bstIvtBoxinfo.getBox_high();
|
||||
if (Integer.parseInt(box_high) <= Integer.parseInt(heightLevel1)) {
|
||||
height = "1";
|
||||
|
||||
Reference in New Issue
Block a user