| | |
| | | */ |
| | | @PostMapping("/getOrderPage") |
| | | @ApiOperation(value = "订单分页") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R<IPage<OrderPageVO>> getOrderPage(@RequestBody OrderPageDTO dto) { |
| | | return R.ok(orderService.getOrderPage(dto)); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/detail/{id}") |
| | | @ApiOperation(value = "查看详情-基础信息") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R<OrderDetailVO> detail(@PathVariable("id") String id) { |
| | | return R.ok(orderService.detail(id)); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/business/{id}") |
| | | @ApiOperation(value = "查看详情-企业工商信息") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R<BusinessVO> business(@PathVariable("id") String id) { |
| | | return R.ok(orderService.business(id)); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/error/{id}") |
| | | @ApiOperation(value = "查看详情-企业异常信息") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R error(@PathVariable("id") String id) { |
| | | return orderService.error(id); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/change/{id}") |
| | | @ApiOperation(value = "查看详情-企业变更信息") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R change(@PathVariable("id") String id) { |
| | | return orderService.change(id); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/tax/{id}") |
| | | @ApiOperation(value = "查看详情-企业纳税信息") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R tax(@PathVariable("id") String id) { |
| | | return orderService.tax(id); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/invoice/{id}") |
| | | @ApiOperation(value = "查看详情-企业发票信息") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R invoice(@PathVariable("id") String id) { |
| | | return orderService.invoice(id); |
| | | } |
| | |
| | | */ |
| | | @DeleteMapping("/delete/{id}") |
| | | @ApiOperation(value = "删除") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R delete(@PathVariable("id") String id) { |
| | | orderService.delete(id); |
| | | return R.ok(); |
| | |
| | | */ |
| | | @PutMapping("/shelves/{id}") |
| | | @ApiOperation(value = "上、下架") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R shelves(@PathVariable("id") String id) { |
| | | orderService.shelves(id); |
| | | return R.ok(); |
| | |
| | | */ |
| | | @PutMapping("/cancel/{id}") |
| | | @ApiOperation(value = "取消交易") |
| | | @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('order:manage')") |
| | | public R cancel(@PathVariable("id") String id) { |
| | | orderService.cancel(id); |
| | | return R.ok(); |