fix: 跨机台下卷错误
This commit is contained in:
@@ -530,7 +530,7 @@ public class SlitterServiceImpl implements SlitterService {
|
||||
// 获取分切对接位没任务的空位置
|
||||
List<BstIvtCutpointivt> emptyPoints = slitterMapper.getEmptyCutPointNotTask(area,
|
||||
device.getSort_seq(),
|
||||
getPointLocationInCutDevice(getNumberByResourceCode(demoPlan.getResource_name()), area));
|
||||
getPointLocationInCutDevice(getNumberByResourceCode(actualDeviceCode), area));
|
||||
if (emptyPoints.size() == 0) {
|
||||
log.error("分切机【" + device.getExt_code() + "】找不到对应的对接位, 或已存在任务!");
|
||||
throw new BadRequestException("分切机【" + device.getExt_code() + "】找不到对应的对接位,或已存在任务!");
|
||||
|
||||
Reference in New Issue
Block a user