| | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.cwgl.domain.InvoiceBillDetail; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | @PreAuthorize("@ss.hasPermi('cwgl:invoiceManage:apply')") |
| | | @Log(title = "发票管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/apply/{id}") |
| | | public AjaxResult applyInvoice(@PathVariable("id") Integer id) |
| | | public AjaxResult applyInvoice(@PathVariable("id") Integer id, @RequestBody List<InvoiceBillDetail> invoiceBillDetails) |
| | | { |
| | | |
| | | |
| | | return invoiceManageService.applyInvoice(id); |
| | | return invoiceManageService.applyInvoice(id,invoiceBillDetails); |
| | | |
| | | |
| | | |