Commit d879441c by zhengxj

finish 数据权限限制 on 20190319 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18664 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 09be6f47
......@@ -152,7 +152,7 @@ public class SysOrganizationServiceImpl implements ISysOrganizationService{
Criteria criteria =example.createCriteria();
List<Integer> ids=new ArrayList<>();
if (Constants.USER_TYPE_MANAGER != sysUser.getUserType()) {
if (Constants.USER_TYPE_MANAGER != sysUser.getId()) {
ids = orgDao.selectOrgByUserId(sysUser.getId());
if (ids.size() == 0) {
logger.info("当前用户未指定组织,userId:"+sysUser.getId());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!