Browse Source

增加接口根据复诊记录ID获取咨询CODE

huangwenjie 5 years ago
parent
commit
4daf99de28

+ 1 - 1
business/im-service/src/main/java/com/yihu/jw/im/service/ImService.java

@ -1040,7 +1040,7 @@ public class ImService {
	 * @return
	 */
	public String getConsultCodeByOutpatientId(String outpatientid) {
		String totalSql = "SELECT id FROM wlyy_consult WHERE relation_code='"+outpatientid+"'";
		String totalSql = "SELECT id FROM wlyy_consult WHERE relation_code='"+outpatientid+"' ";
		List<Map<String, Object>> rstotal = jdbcTemplate.queryForList(totalSql);
		String id = "";
		if (rstotal != null && rstotal.size() > 0) {