| | |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.project.domain.FunddetailReqVo; |
| | | import com.ruoyi.project.domain.ServiceFunddetail; |
| | | import com.ruoyi.project.domain.SpStatBonusReq; |
| | | import com.ruoyi.project.domain.vo.TaxMoneyVO; |
| | | import com.ruoyi.project.service.IServiceFunddetailService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | @ApiOperation("新增费用申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:funddetail:add')") |
| | | @Log(title = "费用申请明细", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @NotRepeatCommit(key = "param:arg[1]", value = 30000) |
| | | public AjaxResult add(@RequestBody ServiceFunddetail serviceFunddetail) { |
| | | return toAjax(serviceFunddetailService.save(serviceFunddetail)); |
| | | boolean save = serviceFunddetailService.save(serviceFunddetail); |
| | | return AjaxResult.success(serviceFunddetail); |
| | | } |
| | | |
| | | /** |
| | |
| | | // return AjaxResult.success(serviceFunddetailService.performance(serviceFunddetail)); |
| | | // } |
| | | |
| | | /** |
| | | * 查询绩效奖金统计 |
| | | */ |
| | | @ApiOperation("查询绩效奖金统计") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | @PostMapping("/getListBySpStatBonus") |
| | | public TableDataInfo getListBySpStatBonus(@RequestBody SpStatBonusReq spStatBonusReq) { |
| | | startPage(); |
| | | return getDataTable(serviceFunddetailService.getListBySpStatBonus(spStatBonusReq)); |
| | | } |
| | | } |