创建房屋时,导入人口数据 --renpc

This commit is contained in:
Renpc-kilig 2023-11-16 15:08:56 +08:00
parent 89f0937e3e
commit 93c518e608

View File

@ -150,6 +150,7 @@ public class HouseServiceImpl extends AbstractService implements IHouseService {
if("1".equals(populationVO.getOutHouse())) {
populationService.update(populationVO.getPopulationId(), populationVO);
} else if(StringUtils.isEmpty(populationVO.getPopulationId())) {
populationVO.setHouseId(houseId);
populationService.save(token, populationVO);
}else {
populationdao.deleteById(populationVO.getPopulationId());