Commit 58ebb78c by Suvalue

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

parent a7fe6583
......@@ -79,7 +79,7 @@ public class OrgReq {
@ApiModelProperty(value = "是否为新机构", required = true)
@NotNull(message = "是否为新机构 参数必传")
private Long isNEw;
private Long isNew;
public String getOrgCode() {
return orgCode;
......@@ -145,12 +145,12 @@ public class OrgReq {
this.parentId = parentId;
}
public Long getIsNEw() {
return isNEw;
public Long getIsNew() {
return isNew;
}
public void setIsNEw(Long isNEw) {
this.isNEw = isNEw;
public void setIsNew(Long isNew) {
this.isNew = isNew;
}
@Override
......@@ -164,7 +164,7 @@ public class OrgReq {
", orgType='" + orgType + '\'' +
", orgAddress='" + orgAddress + '\'' +
", parentId=" + parentId +
", isNEw=" + isNEw +
", isNEw=" + isNew +
'}';
}
}
......@@ -225,7 +225,7 @@ public class OrgReq {
@ApiModelProperty(value = "是否为新机构", required = true)
@NotNull(message = "是否为新机构 参数必传")
private Long isNEw;
private Long isNew;
public Long getOrgId() {
......@@ -300,12 +300,12 @@ public class OrgReq {
this.parentId = parentId;
}
public Long getIsNEw() {
return isNEw;
public Long getIsNew() {
return isNew;
}
public void setIsNEw(Long isNEw) {
this.isNEw = isNEw;
public void setIsNew(Long isNew) {
this.isNew = isNew;
}
@Override
......@@ -320,7 +320,7 @@ public class OrgReq {
", orgType='" + orgType + '\'' +
", orgAddress='" + orgAddress + '\'' +
", parentId=" + parentId +
", isNEw=" + isNEw +
", isNew=" + isNew +
'}';
}
}
......
......@@ -72,7 +72,7 @@ public class DicOrgServiceImpl implements DicOrgService {
dicOrg.setOrgType(org.getOrgType());
dicOrg.setOrgAddress(org.getOrgAddress());
dicOrg.setParentId(org.getParentId());
dicOrg.setIsNew(org.getIsNEw());
dicOrg.setIsNew(org.getIsNew());
dicOrgMapper.insert(dicOrg);
return true;
}
......@@ -102,7 +102,7 @@ public class DicOrgServiceImpl implements DicOrgService {
dicOrg.setOrgType(org.getOrgType());
dicOrg.setOrgAddress(org.getOrgAddress());
dicOrg.setParentId(org.getParentId());
dicOrg.setIsNew(org.getIsNEw());
dicOrg.setIsNew(org.getIsNew());
dicOrgMapper.updateByPrimaryKey(dicOrg);
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