人口基本信息-修改人口认领的Bug
This commit is contained in:
parent
5aedc01cf6
commit
6c17114a5a
@ -439,11 +439,14 @@ public class PopulationInfoServiceImpl extends AbstractService implements IPopul
|
|||||||
@Override
|
@Override
|
||||||
public List<PopulationInfoDTO> list(Map<String, Object> params) {
|
public List<PopulationInfoDTO> list(Map<String, Object> params) {
|
||||||
if(params.get("populationInfoIds") != null) {
|
if(params.get("populationInfoIds") != null) {
|
||||||
List<String> list = Arrays.asList(params.get("populationInfoIds").toString().split("\\_"));
|
Object obj = params.get("populationInfoIds");
|
||||||
if (list.size() > 100) {
|
if (obj instanceof String) {
|
||||||
throw new SearchException("单次最多选择100个");
|
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);
|
List<PopulationInfoDTO> listList = populationInfoDao.list(params);
|
||||||
ArrayList<String> arr = new ArrayList();
|
ArrayList<String> arr = new ArrayList();
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<i class="fa fa-lg fa-check"></i> 认领选择的人员
|
<i class="fa fa-lg fa-check"></i> 认领选择的人员
|
||||||
</button>
|
</button>
|
||||||
<button type="button" id="help" class="layui-btn layui-btn-sm" style="background-color: #FFFFFF;color: #CD5C5C">
|
<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>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user