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