Commit 58ebb78c by Suvalue

添加“是否为新机构”字段

parent a7fe6583
...@@ -79,7 +79,7 @@ public class OrgReq { ...@@ -79,7 +79,7 @@ public class OrgReq {
@ApiModelProperty(value = "是否为新机构", required = true) @ApiModelProperty(value = "是否为新机构", required = true)
@NotNull(message = "是否为新机构 参数必传") @NotNull(message = "是否为新机构 参数必传")
private Long isNEw; private Long isNew;
public String getOrgCode() { public String getOrgCode() {
return orgCode; return orgCode;
...@@ -145,12 +145,12 @@ public class OrgReq { ...@@ -145,12 +145,12 @@ public class OrgReq {
this.parentId = parentId; this.parentId = parentId;
} }
public Long getIsNEw() { public Long getIsNew() {
return isNEw; return isNew;
} }
public void setIsNEw(Long isNEw) { public void setIsNew(Long isNew) {
this.isNEw = isNEw; this.isNew = isNew;
} }
@Override @Override
...@@ -164,7 +164,7 @@ public class OrgReq { ...@@ -164,7 +164,7 @@ public class OrgReq {
", orgType='" + orgType + '\'' + ", orgType='" + orgType + '\'' +
", orgAddress='" + orgAddress + '\'' + ", orgAddress='" + orgAddress + '\'' +
", parentId=" + parentId + ", parentId=" + parentId +
", isNEw=" + isNEw + ", isNEw=" + isNew +
'}'; '}';
} }
} }
...@@ -225,7 +225,7 @@ public class OrgReq { ...@@ -225,7 +225,7 @@ public class OrgReq {
@ApiModelProperty(value = "是否为新机构", required = true) @ApiModelProperty(value = "是否为新机构", required = true)
@NotNull(message = "是否为新机构 参数必传") @NotNull(message = "是否为新机构 参数必传")
private Long isNEw; private Long isNew;
public Long getOrgId() { public Long getOrgId() {
...@@ -300,12 +300,12 @@ public class OrgReq { ...@@ -300,12 +300,12 @@ public class OrgReq {
this.parentId = parentId; this.parentId = parentId;
} }
public Long getIsNEw() { public Long getIsNew() {
return isNEw; return isNew;
} }
public void setIsNEw(Long isNEw) { public void setIsNew(Long isNew) {
this.isNEw = isNEw; this.isNew = isNew;
} }
@Override @Override
...@@ -320,7 +320,7 @@ public class OrgReq { ...@@ -320,7 +320,7 @@ public class OrgReq {
", orgType='" + orgType + '\'' + ", orgType='" + orgType + '\'' +
", orgAddress='" + orgAddress + '\'' + ", orgAddress='" + orgAddress + '\'' +
", parentId=" + parentId + ", parentId=" + parentId +
", isNEw=" + isNEw + ", isNew=" + isNew +
'}'; '}';
} }
} }
......
...@@ -72,7 +72,7 @@ public class DicOrgServiceImpl implements DicOrgService { ...@@ -72,7 +72,7 @@ public class DicOrgServiceImpl implements DicOrgService {
dicOrg.setOrgType(org.getOrgType()); dicOrg.setOrgType(org.getOrgType());
dicOrg.setOrgAddress(org.getOrgAddress()); dicOrg.setOrgAddress(org.getOrgAddress());
dicOrg.setParentId(org.getParentId()); dicOrg.setParentId(org.getParentId());
dicOrg.setIsNew(org.getIsNEw()); dicOrg.setIsNew(org.getIsNew());
dicOrgMapper.insert(dicOrg); dicOrgMapper.insert(dicOrg);
return true; return true;
} }
...@@ -102,7 +102,7 @@ public class DicOrgServiceImpl implements DicOrgService { ...@@ -102,7 +102,7 @@ public class DicOrgServiceImpl implements DicOrgService {
dicOrg.setOrgType(org.getOrgType()); dicOrg.setOrgType(org.getOrgType());
dicOrg.setOrgAddress(org.getOrgAddress()); dicOrg.setOrgAddress(org.getOrgAddress());
dicOrg.setParentId(org.getParentId()); dicOrg.setParentId(org.getParentId());
dicOrg.setIsNew(org.getIsNEw()); dicOrg.setIsNew(org.getIsNew());
dicOrgMapper.updateByPrimaryKey(dicOrg); dicOrgMapper.updateByPrimaryKey(dicOrg);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment