| | |
| | | |
| | | @ApiOperation("删除付款流水") |
| | | @DeleteMapping("/delPaymentRegistration") |
| | | public AjaxResult delPaymentRegistration(@RequestBody Long id) { |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public AjaxResult delPaymentRegistration(@RequestBody List<Long> id) { |
| | | return toAjax(paymentRegistrationService.delPaymentRegistration(id)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/getProductRecordById") |
| | | public AjaxResult getProductRecordById(Long id) { |
| | | if (id == null) { |
| | | @PostMapping("/getProductRecordById") |
| | | public AjaxResult getProductRecordById(@RequestBody ProductRecordDto productRecordDto) { |
| | | if (productRecordDto.getId() == null) { |
| | | return AjaxResult.error("参数错误"); |
| | | } |
| | | return AjaxResult.success(productRecordService.getProductRecordById(id)); |
| | | return AjaxResult.success(productRecordService.getProductRecordById(productRecordDto)); |
| | | } |
| | | |
| | | @ApiModelProperty("修改来票登记") |