//        for (Map m : rangeList) {
// String str = m.get("value").toString();
// String value;
// if (str.contains(",")) {
// List<String> list = Arrays.asList(str.split(","));
// value = getValue(list);
// m.put("value", value);
// }
// }


Impl ----->>

private String getValue(List<String> list) {
Map map = tbHospitalMapper.selectByIds(list);
return map.get("name").toString();
}

Mapper-------->>
Map selectByIds(List<String> list);


Xml--------->>

<select >
#{item}
</foreach>
</select>





相关文章:

  • 2021-11-20
  • 2021-05-03
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2021-07-12
猜你喜欢
  • 2022-12-23
  • 2021-05-27
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
相关资源
相似解决方案