|
|
|
@ -348,9 +348,6 @@ public class UdiContrastService {
|
|
|
|
|
}else {
|
|
|
|
|
List<ThirdAliDrug> thirdAliDrugListNew = null;
|
|
|
|
|
|
|
|
|
|
String customerId =customerService.getCustomerId();
|
|
|
|
|
CustomerInfoEntity customerInfoEntity = customerInfoService.selectById(customerId);
|
|
|
|
|
|
|
|
|
|
AlihealthThirdAliDrugInsertReqeust alihealthThirdAliDrugInsertReqeust = new AlihealthThirdAliDrugInsertReqeust();
|
|
|
|
|
alihealthThirdAliDrugInsertReqeust.setErpId("73157692795424");
|
|
|
|
|
alihealthThirdAliDrugInsertReqeust.setAppSecret("5231c601505706a9d49823c3dfe2cb01");
|
|
|
|
@ -368,6 +365,7 @@ public class UdiContrastService {
|
|
|
|
|
thirdAliDrugService.addOrUpdate(thirdAliDrugListNew);
|
|
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
udiProductService.insertUdiInfo(udiProductEntity);
|
|
|
|
|
log.error("阿里接口未查到产品信息==="+baseResponse.getMessage());
|
|
|
|
|
// throw new JsonException(500, "阿里接口未查到产品信息");
|
|
|
|
|
}
|
|
|
|
@ -423,6 +421,8 @@ public class UdiContrastService {
|
|
|
|
|
udiProductEntity.setId(IdUtil.getSnowflakeNextId());
|
|
|
|
|
udiProductService.insertUdiInfo(udiProductEntity);
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
udiProductService.insertUdiInfo(udiProductEntity);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// setLevel(udiRelevanceEntity.getUuid());
|
|
|
|
|