单据扫码序列号为空问题修复

dev
郑明梁 2 years ago
parent 2e7d4c0999
commit 95e7c673c9

@ -272,7 +272,7 @@ public class IoCodeTempController extends BaseController {
checkSuccess = false;
lostMsg = lostMsg + ",失效日期";
}
if (!checkUdi.getAllowNoSerial() && StrUtil.isEmpty(udiEntity.getSerialNo())
if (checkUdi.getAllowNoSerial()!=null && !checkUdi.getAllowNoSerial() && StrUtil.isEmpty(udiEntity.getSerialNo())
) {
checkSuccess = false;
lostMsg = lostMsg + ",序列号";

Loading…
Cancel
Save