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