|
@@ -97,9 +97,10 @@ public class TaChannelController extends BaseController {
|
97
|
97
|
Integer orgId = getOrgId(request);
|
98
|
98
|
|
99
|
99
|
try {
|
|
100
|
+ Institution institution = iInstitutionService.getById(institutionId);
|
100
|
101
|
//使用分页插件
|
101
|
102
|
IPage<TaChannel> pg = new Page<>(pageNum, pageSize);
|
102
|
|
- IPage<TaChannel> result = taChannelMapper.pageTaChannel(pg,orgId,channelId,getInstitutionIds(request),institutionId);
|
|
103
|
+ IPage<TaChannel> result = taChannelMapper.pageTaChannel(pg,orgId,channelId,getInstitutionIds(request),institution.getInstitutionCode());
|
103
|
104
|
List<TaChannel> recommendCount = taChannelMapper.recommendCount(orgId, channelId, getInstitutionIds(request));
|
104
|
105
|
|
105
|
106
|
result.getRecords().stream().forEach(e -> {
|