人口基本信息-房屋中同住人的新增与修改

人口基本信息-人口选择页面的去脱敏Bug修改
人口基本信息-人口选择页面增加新增人员功能
This commit is contained in:
java_cuibaocheng@163.com 2023-11-16 15:28:05 +08:00
parent 26021cd673
commit bc4f7752b3
2 changed files with 4 additions and 1 deletions

View File

@ -155,6 +155,7 @@ public class HouseServiceImpl extends AbstractService implements IHouseService {
populationdao.deleteByHouseId(houseId);
for (PopulationVO populationVO : populationVOList) {
if(!"1".equals(populationVO.getOutHouse())) {
populationVO.setHouseId(houseId);
populationService.save(token, populationVO);
}
}

View File

@ -419,7 +419,9 @@
</div>
<div class="layui-col-md2 layui-col-xs2" style="text-align: center;">
<div class="layui-form-item" style="height: 33px;padding-top: 3px;" pane="">
<button type="button" class="layui-btn layui-btn-sm out-population" data-population="{{item.populationInfoId}}">搬离房屋</button>
{{# if(item.populationId != '') { }}
<button type="button" class="layui-btn layui-btn-sm out-population" data-population="{{item.populationInfoId}}">搬离房屋</button>
{{# } }}
<button type="button" class="layui-btn layui-btn-sm layui-btn-danger delete-population" data-population="{{item.populationInfoId}}">录错删除</button>
</div>
</div>