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)); 
 | 
    } 
 | 
  
 | 
  
 | 
} 
 |