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