Merge branch 'test' into test-dsc
* test: 新增根据流程实例ID获取抄送记录的接口,用于待办详情中展示 [+]增加部门推动消息功能 新增忽略公司以及部门数据权限的注解
This commit is contained in:
@@ -8,6 +8,7 @@ import com.zt.plat.framework.common.util.json.JsonUtils;
|
||||
import com.zt.plat.framework.common.util.spring.SpringUtils;
|
||||
import com.zt.plat.framework.security.core.LoginUser;
|
||||
import com.zt.plat.framework.tenant.core.context.CompanyContextHolder;
|
||||
import com.zt.plat.framework.tenant.core.context.DeptContextHolder;
|
||||
import com.zt.plat.framework.web.core.util.WebFrameworkUtils;
|
||||
import com.zt.plat.module.system.api.dept.DeptApi;
|
||||
import com.zt.plat.module.system.api.dept.dto.CompanyDeptInfoRespDTO;
|
||||
@@ -197,6 +198,9 @@ public class BusinessDeptHandleUtil {
|
||||
}
|
||||
CompanyContextHolder.setIgnore(false);
|
||||
CompanyContextHolder.setCompanyId(Long.valueOf(info.getCompanyId()));
|
||||
DeptContextHolder.setIgnore(false);
|
||||
DeptContextHolder.setCompanyId(Long.valueOf(info.getCompanyId()));
|
||||
DeptContextHolder.setDeptId(Long.valueOf(info.getDeptId()));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user