44323
2023-11-14 ddbb38c54db9c3670e5ff53f4bf713525de1099d
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
package com.dsh.course.feignClient.activity;
 
import com.dsh.course.feignClient.activity.model.*;
import com.dsh.guns.modular.system.model.TQueryBenefitsVO;
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.ResponseBody;
 
import java.util.List;
 
/**
 * 体测预约
 */
@FeignClient("mb-cloud-activity")
public interface BodySideAppointmentClient {
 
    /**
     * 获取所有体测预约记录
     * @return
     */
    @RequestMapping("/base/bodySideAppointments/listAll")
    List<QueryBodySideAppointmentVO> listAll(@RequestBody QueryBodySideAppointment vo);
    /**
     * 增加/修改体测预约记录
     * @return
     */
    @RequestMapping("/base/bodySideAppointments/addBodySideAppointments")
    Object addBodySideAppointments(@RequestBody QueryBodySideAppointmentVO vo);
 
    /**
     * 手动标记用户已经到店并完成体测
     * @return
     */
    @RequestMapping("/base/bodySideAppointments/changeState")
    Object changeState(@RequestBody List<Integer> ids);
 
    /**
     * 通过id获取体测预约记录
     * @return
     */
    @RequestMapping("/base/bodySideAppointments/getInfoById")
    BodySideAppointment getInfoById(@RequestBody Integer id);
}