|
|
@@ -436,6 +436,19 @@ public class GoodsDonController {
|
|
|
sku.setDpSkuViews(beanSearcher.searchAll(GoodsDiscountPlusPurchaseRelationFrontView.class, MapUtils.builder()
|
|
|
.field(GoodsDiscountPlusPurchaseRelationFrontView::getSkuId, sku.getId())
|
|
|
.build()));
|
|
|
+ //多语言
|
|
|
+ if (language.get()) {
|
|
|
+ for (GoodsDiscountPlusPurchaseRelationFrontView dpSkuView : sku.getDpSkuViews()) {
|
|
|
+ String languageGoodsTitle = backInfoTranslationsFrontService.getGoodsTitleLanguage(dpSkuView.getDisGid(), lang);
|
|
|
+ if (StrUtil.isNotBlank(languageGoodsTitle)) {
|
|
|
+ dpSkuView.setTitle(languageGoodsTitle);
|
|
|
+ }
|
|
|
+ String languageSpecVal = backInfoTranslationsFrontService.getLanguageSpecVal(dpSkuView.getDisSid(), lang);
|
|
|
+ if (StrUtil.isNotBlank(languageSpecVal)) {
|
|
|
+ dpSkuView.setSpecVal(languageSpecVal);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
if (views.getIsSp()) {
|
|
|
if (fUid == null) {
|