ScFeign.java
1.84 KB
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.sincere.att.feign;
import com.sincere.common.dto.smartCampus.SZ_AttendanceDto;
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.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
/**
* @author chen
* @version 1.0
* @date 2019/12/31 0031 11:08
*/
@FeignClient("smartCampusSearch")
public interface ScFeign {
@RequestMapping(value = "attendance/insertAttendance", method = RequestMethod.POST)
void insertAttendance(@RequestBody SZ_AttendanceDto attendanceDto);
@RequestMapping(value = "attendance/updateAttendance", method = RequestMethod.GET)
void updateAttendance(@RequestParam("clientId") String clientId);
@RequestMapping(value = "attendance/selectAttendaceWithId", method = RequestMethod.GET)
SZ_AttendanceDto selectAttendaceWithId(@RequestParam("clint_id") String clint_id);
@RequestMapping(value = "attendance/selectRoomAttendance", method = RequestMethod.GET)
List<String> selectRoomAttendance(@RequestParam("placeId") int placeId);
@RequestMapping(value = "/sm/user/selectStudentNumByStudentId", method = RequestMethod.GET)
String selectStudentNumByStudentId(@RequestParam("studentId") int studentId);
@RequestMapping(value = "attendance/selectPlaceAttendance", method = RequestMethod.GET)
String selectPlaceAttendance(@RequestParam("deviceId") String deviceId);
@RequestMapping(value = "/sm/user/getSchoolIdWidthCardNum", method = RequestMethod.GET)
String getSchoolIdWidthCardNum(@RequestParam("num") String num);
@RequestMapping(value = "/sm/user/getClintIds", method = RequestMethod.GET)
List<String> getClintIds(@RequestParam("schoolId") String schoolId);
}