|
|
@@ -8,6 +8,7 @@ import com.cyksj.model.entity.BackInfoTranslations;
|
|
|
import com.cyksj.model.entity.GoodsDonSku;
|
|
|
import com.cyksj.model.manage.views.GoodsDonViewer;
|
|
|
import com.cyksj.model.views.GoodsDonSkuFrontView;
|
|
|
+import com.cyksj.model.views.GoodsDonSpecFrontView;
|
|
|
import com.cyksj.model.views.GoodsFrontListCategoryView;
|
|
|
import com.cyksj.model.views.GoodsFrontListView;
|
|
|
import com.cyksj.service.translations.BackInfoTranslationsFrontService;
|
|
|
@@ -40,6 +41,10 @@ public class BackInfoTranslationsFrontServiceImpl implements BackInfoTranslation
|
|
|
if (CollUtil.isNotEmpty(skuList)) {
|
|
|
skuList.forEach(sku -> setFieldLanguage(sku.getClass(), sku, BackInfoTranslations.Type.sku.ordinal(), sku.getId(), lang));
|
|
|
}
|
|
|
+ GoodsDonSpecFrontView specs = views.getSpecs();
|
|
|
+ if (specs != null) {
|
|
|
+ setFieldLanguage(specs.getClass(), specs, BackInfoTranslations.Type.spec.ordinal(), specs.getId(), lang);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@Override
|