Browse Source

区域修改

tags/24080901
WendyYang 1 year ago
parent
commit
1995195e4c
2 changed files with 2 additions and 6 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/sys/convert/RegionConverter.java
  2. +1
    -5
      pmapi/src/main/java/com/ningdatech/pmapi/sys/model/entity/Region.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/sys/convert/RegionConverter.java View File

@@ -26,7 +26,7 @@ public class RegionConverter {
public static RegionDTO toRegionDTO(Region region) {
RegionDTO dto = new RegionDTO();
dto.setRegionLevel(region.getRegionLevel());
dto.setRegionName(region.getName());
dto.setRegionName(region.getRegionName());
dto.setParentCode(region.getParentCode());
dto.setRegionCode(region.getRegionCode());
dto.setId(region.getId());


+ 1
- 5
pmapi/src/main/java/com/ningdatech/pmapi/sys/model/entity/Region.java View File

@@ -27,7 +27,7 @@ public class Region implements Serializable {

private String regionCode;

private String name;
private String regionName;

private Integer regionLevel;

@@ -37,10 +37,6 @@ public class Region implements Serializable {

private Long parentId;

private LocalDateTime createOn;

private LocalDateTime updateOn;

private String regionCodePath;

private Boolean deleted;


Loading…
Cancel
Save