From c196e41a7c9f2bd845d189486069c416eca9c968 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期四, 17 七月 2025 21:37:37 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java
index 74a060b..49bb5c0 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/OrderServiceImpl.java
@@ -20,6 +20,7 @@
 import com.ruoyi.system.pojo.dto.OrderPageDTO;
 import com.ruoyi.system.pojo.model.DailyStatistics;
 import com.ruoyi.system.pojo.vo.*;
+import com.ruoyi.system.service.CompanyTypeService;
 import com.ruoyi.system.service.OrderService;
 import com.ruoyi.system.wx.RefundCallbackResult;
 import com.ruoyi.system.wx.WechatPayService;
@@ -63,6 +64,9 @@
     private RedisCache redisCache;
     @Resource
     private QichachaMapper qichachaMapper;
+
+    @Resource
+    private CompanyTypeService companyTypeService;
 
 
     @Override
@@ -163,6 +167,9 @@
         BeanUtils.copyProperties(company, vo);
         vo.setPlace(company.getCity()+company.getProvince()+company.getArea());
 
+        String name = companyTypeService.getById(company.getCompanyCategory()).getName();
+        vo.setCompanyCategoryName(name);
+
         //todo 再查企业工商信息 覆盖掉之前的
 
 

--
Gitblit v1.7.1