|
@ -1040,7 +1040,7 @@ public class ImService {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public String getConsultCodeByOutpatientId(String outpatientid) {
|
|
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);
|
|
List<Map<String, Object>> rstotal = jdbcTemplate.queryForList(totalSql);
|
|
String id = "";
|
|
String id = "";
|
|
if (rstotal != null && rstotal.size() > 0) {
|
|
if (rstotal != null && rstotal.size() > 0) {
|