| | |
| | | * @Version TODO |
| | | **/ |
| | | @Data |
| | | public class OrganizationInsertForm implements Serializable { |
| | | public class OrganizationInsertForm { |
| | | |
| | | private Integer parentId; |
| | | |
| | |
| | | |
| | | private Integer provinceCode; |
| | | |
| | | private String provinceName; |
| | | |
| | | private Integer cityCode; |
| | | |
| | | private String cityName; |
| | | |
| | | private Integer areaCode; |
| | | |
| | | private Long townCode; |
| | | private String areaName; |
| | | |
| | | private Long villageCode; |
| | | private Integer locationLevelCode; |
| | | |
| | | private String locationLevel; |
| | | private String locationLevelName; |
| | | |
| | | private String address; |
| | | |
| | |
| | | if ( |
| | | ObjectUtils.isEmpty(name) || |
| | | ObjectUtils.isEmpty(provinceCode) || |
| | | ObjectUtils.isEmpty(cityCode) || |
| | | ObjectUtils.isEmpty(areaCode) || |
| | | ObjectUtils.isEmpty(locationLevel) || |
| | | ObjectUtils.isEmpty(provinceName) || |
| | | ObjectUtils.isEmpty(locationLevelCode) || |
| | | ObjectUtils.isEmpty(locationLevelName)|| |
| | | ObjectUtils.isEmpty(address) || |
| | | ObjectUtils.isEmpty(expireTime) |
| | | ) |
| | |
| | | organization.setParentId(parentId); |
| | | organization.setName(name); |
| | | organization.setProvinceCode(provinceCode); |
| | | organization.setProvinceName(provinceName); |
| | | organization.setCityCode(cityCode); |
| | | organization.setCityName(cityName); |
| | | organization.setAreaCode(areaCode); |
| | | organization.setTownCode(townCode); |
| | | organization.setVillageCode(villageCode); |
| | | organization.setLocationLevel(locationLevel); |
| | | organization.setAreaName(areaName); |
| | | organization.setLocationLevelCode(locationLevelCode); |
| | | organization.setLocationLevelName(locationLevelName); |
| | | organization.setAddress(address); |
| | | organization.setPhone(phone); |
| | | organization.setEmail(email); |