|
|
|
@ -189,14 +189,22 @@ public class ThirdAliDrugService extends ServiceImpl<ThirdAliDrugMapper, ThirdAl
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<ThirdAliDrug> updateByCpmctymc(String cpmctymc) {
|
|
|
|
|
public List<ThirdAliDrug> updateByCpmctymc(ThirdAliDrugRequest thirdAliDrug) {
|
|
|
|
|
|
|
|
|
|
ThirdAliDrugAddRequest thirdAliDrugAddRequest = new ThirdAliDrugAddRequest();
|
|
|
|
|
// TODO: 2025/1/4 这里用调用的 入参 cpmctymc
|
|
|
|
|
List<ThirdAliDrug> add = null;
|
|
|
|
|
AlihealthThirdAliDrugInsertReqeust request = new AlihealthThirdAliDrugInsertReqeust();
|
|
|
|
|
AlihealthKytDrugrescodeReqeust alihealthKytDrugrescodeReqeust = new AlihealthKytDrugrescodeReqeust();
|
|
|
|
|
alihealthKytDrugrescodeReqeust.setPhysic_name(cpmctymc);
|
|
|
|
|
|
|
|
|
|
String cpmctymc = thirdAliDrug.getCpmctymc();
|
|
|
|
|
String approvalNum = thirdAliDrug.getApprovalNum();
|
|
|
|
|
if (StrUtil.isNotBlank(cpmctymc)){
|
|
|
|
|
alihealthKytDrugrescodeReqeust.setPhysic_name(cpmctymc);
|
|
|
|
|
}
|
|
|
|
|
if (StrUtil.isNotBlank(approvalNum)){
|
|
|
|
|
alihealthKytDrugrescodeReqeust.setApproval_licence_no(approvalNum);
|
|
|
|
|
}
|
|
|
|
|
request.setAlihealthKytDrugrescodeReqeust(alihealthKytDrugrescodeReqeust);
|
|
|
|
|
// request.setIsAutoUpdate(true);
|
|
|
|
|
|
|
|
|
|