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
package com.dsh.course.feignClient.account;
 
import com.dsh.course.dto.CreateHistoryDto;
import com.dsh.course.dto.GetHistoryDto;
import com.dsh.course.feignClient.account.model.QueryAppUser;
import com.dsh.course.feignClient.account.model.QueryAppUserVO;
 
import com.dsh.course.dto.StudentSearch;
import com.dsh.course.dto.TStudentDto;
import com.dsh.course.feignClient.account.model.QueryByNamePhone;
import com.dsh.course.feignClient.account.model.TAppUser;
import com.dsh.guns.modular.system.model.TStudent;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
 
@FeignClient("mb-cloud-account")
public interface AppUserClient {
 
 
    @PostMapping("/base/appUser/queryByNamePhone")
    List<TAppUser> queryByNamePhone(QueryByNamePhone queryByNamePhone);
 
    @PostMapping("/base/appUser/queryById")
    TAppUser queryById(Integer appUserId);
    @PostMapping("/student/webStudentList")
    List<TStudentDto> queryWebUser(@RequestBody StudentSearch search);
 
    /**
     * 获取用户信息列表数据
     */
    @RequestMapping("/base/appUser/listAll")
    List<QueryAppUserVO> listAll(@RequestBody QueryAppUser query);
    /**
     * 新增用户信息
     */
    @RequestMapping("/base/appUser/addAppUser")
    Object addAppUser(@RequestBody TAppUser query);
 
 
    @PostMapping("/student/webOneStudent")
    TStudentDto queryOneWebUser(@RequestParam("id") Integer id);
 
    @PostMapping("/student/update")
    void updateStudent(TStudent tStudent);
 
 
    @PostMapping("/student/createHistory")
    void createHistory(CreateHistoryDto historyDto);
 
 
    @PostMapping("/student/getHisory")
    List<GetHistoryDto> getHisory();
}