TotalCardControllerAPI.java 1022 B

1234567891011121314151617181920212223242526
  1. package com.template.api;
  2. import com.template.model.dto.TotalCardDto;
  3. import com.template.model.result.CommonResult;
  4. import io.swagger.annotations.ApiOperation;
  5. import org.springframework.web.bind.annotation.*;
  6. @RequestMapping("/auto/total-card")
  7. public interface TotalCardControllerAPI {
  8. @PostMapping("/saveEmployeeTotalCard")
  9. @ApiOperation(value = "添加员工总卡", notes = "添加员工总卡", httpMethod = "PSOT")
  10. CommonResult saveTotalCard(@RequestBody TotalCardDto totalCardDto);
  11. @GetMapping("/deleteEmployeeTotalCard")
  12. @ApiOperation(value = "删除员工总卡", notes = "删除员工总卡", httpMethod = "GET")
  13. CommonResult deleteTotalCard(@RequestParam Integer id);
  14. @GetMapping("/listEmployeeTotalCard")
  15. @ApiOperation(value = "员工总卡展示", notes = "员工总卡展示", httpMethod = "GET")
  16. CommonResult listEmployeeTotalCard(@RequestParam Integer page,@RequestParam Integer size,String employeeName,Integer buildingId,String startTime,String endTime);
  17. }