| | |
| | | queryWrapper.leftJoin(SystemUser.class,SystemUser::getId,Company::getEditor); |
| | | queryWrapper.eq(Company::getIsdeleted,Constants.ZERO); |
| | | queryWrapper.eq(type!=null,Company::getType,type); |
| | | queryWrapper.orderByAsc(Company::getSortnum ); |
| | | queryWrapper.orderByAsc(true,"t.sortnum"); |
| | | List<Company> companyList = companyJoinMapper.selectJoinList(Company.class,queryWrapper); |
| | | //配置组员人员类型来源方式 0自建 1ERP |
| | | CompanyTree treeBuild = new CompanyTree(companyList, dataSyncConfig.getOrgUserDataOrigin()); |
| | |
| | | if (currentMenuIndex - 1 < 0) { |
| | | return; |
| | | } |
| | | Company preMenu = companyPool.remove(currentMenuIndex - 1); |
| | | Company preMenu = companyPool.get(currentMenuIndex - 1); |
| | | companyPool.remove(currentMenuIndex - 1); |
| | | companyPool.add(currentMenuIndex, preMenu); |
| | | } |
| | | // 下移 |