|  | @@ -1,8 +1,8 @@
 | 
	
		
			
				|  |  |  package com.ym.mec.student.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.service.*;
 | 
	
		
			
				|  |  | -import com.ym.mec.common.entity.HttpResponseResult;
 | 
	
		
			
				|  |  | -import io.swagger.annotations.*;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.ApiParam;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import java.util.Date;
 | 
	
		
			
				|  |  |  import java.util.Map;
 | 
	
	
		
			
				|  | @@ -22,9 +22,24 @@ import org.springframework.web.multipart.MultipartFile;
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.client.SysUserFeignService;
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.dto.CashAccountDetail;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.entity.MemberRankSetting;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.entity.Student;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.SysSuggestion;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.SysUserBankCard;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.ClassGroupService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.ImGroupNoticeService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.MemberRankSettingService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.OrganizationService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.StudentManageService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.StudentService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.SubjectService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.SysSuggestionService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.SysUserBankCardService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.SysUserCashAccountDetailService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.SysUserCashAccountService;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.service.UploadFileService;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  | +import com.ym.mec.common.entity.HttpResponseResult;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.entity.UploadReturnBean;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.filters.TenantIdThreadLocal;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.page.QueryInfo;
 | 
	
	
		
			
				|  | @@ -56,6 +71,9 @@ public class StudentManageController extends BaseController {
 | 
	
		
			
				|  |  |      private OrganizationService organizationService;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private StudentService studentService;
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private MemberRankSettingService memberRankSettingService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      private final static Logger LOGGER = LoggerFactory.getLogger(StudentManageController.class);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -94,13 +112,21 @@ public class StudentManageController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation(value = "获取学员基本信息")
 | 
	
		
			
				|  |  |      @GetMapping("student/queryUserInfo")
 | 
	
		
			
				|  |  | -    public Object queryUserInfo() {
 | 
	
		
			
				|  |  | -        SysUser user = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  | -        if (user == null) {
 | 
	
		
			
				|  |  | -            return failed(HttpStatus.FORBIDDEN, "请登录");
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        return succeed(studentService.get(user.getId()));
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | +	public Object queryUserInfo() {
 | 
	
		
			
				|  |  | +		SysUser user = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  | +		if (user == null) {
 | 
	
		
			
				|  |  | +			return failed(HttpStatus.FORBIDDEN, "请登录");
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		Student student = studentService.get(user.getId());
 | 
	
		
			
				|  |  | +		if (student != null) {
 | 
	
		
			
				|  |  | +			// 获取会员等级图标
 | 
	
		
			
				|  |  | +			MemberRankSetting memberRankSetting = memberRankSettingService.get(student.getMemberRankSettingId());
 | 
	
		
			
				|  |  | +			if (memberRankSetting != null) {
 | 
	
		
			
				|  |  | +				student.setMemberRankImg(memberRankSetting.getIcon());
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +		return succeed(student);
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation(value = "根据群编号,获取群组所有成员基本信息")
 | 
	
		
			
				|  |  |      @GetMapping("classGroup/findGroupUsers")
 |