选入药品做转换匹配阿里

阿里关联关系优化
dev_unify
qiuyt 4 months ago
parent aefadc1062
commit 5a17fa49a2

@ -419,7 +419,7 @@ public class UdiContrastService {
);
// udiProductService.insertUdiInfo(udiProductEntity);
}
if(thirdAliDrugList!= null && thirdAliDrugList.size() >0){
for (int i = 0; i < thirdAliDrugList.size(); i++) {
ThirdAliDrug thirdAliDrug = thirdAliDrugList.get(i);
@ -477,6 +477,11 @@ public class UdiContrastService {
udiProductEntity.setId(IdUtil.getSnowflakeNextId());
udiProductService.insertUdiInfo(udiProductEntity);
}
}else {
udiProductService.insertUdiInfo(udiProductEntity);
}
// setLevel(udiRelevanceEntity.getUuid());
UdiProductEntity byUuid = udiProductService.findByUuid(udiRelevanceEntity.getUuid());
udiRelevanceEntity = udiRelevanceService.insertDefaultLevel(udiRelevanceEntity, byUuid);

Loading…
Cancel
Save