|
@ -340,7 +340,7 @@ public class PrescriptionStatusUpdateService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
outpatientDao.save(outpatientDOs);
|
|
outpatientDao.save(outpatientDOs);
|
|
//退费
|
|
|
|
|
|
/*//退费
|
|
for (WlyyOutpatientDO outpatientDO:outpatientDOs){
|
|
for (WlyyOutpatientDO outpatientDO:outpatientDOs){
|
|
long currentTime = new Date().getTime();
|
|
long currentTime = new Date().getTime();
|
|
Date temp = new Date();
|
|
Date temp = new Date();
|
|
@ -356,17 +356,17 @@ public class PrescriptionStatusUpdateService {
|
|
BusinessOrderDO businessOrderDO = businessOrderDao.selectByRelationCode(outpatientDO.getId());
|
|
BusinessOrderDO businessOrderDO = businessOrderDao.selectByRelationCode(outpatientDO.getId());
|
|
if (businessOrderDO!=null){
|
|
if (businessOrderDO!=null){
|
|
if (businessOrderDO.getPayType()==1){
|
|
if (businessOrderDO.getPayType()==1){
|
|
businessOrderService.orderRefund(wechatId,businessOrderDO.getPatient(),businessOrderDO.getOrderNo(),businessOrderDO.getPayPrice(),businessOrderDO.getDescription());
|
|
|
|
|
|
//businessOrderService.orderRefund(wechatId,businessOrderDO.getPatient(),businessOrderDO.getOrderNo(),businessOrderDO.getPayPrice(),businessOrderDO.getDescription());
|
|
}else if (businessOrderDO.getPayType()==3){
|
|
}else if (businessOrderDO.getPayType()==3){
|
|
/*
|
|
|
|
|
|
*//*
|
|
businessOrderService.ylzOrderRefund(wechatId,businessOrderDO.getPatient(),businessOrderDO.getOrderNo(),businessOrderDO.getPayPrice(),businessOrderDO.getDescription());
|
|
businessOrderService.ylzOrderRefund(wechatId,businessOrderDO.getPatient(),businessOrderDO.getOrderNo(),businessOrderDO.getPayPrice(),businessOrderDO.getDescription());
|
|
*/
|
|
|
|
|
|
*//*
|
|
}
|
|
}
|
|
} } catch (Exception e) {
|
|
} } catch (Exception e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}*/
|
|
logger.info("setOutPatientOver count :"+outpatientDOs.size());
|
|
logger.info("setOutPatientOver count :"+outpatientDOs.size());
|
|
}else {
|
|
}else {
|
|
logger.info("setOutPatientOver count :"+0);
|
|
logger.info("setOutPatientOver count :"+0);
|