|
@ -890,7 +890,7 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines
|
|
|
*/
|
|
|
public BusinessOrderDO updatePayStatus(String traceNo) throws Exception {
|
|
|
logger.info("入参:"+traceNo);
|
|
|
BusinessOrderDO businessOrderDO = businessOrderDao.selectByTraceNo(traceNo);
|
|
|
BusinessOrderDO businessOrderDO = businessOrderDao.selectByOrderNo(traceNo);
|
|
|
if (businessOrderDO==null){
|
|
|
throw new Exception("查不到订单!");
|
|
|
}
|
|
@ -911,6 +911,9 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines
|
|
|
prescriptionLogService.addPrescriptionLog(businessOrderDO.getRelationCode(),30,1,businessOrderDO.getPatient(),businessOrderDO.getPatientName(),businessOrderDO.getDescription(),new Date());
|
|
|
}
|
|
|
}
|
|
|
businessOrderDO.setUpdateTime(new Date());
|
|
|
businessOrderDO.setStatus(1);
|
|
|
businessOrderDao.save(businessOrderDO);
|
|
|
return businessOrderDO;
|
|
|
}
|
|
|
|