|
|
@ -2,6 +2,7 @@ package org.nl.wms.ext.mes.autotask; |
|
|
|
|
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
import cn.hutool.core.util.IdUtil; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import lombok.SneakyThrows; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.nl.system.service.notice.ISysNoticeService; |
|
|
@ -46,6 +47,9 @@ public class AutoSaveGdyInfo { |
|
|
|
mesGdyInfoDto.setDEVICE("1"); |
|
|
|
mesGdyInfoDto.setCREATE_TM(DateUtil.now()); |
|
|
|
mesGdyInfoDto.setOP_FLAG(GeneralDefinition.NO); |
|
|
|
if (ObjectUtil.isEmpty(mesGdyInfoDto.getBATCHNO())) { |
|
|
|
mesGdyInfoDto.setBATCHNO("-"); |
|
|
|
} |
|
|
|
try { |
|
|
|
mesRequestMapper.insertGdyMaterial(mesGdyInfoDto); |
|
|
|
successNum.incrementAndGet(); |
|
|
|