Browse Source

问题处理

yzc 1 year ago
parent
commit
a3828c3311

+ 1 - 2
hx-sale/src/main/java/com/fjhx/sale/service/sample/impl/SampleServiceImpl.java

@@ -222,8 +222,7 @@ public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> impleme
         }
         //买方信息
         Customer customer = customerService.getById(result.getBuyCorporationId());
-        if (ObjectUtil.isNotEmpty(corporation)) {
-            result.setSellCorporationName(corporation.getName());
+        if (ObjectUtil.isNotEmpty(customer)) {
             result.setBuyCorporationName(customer.getName());
         }
         //买方地址信息