maven
17 小时以前 ce80b4856af879484f039c3176843e29978b436f
src/main/java/com/ruoyi/staff/controller/StaffOnJobController.java
@@ -8,12 +8,15 @@
import com.ruoyi.staff.pojo.StaffOnJob;
import com.ruoyi.staff.service.IStaffJoinLeaveRecordService;
import com.ruoyi.staff.service.IStaffOnJobService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.List;
/**
@@ -21,6 +24,7 @@
 */
@RestController
@RequestMapping("/staff/staffOnJob")
@Api(tags = "员工台账/合同管理")
public class StaffOnJobController {
    @Resource
@@ -85,7 +89,8 @@
     * @param staffOnJob
     */
    @PostMapping("/exportCopy")
    public String exportCopy(HttpServletResponse response,StaffOnJob staffOnJob) throws Exception{
    @ApiOperation("word模板合同在职员工导出")
    public String exportCopy(HttpServletResponse response, StaffOnJob staffOnJob) throws Exception{
       return staffOnJobService.exportCopy(response, staffOnJob);
    }