250826
This commit is contained in:
@@ -92,17 +92,17 @@ public class LawOrgController extends BaseController {
|
||||
if (province != null) {
|
||||
lawOrg.setProvinceId(province.getId());
|
||||
}
|
||||
}
|
||||
if (lawOrg.getCity() != null) {
|
||||
Area city = areaService.getCityByName(lawOrg.getCity());
|
||||
if (city != null) {
|
||||
lawOrg.setCityId(city.getId());
|
||||
}
|
||||
}
|
||||
if (lawOrg.getRegion() != null) {
|
||||
Area region = areaService.getRegionByName(lawOrg.getRegion());
|
||||
if (region != null) {
|
||||
lawOrg.setAreaId(region.getId());
|
||||
if (lawOrg.getCity() != null) {
|
||||
Area city = areaService.getCityByName(lawOrg.getCity());
|
||||
if (city != null) {
|
||||
lawOrg.setCityId(city.getId());
|
||||
}
|
||||
if (lawOrg.getRegion() != null) {
|
||||
Area region = areaService.getRegionByName(lawOrg.getRegion());
|
||||
if (region != null) {
|
||||
lawOrg.setAreaId(region.getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (lawOrgService.updateById(lawOrg)) {
|
||||
|
||||
@@ -29,6 +29,8 @@ public class LawNotaryConfig implements Serializable {
|
||||
|
||||
private String title;
|
||||
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "配置")
|
||||
private String configList;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user