Commit dc25f31d authored by suhuiguang's avatar suhuiguang

1.删除被调整代码

parent bb45103a
...@@ -766,9 +766,6 @@ LEFT JOIN ( ...@@ -766,9 +766,6 @@ LEFT JOIN (
AND ( usr.biz_org_type = 'COMPANY' OR usr.biz_org_type = 'DEPARTMENT') AND ( usr.biz_org_type = 'COMPANY' OR usr.biz_org_type = 'DEPARTMENT')
</otherwise> </otherwise>
</choose> </choose>
<if test="bizOrgCode!='' and bizOrgCode!=null">
AND usr.biz_org_code like CONCAT('%',#{bizOrgCode},'%')
</if>
and usr.is_delete = false and usr.is_delete = false
</where> </where>
</select> </select>
......
...@@ -63,13 +63,7 @@ public class AreaController extends AbstractBaseController { ...@@ -63,13 +63,7 @@ public class AreaController extends AbstractBaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "GET", value = "根据登陆人获取公司树", notes = "根据登陆人获取公司树") @ApiOperation(httpMethod = "GET", value = "根据登陆人获取公司树", notes = "根据登陆人获取公司树")
@GetMapping(value = "/companyTreeByUserAndType") @GetMapping(value = "/companyTreeByUserAndType")
public List<OrgMenuDto> companyTreeByUserAndType(@RequestParam(required = false) String type, public List<OrgMenuDto> companyTreeByUserAndType(){
@RequestParam(required = false) String bizOrgCode){
// 获取登陆人角色
ReginParams reginParams = getSelectedOrgInfo();
if (StringUtil.isNotEmpty(bizOrgCode)) {
reginParams.getPersonIdentity().setBizOrgCode(bizOrgCode);
}
return iAreaService.companyDeptTree(); return iAreaService.companyDeptTree();
} }
......
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