地区父级 岗位父级
This commit is contained in:
parent
72abb76aee
commit
05bf113bfb
|
|
@ -55,6 +55,12 @@ public class ListPerform implements Serializable {
|
||||||
@ApiModelProperty("可查看履职的职务id")
|
@ApiModelProperty("可查看履职的职务id")
|
||||||
private String viewJurisdiction;
|
private String viewJurisdiction;
|
||||||
|
|
||||||
|
@ApiModelProperty("父级地址")
|
||||||
|
private String parentPath;
|
||||||
|
|
||||||
|
@ApiModelProperty("父级名称")
|
||||||
|
private String parentName;
|
||||||
|
|
||||||
@ApiModelProperty("创建时间")
|
@ApiModelProperty("创建时间")
|
||||||
private Date createdon;
|
private Date createdon;
|
||||||
|
|
||||||
|
|
@ -80,6 +86,22 @@ public class ListPerform implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
public String getParentPath() {
|
||||||
|
return parentPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setParentPath(String parentPath) {
|
||||||
|
this.parentPath = parentPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getParentName() {
|
||||||
|
return parentName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setParentName(String parentName) {
|
||||||
|
this.parentName = parentName;
|
||||||
|
}
|
||||||
|
|
||||||
public String getSuperName() {
|
public String getSuperName() {
|
||||||
return superName;
|
return superName;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,9 @@
|
||||||
<result column="communityName" jdbcType="VARCHAR" property="communityName" />
|
<result column="communityName" jdbcType="VARCHAR" property="communityName" />
|
||||||
<result column="qr_code" jdbcType="VARCHAR" property="qrCode"/>
|
<result column="qr_code" jdbcType="VARCHAR" property="qrCode"/>
|
||||||
<result column="street_code" jdbcType="VARCHAR" property="streetCode"/>
|
<result column="street_code" jdbcType="VARCHAR" property="streetCode"/>
|
||||||
|
<result column="area_name" jdbcType="VARCHAR" property="areaName"/>
|
||||||
|
<result column="area_code" jdbcType="VARCHAR" property="areaCode"/>
|
||||||
|
<result column="area_path" jdbcType="VARCHAR" property="areaPath"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
|
|
@ -788,11 +791,8 @@
|
||||||
|
|
||||||
|
|
||||||
<select id="selectPCList" resultMap="BaseResultMap">
|
<select id="selectPCList" resultMap="BaseResultMap">
|
||||||
select sys.*,org.OrgName,st.OrgName streetName,cm.OrgName communityName
|
select sys.*
|
||||||
from SysEnterprise sys
|
from SysEnterprise sys
|
||||||
left join SysOrg org on sys.OrgCode = org.OrgCode
|
|
||||||
left join SysOrg st on sys.street_code = st.OrgCode
|
|
||||||
left join SysOrg cm on sys.community_code = cm.OrgCode
|
|
||||||
where 1=1
|
where 1=1
|
||||||
<if test="2 == isAdmin">
|
<if test="2 == isAdmin">
|
||||||
AND sys.State='启用'
|
AND sys.State='启用'
|
||||||
|
|
|
||||||
|
|
@ -93,14 +93,7 @@ public class PcCompanyController extends com.rzyc.controller.BaseController {
|
||||||
getDatePage(pager,object);
|
getDatePage(pager,object);
|
||||||
if (object != null){
|
if (object != null){
|
||||||
for(SysEnterprise enterprise : pager.getRows()){
|
for(SysEnterprise enterprise : pager.getRows()){
|
||||||
String orgName = enterprise.getOrgName();
|
enterprise.setOrgName(enterprise.getAreaName());
|
||||||
if(StringUtils.isNotBlank(enterprise.getStreetName())){
|
|
||||||
orgName = orgName + "-" + enterprise.getStreetName();
|
|
||||||
}
|
|
||||||
if(StringUtils.isNotBlank(enterprise.getCommunityName())){
|
|
||||||
orgName = orgName + "-" + enterprise.getCommunityName();
|
|
||||||
}
|
|
||||||
enterprise.setOrgName(orgName);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
singleResult.setMessage(Message.SUCCESS);
|
singleResult.setMessage(Message.SUCCESS);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user