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 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 getClintIds(@RequestParam("schoolId") String schoolId); }