|
@ -1626,7 +1626,7 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
}
|
|
|
|
|
|
public JSONArray getIcd10Info(String nameKey) {
|
|
|
StringBuffer stringBuffer = new StringBuffer(" SELECT t.code,t.name FROM icd10_dict t WHERE t.name LIKE ?");
|
|
|
StringBuffer stringBuffer = new StringBuffer(" SELECT t.code,t.name FROM icd10_dict t WHERE t.name LIKE ? and t.chronic_flag = '1'");
|
|
|
List<Map<String, Object>> rs = jdbcTemplate.queryForList(stringBuffer.toString(), new Object[]{"%" + nameKey + "%"});
|
|
|
return new JSONArray(rs);
|
|
|
}
|