Commit 3433625e authored by suhuiguang's avatar suhuiguang

1.公共接口bug bizOrgCode有拦截器实现不需要写道sql

parent 35b767fb
...@@ -985,9 +985,6 @@ LEFT JOIN ( ...@@ -985,9 +985,6 @@ LEFT JOIN (
#{bizOrgType} #{bizOrgType}
</foreach> </foreach>
</if> </if>
<if test="bizOrgCode != null and bizOrgCode != ''">
and usr.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
</if>
order by usr.rec_date order by usr.rec_date
</select> </select>
......
...@@ -798,7 +798,7 @@ public class OrgUsrController extends BaseController { ...@@ -798,7 +798,7 @@ public class OrgUsrController extends BaseController {
orgUsrs.forEach(e->objects.add(e.getSequenceNbr().toString())); orgUsrs.forEach(e->objects.add(e.getSequenceNbr().toString()));
} }
list.stream().forEach(e->objects.add(e.getCode())); list.forEach(e->objects.add(e.getCode()));
//判断当前登录人权限是否处于特殊类型 //判断当前登录人权限是否处于特殊类型
if (objects.contains(authKey) || AUTH_SPECIAL_KEY.equals(authKey)){ if (objects.contains(authKey) || AUTH_SPECIAL_KEY.equals(authKey)){
//判断当前登录人部门是否处于特殊部门 //判断当前登录人部门是否处于特殊部门
......
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