|
@ -635,7 +635,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
|
|
List<WlyyOutpatientDO> wlyyOutpatientDOList = outpatientDao.findByPatientListNoStatus(cons.getPatient(),startTime,endTime);
|
|
List<WlyyOutpatientDO> wlyyOutpatientDOList = outpatientDao.findByPatientListNoStatus(cons.getPatient(),startTime,endTime);
|
|
//发送诊断支付
|
|
//发送诊断支付
|
|
if (wlyyOutpatientDOList==null||wlyyOutpatientDOList.size()==0){
|
|
if (wlyyOutpatientDOList==null||wlyyOutpatientDOList.size()==0){
|
|
WlyyOutpatientDO outpatientDO = wlyyOutpatientDOList.get(0);
|
|
|
|
|
|
WlyyOutpatientDO outpatientDO = outpatientDao.findById(cons.getRelationCode());
|
|
List<WlyyPrescriptionDO> wlyyPrescriptionDOS = prescriptionDao.findByOutpatientId(outpatientDO.getId());
|
|
List<WlyyPrescriptionDO> wlyyPrescriptionDOS = prescriptionDao.findByOutpatientId(outpatientDO.getId());
|
|
if (wlyyPrescriptionDOS==null||wlyyPrescriptionDOS.size()==0){
|
|
if (wlyyPrescriptionDOS==null||wlyyPrescriptionDOS.size()==0){
|
|
logger.info("发送诊查费支付模板消息start");
|
|
logger.info("发送诊查费支付模板消息start");
|