人口基本信息-修改人口认领的Bug

This commit is contained in:
java_cuibaocheng@163.com 2023-11-16 17:15:16 +08:00
parent 5aedc01cf6
commit 6c17114a5a
2 changed files with 8 additions and 5 deletions

View File

@ -439,11 +439,14 @@ public class PopulationInfoServiceImpl extends AbstractService implements IPopul
@Override
public List<PopulationInfoDTO> list(Map<String, Object> params) {
if(params.get("populationInfoIds") != null) {
List<String> list = Arrays.asList(params.get("populationInfoIds").toString().split("\\_"));
if (list.size() > 100) {
throw new SearchException("单次最多选择100个");
Object obj = params.get("populationInfoIds");
if (obj instanceof String) {
List<String> list = Arrays.asList(params.get("populationInfoIds").toString().split("\\_"));
if (list.size() > 100) {
throw new SearchException("单次最多选择100个");
}
params.put("populationInfoIds", list);
}
params.put("populationInfoIds", list);
}
List<PopulationInfoDTO> listList = populationInfoDao.list(params);
ArrayList<String> arr = new ArrayList();

View File

@ -47,7 +47,7 @@
<i class="fa fa-lg fa-check"></i> 认领选择的人员
</button>
<button type="button" id="help" class="layui-btn layui-btn-sm" style="background-color: #FFFFFF;color: #CD5C5C">
<i class="fa fa-lg fa-star"></i> 认领人员后,后续归属及维护将由您来负责。
<i class="fa fa-lg fa-star"></i> 认领选择的人员后,后续归属及维护将由您来负责。
</button>
</div>
</script>