sen
2025-08-15 cf344c633ef8d85faba0c37e86d4373ed586f9e1
service/src/main/java/com/ruoyi/cwgl/controller/PendingSettlementBusinessController.java
@@ -1,6 +1,8 @@
package com.ruoyi.cwgl.controller;
import java.util.List;
import com.ruoyi.cwgl.domain.vo.CreateBillVo;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
@@ -105,4 +107,37 @@
    {
        return toAjax(pendingSettlementBusinessService.deletePendingSettlementBusinessByIds(ids));
    }
    /**
     * 查询入账业务
     */
   @GetMapping("bill/{ids}")
    public AjaxResult billIds(@PathVariable Integer[] ids)
    {
        return AjaxResult.success(pendingSettlementBusinessService.billIds(ids));
    }
    /**
     * 查询入账业务
     */
   @GetMapping("bill/list")
    public AjaxResult billList(PendingSettlementBusiness pendingSettlementBusiness)
    {
        return AjaxResult.success(pendingSettlementBusinessService.billList(pendingSettlementBusiness));
    }
    @PostMapping("create/bill/{ids}")
    public AjaxResult createBillIds(@PathVariable Integer[] ids, @RequestBody CreateBillVo createBillVo)
    {
        return toAjax(pendingSettlementBusinessService.createBillIds(ids,createBillVo));
    }
    @GetMapping("create/bill/list")
    public AjaxResult createBillList(PendingSettlementBusiness pendingSettlementBusiness)
    {
        return toAjax(pendingSettlementBusinessService.createBillList(pendingSettlementBusiness));
    }
    @GetMapping("select/customName")
    public AjaxResult selectCustomName()
    {
        return AjaxResult.success(pendingSettlementBusinessService.selectCustomName());
    }
}