接口查询修改

cert
anthonywj 2 years ago
parent b3463bb2d8
commit 47c0a7277f

@ -73,10 +73,6 @@ public class UdiTraceController extends BaseController {
@Resource
UserCompanyService userCompanyService;
@Resource
SystemParamConfigService systemParamConfigService;
@Resource
RabbitPushService rabbitPushService;
@Resource
private final RabbitTemplate rabbitTemplate;
@ApiIgnore

@ -101,6 +101,7 @@ public class UdiTraceService {
traceProductDetailEntity = traceProductDetailService.findUniqueByData(1, traceRecordRequest.getYlqxzcrbarmc(),
traceRecordRequest.getCpmctymc(), traceRecordRequest.getGgxh(), traceRecordRequest.getNameCode(), traceRecordRequest.getBatchNo());
if (traceProductDetailEntity == null) {
traceProductDetailEntity = new TraceProductDetailEntity();
traceProductDetailEntity.setId(IdUtil.getSnowflakeNextId());
traceProductDetailEntity.setTraceSource(traceSource);
if (traceSource == 1) {

Loading…
Cancel
Save