|  | @@ -2,8 +2,6 @@ package com.ym.mec.biz.service.impl;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 |  |  import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 |  |  import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 | 
											
												
													
														|  | -import com.ym.mec.auth.api.client.SysUserFeignService;
 |  | 
 | 
											
												
													
														|  | -import com.ym.mec.auth.api.entity.SysUser;
 |  | 
 | 
											
												
													
														|  |  import com.ym.mec.biz.dal.dao.TenantCloudCourseRecordDao;
 |  |  import com.ym.mec.biz.dal.dao.TenantCloudCourseRecordDao;
 | 
											
												
													
														|  |  import com.ym.mec.biz.dal.entity.TenantCloudCourseRecord;
 |  |  import com.ym.mec.biz.dal.entity.TenantCloudCourseRecord;
 | 
											
												
													
														|  |  import com.ym.mec.biz.dal.vo.TenantCloudCourseRecordVo;
 |  |  import com.ym.mec.biz.dal.vo.TenantCloudCourseRecordVo;
 | 
											
										
											
												
													
														|  | @@ -13,7 +11,6 @@ import com.ym.mec.common.page.PageUtil;
 | 
											
												
													
														|  |  import com.ym.mec.common.tenant.TenantContextHolder;
 |  |  import com.ym.mec.common.tenant.TenantContextHolder;
 | 
											
												
													
														|  |  import org.slf4j.Logger;
 |  |  import org.slf4j.Logger;
 | 
											
												
													
														|  |  import org.slf4j.LoggerFactory;
 |  |  import org.slf4j.LoggerFactory;
 | 
											
												
													
														|  | -import org.springframework.beans.factory.annotation.Autowired;
 |  | 
 | 
											
												
													
														|  |  import org.springframework.stereotype.Service;
 |  |  import org.springframework.stereotype.Service;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import java.util.List;
 |  |  import java.util.List;
 | 
											
										
											
												
													
														|  | @@ -28,17 +25,12 @@ import java.util.Map;
 | 
											
												
													
														|  |  @Service("tenantCloudCourseRecordService")
 |  |  @Service("tenantCloudCourseRecordService")
 | 
											
												
													
														|  |  public class TenantCloudCourseRecordServiceImpl extends ServiceImpl<TenantCloudCourseRecordDao, TenantCloudCourseRecord> implements TenantCloudCourseRecordService {
 |  |  public class TenantCloudCourseRecordServiceImpl extends ServiceImpl<TenantCloudCourseRecordDao, TenantCloudCourseRecord> implements TenantCloudCourseRecordService {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    @Autowired
 |  | 
 | 
											
												
													
														|  | -    private SysUserFeignService sysUserFeignService;
 |  | 
 | 
											
												
													
														|  | -    private final static Logger logger = LoggerFactory.getLogger(TenantCloudCourseRecordServiceImpl.class);
 |  | 
 | 
											
												
													
														|  | 
 |  | +    private final static Logger log = LoggerFactory.getLogger(TenantCloudCourseRecordServiceImpl.class);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @Override
 |  |      @Override
 | 
											
												
													
														|  |      public PageInfo<TenantCloudCourseRecordVo> queryPage(Map<String, Object> param) {
 |  |      public PageInfo<TenantCloudCourseRecordVo> queryPage(Map<String, Object> param) {
 | 
											
												
													
														|  | -        SysUser sysUser = sysUserFeignService.queryUserInfo();
 |  | 
 | 
											
												
													
														|  | -        param.put("tenantId", sysUser.getTenantId());
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |          Page<TenantCloudCourseRecordVo> pageInfo = PageUtil.getPageInfo(param);
 |  |          Page<TenantCloudCourseRecordVo> pageInfo = PageUtil.getPageInfo(param);
 | 
											
												
													
														|  | -        pageInfo.setAsc("a.created_time_");
 |  | 
 | 
											
												
													
														|  | 
 |  | +        pageInfo.setDesc("a.created_time_");
 | 
											
												
													
														|  |          param.put("tenantId", TenantContextHolder.getTenantId());
 |  |          param.put("tenantId", TenantContextHolder.getTenantId());
 | 
											
												
													
														|  |          return PageUtil.pageInfo(baseMapper.queryPage(pageInfo, param));
 |  |          return PageUtil.pageInfo(baseMapper.queryPage(pageInfo, param));
 | 
											
												
													
														|  |      }
 |  |      }
 |