|
@ -541,9 +541,11 @@ public class PatientPrescriptionPayService extends BaseService {
|
|
|
messageDao.save(message);
|
|
|
}
|
|
|
//支付成功发起结算
|
|
|
LOGGER.debug("=================> start exexuteSickSettle");
|
|
|
jwPrescriptionService.executeSickSettle(prescriptionCode);
|
|
|
LOGGER.debug("=================> end exexuteSickSettle");
|
|
|
try {
|
|
|
jwPrescriptionService.executeSickSettle(prescriptionCode);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
} else if ("1".equals(tradeStatus) || "FAIL".equals(tradeStatus)) {
|
|
|
prescriptionPay.setTradeStatus("0");//交易状态 成功1 失败0
|
|
|
prescription.setStatus(PrescriptionLog.PrescriptionLogStatus.pay_error.getValue());////续费状态 30支付成功 21支付失败
|