| | |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.controller.BaseController; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.framework.web.domain.R; |
| | | import com.ruoyi.framework.web.page.TableDataInfo; |
| | | import com.ruoyi.purchase.dto.PurchaseLedgerDto; |
| | | import com.ruoyi.purchase.mapper.PurchaseLedgerTemplateMapper; |
| | |
| | | return toAjax(purchaseLedgerService.addOrEditPurchase(purchaseLedgerDto)); |
| | | } |
| | | |
| | | @Operation(summary = "批量推进采购台账到入库") |
| | | @Log(title = "批量推进采购台账到入库", businessType = BusinessType.OTHER) |
| | | @PostMapping("/batchInsertPurchaseSteps") |
| | | public R batchInsertPurchaseSteps(@RequestBody PurchaseLedgerDto purchaseLedgerDto) { |
| | | return purchaseLedgerService.batchInsertPurchaseSteps(purchaseLedgerDto == null ? null : purchaseLedgerDto.getIds()); |
| | | } |
| | | |
| | | /** |
| | | * 查询采购模板 |
| | | */ |