|
@@ -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());
|
|
|
}
|
|
|
|