liujie
2025-05-28 1a4e7bbab3d15b36ebb4d7329ee31de62f092eb6
ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/CompanyController.java
@@ -47,6 +47,9 @@
    @Autowired
    private TbScheduleService scheduleService;
    @Autowired
    private TbMessageService messageService;
    @ApiOperation(value = "获取我发布的公司",tags = {"发布模块"})
@@ -160,6 +163,12 @@
        }
        order.setStatus(3);
        order.updateById();
        company.setStatus(1);
        company.updateById();
        messageService.addMessage("您有订单被取消", order.getUserId(),order.getId());
        return R.ok();
    }
@@ -177,6 +186,8 @@
            return R.fail("非法操作");
        }
        scheduleService.addSchedule(dto,userId);
        messageService.addMessage("您有订单卖家已完成,等待确认", order.getUserId(),order.getId());
        return R.ok();
    }
@@ -205,6 +216,8 @@
        }
        order.setStatus(5);
        order.updateById();
        messageService.addMessage("您有订单卖家已完成,等待确认", order.getUserId(),orderId);
        return R.ok();
    }