|
|
@ -60,6 +60,10 @@ public class ThirdAliDrugController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
List<ThirdAliDrug> list = thirdAliDrugService.filterList(thirdAliDrug);
|
|
|
|
List<ThirdAliDrug> list = thirdAliDrugService.filterList(thirdAliDrug);
|
|
|
|
if (CollUtil.isEmpty(list)){
|
|
|
|
if (CollUtil.isEmpty(list)){
|
|
|
|
|
|
|
|
// 剔除当前选入的产品编码要给他删了再重新查一次判断 如果还是查不到就去查阿里
|
|
|
|
|
|
|
|
thirdAliDrug.setNameCodeIn(null);
|
|
|
|
|
|
|
|
List<ThirdAliDrug> listNew = thirdAliDrugService.filterList(thirdAliDrug);
|
|
|
|
|
|
|
|
if (CollUtil.isEmpty(listNew)){
|
|
|
|
ThirdAliDrugAddRequest thirdAliDrugAddRequest = new ThirdAliDrugAddRequest();
|
|
|
|
ThirdAliDrugAddRequest thirdAliDrugAddRequest = new ThirdAliDrugAddRequest();
|
|
|
|
AlihealthThirdAliDrugInsertReqeust request = new AlihealthThirdAliDrugInsertReqeust();
|
|
|
|
AlihealthThirdAliDrugInsertReqeust request = new AlihealthThirdAliDrugInsertReqeust();
|
|
|
|
AlihealthKytDrugrescodeReqeust alihealthKytDrugrescodeReqeust = new AlihealthKytDrugrescodeReqeust();
|
|
|
|
AlihealthKytDrugrescodeReqeust alihealthKytDrugrescodeReqeust = new AlihealthKytDrugrescodeReqeust();
|
|
|
@ -89,7 +93,7 @@ public class ThirdAliDrugController {
|
|
|
|
log.error("异步更新阿里药品数据错误==="+e.getMessage());
|
|
|
|
log.error("异步更新阿里药品数据错误==="+e.getMessage());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
PageInfo<ThirdAliDrug> pageInfo = new PageInfo<>(list);
|
|
|
|
PageInfo<ThirdAliDrug> pageInfo = new PageInfo<>(list);
|
|
|
|