|
|
@ -239,7 +239,7 @@ public class PopulationInformationServiceImpl extends BaseServiceImpl<Population |
|
|
|
public PopulationInformationDTO getHouseHeadInfo(String houseId) { |
|
|
|
PopulationInformationDTO houseHeadInfo = baseDao.getHouseHeadInfo(houseId); |
|
|
|
//处理机动车类型
|
|
|
|
if(StringUtils.isNotBlank(houseHeadInfo.getMotorVehicleCategory())){ |
|
|
|
if(houseHeadInfo!=null && StringUtils.isNotBlank(houseHeadInfo.getMotorVehicleCategory())){ |
|
|
|
String[] motorVehicleCategoryStrings = houseHeadInfo.getMotorVehicleCategory().split(","); |
|
|
|
houseHeadInfo.setMotorVehicleCategoryList(Arrays.asList(motorVehicleCategoryStrings)); |
|
|
|
} |
|
|
|