Commit 4f70b833 authored by suhuiguang's avatar suhuiguang

Merge branch 'develop_tzs_register' of…

Merge branch 'develop_tzs_register' of http://39.100.92.250:5000/moa/amos-boot-biz into develop_tzs_register
parents 24938828 5ed36c2a
......@@ -92,4 +92,24 @@ public class UserPermissionDto {
@JsonIgnore
private String cityCode;
/**
* 管辖机构名称
*/
private String superviseOrgName;
/**
* 管辖机构code
*/
private String superviseOrgCode;
/**
* 使用单位统一信用代码
*/
private String useCode;
/**
* 人员类型code
*/
private String postCode;
}
......@@ -304,7 +304,9 @@
u.sequence_nbr as uid,
u.sequence_nbr as "rowId",
concat(e.city, e.district) as fullAddress,
u.rec_date
u.rec_date,
e.supervise_org_name as superviseOrgName,
e.use_code as useCode
FROM
"tzs_user_info" u
left join tzs_user_permission p on u.sequence_nbr = p.user_seq
......@@ -320,6 +322,12 @@
u.new_post like concat('%',#{post}, '%')
</foreach>
</if>
<if test="filter.postCode != null and filter.postCode != ''">
and u.new_post like concat('%',#{filter.postCode}, '%')
</if>
<if test="filter.superviseOrgCode != null and filter.superviseOrgCode != ''">
and e.supervise_org_code like concat('%',#{filter.superviseOrgCode}, '%')
</if>
</where>) as a
<where>
<if test="filter.useUnit != null and filter.useUnit != ''">
......
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