|
@ -652,10 +652,10 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
|
|
|
//获取智业待结算接口,更新药品金额
|
|
//获取智业待结算接口,更新药品金额
|
|
prescriptionService.getPerscriptionInfoCostFromPayInfo(p.getCode());
|
|
prescriptionService.getPerscriptionInfoCostFromPayInfo(p.getCode());
|
|
|
|
|
|
|
|
|
|
//更新随访记录的状态为完成
|
|
//更新随访记录的状态为完成
|
|
followUpDao.updateStatusByPrescriptionCode(p.getCode(),1);
|
|
|
|
|
|
|
|
|
|
followUpDao.updateStatusByPrescriptionCode(p.getCode(),"1");
|
|
|
|
|
|
//发送Im消息
|
|
//发送Im消息
|
|
JSONObject content = new JSONObject();
|
|
JSONObject content = new JSONObject();
|
|
content.put("title", "我已经审核您" + DateUtil.dateToStr(p.getCreateTime(), "yyyy-MM-dd") + "发起的续方申请");
|
|
content.put("title", "我已经审核您" + DateUtil.dateToStr(p.getCreateTime(), "yyyy-MM-dd") + "发起的续方申请");
|
|
@ -883,8 +883,8 @@ public class PrescriptionInfoService extends BaseService {
|
|
p.setJwDeptCode(dept);
|
|
p.setJwDeptCode(dept);
|
|
p.setJwRegisterFee(registerFee);
|
|
p.setJwRegisterFee(registerFee);
|
|
p.setJwGisterTypeCode(rateTypeCode);//挂号类型
|
|
p.setJwGisterTypeCode(rateTypeCode);//挂号类型
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
//审核不通过
|
|
//审核不通过
|
|
p.setStatus(PrescriptionLog.PrescriptionLogStatus.no_reviewed.getValue());
|
|
p.setStatus(PrescriptionLog.PrescriptionLogStatus.no_reviewed.getValue());
|
|
@ -1626,7 +1626,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
}
|
|
}
|
|
|
|
|
|
public JSONArray getIcd10Info(String nameKey) {
|
|
public JSONArray getIcd10Info(String nameKey) {
|
|
StringBuffer stringBuffer = new StringBuffer(" SELECT t.code,t.name FROM icd10_dict t WHERE t.name LIKE ? and t.chronic_flag = '1'");
|
|
|
|
|
|
StringBuffer stringBuffer = new StringBuffer(" SELECT t.code,t.name FROM icd10_dict t WHERE t.name LIKE ?");
|
|
List<Map<String, Object>> rs = jdbcTemplate.queryForList(stringBuffer.toString(), new Object[]{"%" + nameKey + "%"});
|
|
List<Map<String, Object>> rs = jdbcTemplate.queryForList(stringBuffer.toString(), new Object[]{"%" + nameKey + "%"});
|
|
return new JSONArray(rs);
|
|
return new JSONArray(rs);
|
|
}
|
|
}
|