| | |
| | | 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; |
| | |
| | | { |
| | | 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)); |
| | | } |
| | | |
| | | @GetMapping("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()); |
| | | } |
| | | |
| | | } |