Commit 16352e4d authored by 李腾威's avatar 李腾威

bug 2880

parent 7ba47729
......@@ -41,6 +41,9 @@
<if test="bizOrgCode != null and bizOrgCode != '-1'">
AND u.biz_org_code like concat(#{bizOrgCode}, '%')
</if>
<if test="parentId != null and parentId != '-1'">
AND u.parent_id like concat(#{map.parentId}, '%')
</if>
GROUP BY
u.sequence_nbr ,
u.biz_org_name ,
......@@ -82,6 +85,9 @@
<if test="map.bizOrgCode != null and map.bizOrgCode != '-1'">
AND u.biz_org_code like concat(#{map.bizOrgCode}, '%')
</if>
<if test="map.parentId != null and map.parentId != '-1'">
AND u.parent_id like concat(#{map.parentId}, '%')
</if>
GROUP BY
u.sequence_nbr ,
u.biz_org_name ,
......
......@@ -363,8 +363,9 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
}
/*BUG2680 查询部门人员错误 传递参数类型不正确 修改为string 2021-09-14 陈召 开始*/
if (req.get("parentId") != null && req.get("parentId") != ""){
OrgUsr parent = this.getById(req.get("parentId").toString());
map.put("bizOrgCode", ObjectUtils.isEmpty(parent) ? null : parent.getBizOrgCode());
// OrgUsr parent = this.getById(req.get("parentId").toString());
map.put("parentId", req.get("parentId"));
// map.put("bizOrgCode", ObjectUtils.isEmpty(parent) ? null : parent.getBizOrgCode());
}
/*BUG2680 查询部门人员错误 传递参数类型不正确 修改为string 2021-09-14 陈召 开始*/
......
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