|
@ -14,6 +14,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
import com.google.common.base.Joiner; |
|
|
import com.google.common.base.Joiner; |
|
|
|
|
|
import com.google.common.collect.Lists; |
|
|
import org.apache.commons.lang.RandomStringUtils; |
|
|
import org.apache.commons.lang.RandomStringUtils; |
|
|
import org.springframework.beans.BeanUtils; |
|
|
import org.springframework.beans.BeanUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
@ -157,7 +158,8 @@ public class AdminService { |
|
|
} |
|
|
} |
|
|
LambdaQueryWrapper<MatrixApp> query = Wrappers.lambdaQuery(); |
|
|
LambdaQueryWrapper<MatrixApp> query = Wrappers.lambdaQuery(); |
|
|
query.in(MatrixApp::getId, appIds); |
|
|
query.in(MatrixApp::getId, appIds); |
|
|
return appMapper.selectList(query); |
|
|
List<MatrixApp> list = appMapper.selectList(query); |
|
|
|
|
|
return Lists.reverse(list); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void grantApp(String appIds, int adminId, Integer currentAdminId) { |
|
|
public void grantApp(String appIds, int adminId, Integer currentAdminId) { |
|
|