| | |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.framework.web.page.TableDataInfo; |
| | | import com.ruoyi.purchase.dto.PurchaseLedgerDto; |
| | | import com.ruoyi.purchase.dto.PurchaseStockInDto; |
| | | import com.ruoyi.purchase.mapper.PurchaseLedgerTemplateMapper; |
| | | import com.ruoyi.purchase.mapper.SalesLedgerProductTemplateMapper; |
| | | import com.ruoyi.purchase.pojo.PurchaseLedger; |
| | |
| | | public AjaxResult createPurchaseNo(@RequestParam Date entryDate) { |
| | | return AjaxResult.success("生成成功",purchaseLedgerService.getPurchaseNo(entryDate)); |
| | | } |
| | | |
| | | @PostMapping("/manualStockIn") |
| | | public AjaxResult manualStockIn(@RequestBody PurchaseStockInDto purchaseStockInDto) { |
| | | return toAjax(purchaseLedgerService.manualStockIn(purchaseStockInDto)); |
| | | } |
| | | } |