| | |
| | | private PurchaseRegistrationService purchaseRegistrationService; |
| | | |
| | | /** |
| | | * 查询 |
| | | * 采购登记表查询 |
| | | */ |
| | | @GetMapping("/list") |
| | | public R<IPage<PurchaseRegistration>> list(Page page, PurchaseRegistrationDto purchaseRegistrationDto) { |
| | | public R<IPage<PurchaseRegistration>> list(Page<PurchaseRegistration> page, PurchaseRegistrationDto purchaseRegistrationDto) { |
| | | IPage<PurchaseRegistration> list = purchaseRegistrationService.selectPurchaseRegistrationList(page,purchaseRegistrationDto); |
| | | return R.ok(list); |
| | | } |
| | | |
| | | /** |
| | | * 新增修改 |
| | | * 采购登记表新增修改 |
| | | */ |
| | | @PostMapping("/addOrEditPR") |
| | | public R addOrEditSupply(@RequestBody PurchaseRegistrationDto purchaseRegistrationDto) { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除 |
| | | * 采购登记表删除 |
| | | */ |
| | | @DeleteMapping("/delPR") |
| | | public R remove(@RequestBody Long[] ids) { |