This commit is contained in:
2025-08-26 21:29:55 +08:00
parent 1a35b30c7e
commit 7119dc76a9
2 changed files with 13 additions and 11 deletions

View File

@@ -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)) {

View File

@@ -29,6 +29,8 @@ public class LawNotaryConfig implements Serializable {
private String title;
private String type;
@ApiModelProperty(value = "配置")
private String configList;