|
|
@ -86,4 +86,21 @@ public class IoCodeTempServiceImpl implements IoCodeTempService {
|
|
|
|
return ioCodeTempDao.selectCodeList(filterCodeRequest);
|
|
|
|
return ioCodeTempDao.selectCodeList(filterCodeRequest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public Boolean checkTempCode(IoCodeTempEntity ioCodeTempEntity) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QueryWrapper<IoCodeTempEntity> ew=new QueryWrapper<>();
|
|
|
|
|
|
|
|
ew.eq("code",ioCodeTempEntity.getCode());
|
|
|
|
|
|
|
|
ew.eq("corpOrderId",ioCodeTempEntity.getCorpOrderId());
|
|
|
|
|
|
|
|
ew.eq("batchNo",ioCodeTempEntity.getBatchNo());
|
|
|
|
|
|
|
|
ew.eq("produceDate",ioCodeTempEntity.getProduceDate());
|
|
|
|
|
|
|
|
ew.eq("expireDate",ioCodeTempEntity.getExpireDate());
|
|
|
|
|
|
|
|
ew.eq("serialNo",ioCodeTempEntity.getSerialNo());
|
|
|
|
|
|
|
|
Long count = ioCodeTempDao.selectCount(ew);
|
|
|
|
|
|
|
|
if(count>0){
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|