|
@ -393,7 +393,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
prescriptionDao.save(p);
|
|
|
|
|
|
//审核通过模板消息
|
|
|
sendRMess(code, 1);
|
|
|
sendRMess(p.getCode(), 1);
|
|
|
|
|
|
//修改系统的续方消息的审核状态
|
|
|
messageDao.updatePreScriptionMessage(p.getConsult(), "1", 6);
|
|
@ -407,7 +407,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
p.setPrescribeTime(new Date());
|
|
|
prescriptionDao.save(p);
|
|
|
//审核不通过模板消息
|
|
|
sendRMess(code, 0);
|
|
|
sendRMess(p.getCode(), 0);
|
|
|
return 0;
|
|
|
}
|
|
|
}
|
|
@ -1171,8 +1171,8 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
}
|
|
|
|
|
|
public JSONArray getPhysicMinDose(String code) {
|
|
|
StringBuffer sql = new StringBuffer("SELECT t.min_dose AS minDose,t.physicCode FROM zy_iv_physic_dict t WHERE t.physic_code = ?");
|
|
|
List<Map<String, Object>> rs = jdbcTemplate.queryForList(sql.toString());
|
|
|
StringBuffer sql = new StringBuffer("SELECT t.min_dose AS minDose,t.physic_code AS physicCode FROM zy_iv_physic_dict t WHERE t.physic_code = ?");
|
|
|
List<Map<String, Object>> rs = jdbcTemplate.queryForList(sql.toString(),new Object[]{code});
|
|
|
return new JSONArray(rs);
|
|
|
}
|
|
|
}
|