|
@ -14422,6 +14422,13 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
logger.info("获取患者待结算信息开始!");
|
|
|
YlzMedicalRelationDO ylzMedicalRelationDO = new YlzMedicalRelationDO();
|
|
|
ylzMedicalRelationDO = ylzMedicailRelationDao.findByOutpatient(outpatientId);
|
|
|
/* if (ylzMedicalRelationDO!=null&&ylzMedicalRelationDO.getStatus()==1){
|
|
|
if (!object.getString("flag").equalsIgnoreCase("1")){
|
|
|
ylzMedicalRelationDO = ylzMedicailRelationDao.findByOutpatientPersonCode(outpatientId,code);
|
|
|
ylzMedicalRelationDO.setStatus(1);
|
|
|
ylzMedicailRelationDao.save(ylzMedicalRelationDO);
|
|
|
}
|
|
|
}*/
|
|
|
if (ylzMedicalRelationDO!=null&&ylzMedicalRelationDO.getStatus()==1){
|
|
|
//医保已结算直接返回数据
|
|
|
List<YlzMedicalMxDO> mxDOList = ylzMedicailMxDao.findByMedicalId(ylzMedicalRelationDO.getId());
|
|
@ -14545,7 +14552,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
logger.info("医保结算结果获取start!");
|
|
|
result = healthCareService.getSettlementResult(code);
|
|
|
logger.info("医保结算结果获取end!");
|
|
|
|
|
|
com.alibaba.fastjson.JSONObject object = com.alibaba.fastjson.JSONObject.parseObject(result);
|
|
|
}/*else{
|
|
|
logger.info("医保结算页面start!");
|
|
|
String registerNo = outpatientDO.getRegisterNo();
|