rev 去除空盘入库限制

This commit is contained in:
USER-20220102CG\noblelift
2025-04-12 12:42:42 +08:00
parent 9ff67c1e47
commit 502849fad1

View File

@@ -234,23 +234,6 @@ public class FoldDiscSiteDeviceDriver extends AbstractOpcDeviceDriver implements
if (container_type == 0) {
message = "托盘类型为空";
} else {
//已经存在空托入库的任务
TaskDto byStarCodeAndExcute = taskserver.findByStarCodeAndExcute(device_code);
if (byStarCodeAndExcute != null) {
LuceneLogDto logDto = LuceneLogDto.builder()
.device_code(device_code)
.content("已经存在空托入库的任务")
.build();
logDto.setLog_level(4);
luceneExecuteLogService.deviceExecuteLog(logDto);
List list1 = new ArrayList();
Map map = new HashMap();
map.put("code", "to_command");
map.put("value", mode);
list1.add(map);
this.writing(list1);
this.requireSucess = true;
}else {
applyEmptyTask(StorageTypeEnum.DISKS_IN.getType(), mode);
}
}