| | |
| | | package com.ruoyi.web.controller.api; |
| | | |
| | | |
| | | import com.ruoyi.common.basic.PageInfo; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.system.query.LeaveListQuery; |
| | | import com.ruoyi.system.query.ProjectDeptListQuery; |
| | | import com.ruoyi.system.service.TLeaveService; |
| | | import com.ruoyi.system.vo.system.LeaveListVO; |
| | | import com.ruoyi.system.vo.system.ProjectDeptListVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @author xiaochen |
| | | * @since 2025-05-28 |
| | | */ |
| | | @Api(tags = "请假审批记录") |
| | | |
| | | @RestController |
| | | @RequestMapping("/t-leave-audit") |
| | | public class TLeaveAuditController { |
| | | @Resource |
| | | private TLeaveService leaveService; |
| | | @ApiOperation(value = "请假记录分页列表") |
| | | @PostMapping(value = "/pageList") |
| | | public R<PageInfo<LeaveListVO>> pageList(@RequestBody LeaveListQuery query) { |
| | | return R.ok(leaveService.pageList(query)); |
| | | } |
| | | |
| | | } |
| | | |