| | |
| | | @Autowired |
| | | private TbMessageService messageService; |
| | | |
| | | @Autowired |
| | | private TbLicenceService licenceService; |
| | | |
| | | @Autowired |
| | | private TbCompanyTypeService companyTypeService; |
| | | |
| | | |
| | | |
| | | @ApiOperation(value = "获取我发布的公司",tags = {"发布模块"}) |
| | |
| | | @GetMapping("/getIndustryList") |
| | | public R<Page<TbIndustry>> getIndustryList(BasePage page) { |
| | | Page<TbIndustry> page1 = industryService.page(new Page<>(page.getPageNum(),page.getPageSize()),new LambdaQueryWrapper<TbIndustry>().orderByDesc(TbIndustry::getOrderNum)); |
| | | return R.ok(page1); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取许可证信息",tags = {"发布模块"}) |
| | | @GetMapping("/getCompanyTypeList") |
| | | public R<Page<TbCompanyType>> getCompanyTypeList(BasePage page) { |
| | | Page<TbCompanyType> page1 = companyTypeService.page(new Page<>(page.getPageNum(),page.getPageSize()),new LambdaQueryWrapper<TbCompanyType>().eq(TbCompanyType::getDelFlag,0).orderByDesc(TbCompanyType::getOrderNum)); |
| | | return R.ok(page1); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取许可证信息",tags = {"发布模块"}) |
| | | @GetMapping("/getLicenceList") |
| | | public R<Page<TbLicence>> getLicenceList(BasePage page) { |
| | | Page<TbLicence> page1 = licenceService.page(new Page<>(page.getPageNum(),page.getPageSize()),new LambdaQueryWrapper<TbLicence>().eq(TbLicence::getDelFlag,0).orderByDesc(TbLicence::getOrderNum)); |
| | | return R.ok(page1); |
| | | } |
| | | |
| | |
| | | return R.fail("该订单状态不能完成"); |
| | | } |
| | | order.setStatus(5); |
| | | order.setSellerFinishTime(new Date()); |
| | | order.updateById(); |
| | | |
| | | messageService.addMessage("您有订单卖家已完成,等待确认", order.getUserId(),orderId); |