liusheng
2025-01-02 b6dd47b05107fc36d8ff4f7f29a4446521f95503
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.ruoyi.web.controller.project;
 
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.project.domain.SpStatCaseReq;
import com.ruoyi.project.domain.SpStatExpenseReq;
import com.ruoyi.project.service.SpstatCaseService;
import com.ruoyi.project.service.SpstatExpenseService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
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;
 
/**
 * 报销统计
 *
 * @author ruoyi
 * @date 2022-01-24
 */
@Slf4j
@Api("报销统计")
@RestController
@RequestMapping("/project/spstatexpense")
public class SpStatExpenseController extends BaseController {
 
    @Autowired
    SpstatExpenseService spstatExpenseService;
 
    /**
     * 查询案例统计
     */
    @ApiOperation("查询报销统计")
    @PostMapping("/spStatExpenselist")
    public TableDataInfo spStatExpenselist(@RequestBody SpStatExpenseReq spStatExpenseReq) {
        startPage();
        return getDataTable(spstatExpenseService.getListBySpstatExpense(spStatExpenseReq));
    }
 
 
}