liusheng
2024-07-22 9e99e7e192c62c2274f8f5362b354cbf55c3d80f
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailController.java
@@ -7,6 +7,7 @@
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.exception.base.BaseException;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.project.domain.FunddetailReqVo;
import com.ruoyi.project.domain.ServiceFunddetail;
@@ -41,7 +42,7 @@
     * 查询费用申请明细列表
     */
    @ApiOperation("查询费用申请明细列表")
    //@PreAuthorize("@ss.hasPermi('project:funddetail:list')")
    //// @PreAuthorize("@ss.hasPermi('project:funddetail:list')")
    @GetMapping("/list")
    public TableDataInfo list(ServiceFunddetail serviceFunddetail) {
        startPage();
@@ -54,7 +55,7 @@
     * 导出费用申请明细列表
     */
    @ApiOperation("导出费用申请明细列表")
    //@PreAuthorize("@ss.hasPermi('project:funddetail:export')")
    //// @PreAuthorize("@ss.hasPermi('project:funddetail:export')")
    @Log(title = "费用申请明细", businessType = BusinessType.EXPORT)
    @GetMapping("/export")
    public AjaxResult export(ServiceFunddetail serviceFunddetail) {
@@ -67,7 +68,7 @@
     * 获取费用申请明细详细信息
     */
    @ApiOperation("获取费用申请明细详细信息")
    //@PreAuthorize("@ss.hasPermi('project:funddetail:query')")
    //// @PreAuthorize("@ss.hasPermi('project:funddetail:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return AjaxResult.success(serviceFunddetailService.getById(id));
@@ -77,7 +78,7 @@
     * 新增费用申请明细
     */
    @ApiOperation("新增费用申请明细")
    //@PreAuthorize("@ss.hasPermi('project:funddetail:add')")
    //// @PreAuthorize("@ss.hasPermi('project:funddetail:add')")
    @Log(title = "费用申请明细", businessType = BusinessType.INSERT)
    @PostMapping("/add")
    @NotRepeatCommit(key = "param:arg[1]", value = 30000)
@@ -90,7 +91,7 @@
     * 修改费用申请明细
     */
    @ApiOperation("修改费用申请明细")
    //@PreAuthorize("@ss.hasPermi('project:funddetail:edit')")
    //// @PreAuthorize("@ss.hasPermi('project:funddetail:edit')")
    @Log(title = "费用申请明细", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    @NotRepeatCommit(key = "param:arg[1]", value = 30000)
@@ -103,7 +104,7 @@
     * 删除费用申请明细
     */
    @ApiOperation("删除费用申请明细")
    //@PreAuthorize("@ss.hasPermi('project:funddetail:remove')")
    //// @PreAuthorize("@ss.hasPermi('project:funddetail:remove')")
    @Log(title = "费用申请明细", businessType = BusinessType.DELETE)
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {