44323
2023-09-20 ef96dbc9278ebae4af204cca9de98c63f0d6328e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package com.dsh.course.feignClient.course;
 
import com.dsh.course.dto.ClassListDto;
import com.dsh.course.dto.updateTimeDto;
import com.dsh.course.model.dto.StudentClassInfo;
import com.dsh.guns.modular.system.model.dto.SelectDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.Date;
import java.util.List;
 
@FeignClient("mb-cloud-course")
public interface CourseStuddentClient {
 
 
    /**
     * 拿到学运信息
     * @param tStudentId
     * @return
     */
    @RequestMapping("/courdent/getInfo")
    StudentClassInfo getInfo(@RequestParam("tStudentId")Integer tStudentId);
 
 
    /**
     * 拿到学员课程列表
     * @param tStudentId
     * @return
     */
    @RequestMapping("/courdent/getClassList")
 
    List<ClassListDto> listClass(@RequestParam("tStudentId") Integer tStudentId);
 
    /**
     * 拿到学有效期
     * @param tStudentId
     * @return
     */
    @RequestMapping("/courdent/getUseTime")
    Date getUseTime(@RequestParam("tStudentId") Integer tStudentId);
 
 
    /**
     * 批量修改有效期
     * @param updateTimeDto
     * @return
     */
    @RequestMapping("/courdent/updateUseDate")
    void updateUseDate(@RequestBody updateTimeDto updateTimeDto);
 
 
    /**
     * 获取可以转移的学员
     * @param payId
     * @return
     */
    @RequestMapping("/courdent/getSelect")
    List<SelectDto> getSelect(@RequestParam("payId") Integer payId);
}