|
|
|
@ -187,9 +187,11 @@ public class IoCheckInoutService {
|
|
|
|
|
UdiEntity udiEntity = FilterUdiUtils.getUdi(codeEntity.getCode());
|
|
|
|
|
|
|
|
|
|
IoCodeLostEntity codeLostEntity = codeLostService.findByCode(codeEntity.getCode());
|
|
|
|
|
if (codeLostEntity == null)
|
|
|
|
|
if (codeLostEntity == null) {
|
|
|
|
|
codeLostEntity = new IoCodeLostEntity();
|
|
|
|
|
|
|
|
|
|
codeLostEntity.setNameCode(udiEntity.getUdi());
|
|
|
|
|
codeLostEntity.setCode(codeEntity.getCode());
|
|
|
|
|
}
|
|
|
|
|
//校验是否写入缺失表
|
|
|
|
|
boolean isTrue = false;
|
|
|
|
|
if (udiEntity != null) {
|
|
|
|
|