|
@@ -265,8 +265,10 @@ public class CmBaikeProductService extends CrudService<CmBaikeProductDao, CmBaik
|
|
List<CmBaikeTextInfo> textInfolist = cmBaikeProduct.getTextInfolist();
|
|
List<CmBaikeTextInfo> textInfolist = cmBaikeProduct.getTextInfolist();
|
|
if (null != textInfolist && textInfolist.size() > 0) {
|
|
if (null != textInfolist && textInfolist.size() > 0) {
|
|
textInfolist.forEach(param -> {
|
|
textInfolist.forEach(param -> {
|
|
- param.setProductId(productId);
|
|
|
|
- cmBaikeProductDao.insertText(param);
|
|
|
|
|
|
+ if(null!=param.getDictionaryContent()){
|
|
|
|
+ param.setProductId(productId);
|
|
|
|
+ cmBaikeProductDao.insertText(param);
|
|
|
|
+ }
|
|
});
|
|
});
|
|
}
|
|
}
|
|
// 保存问题
|
|
// 保存问题
|