Merge remote-tracking branch 'origin/master'

master
郑明梁 2 years ago
commit a6aa0f5dbf

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

@ -19,8 +19,8 @@ import org.springframework.stereotype.Component;
import javax.annotation.Resource;
//@Component
//@EnableScheduling
@Component
@EnableScheduling
public class AsyncHeartTask implements SchedulingConfigurer {
final Logger logger = LoggerFactory.getLogger(AsyncHeartTask.class);

Loading…
Cancel
Save