修改 UDI码补齐

master
wangwei 2 years ago
parent ca3f878c34
commit 90473b8841

@ -11,7 +11,6 @@ public class UdiEntity {
private String expireDate;
private String serialNo;
private String udi;
public String getBatchNo() {
return batchNo;
}

@ -47,7 +47,6 @@ public class IoCodeLostResponse {
private String cpmctymc;
//规格型号
private String ggxh;
public static final String COL_ID = "id";
public static final String COL_CODE = "code";

@ -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) {

Loading…
Cancel
Save