liujie
2025-07-18 e86d554ee5476d89845f86a49864d990180542b5
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OrderController.java
@@ -27,7 +27,7 @@
     */
    @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));
    }
@@ -36,7 +36,7 @@
     */
    @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));
    }
@@ -46,7 +46,7 @@
     */
    @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));
    }
@@ -57,7 +57,7 @@
     */
    @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);
    }
@@ -66,7 +66,7 @@
     */
    @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);
    }
@@ -75,7 +75,7 @@
     */
    @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);
    }
@@ -85,7 +85,7 @@
     */
    @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);
    }
@@ -94,7 +94,7 @@
     */
    @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();
@@ -106,7 +106,7 @@
     */
    @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();
@@ -117,7 +117,7 @@
     */
    @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();