@@ -5499,9 +5499,6 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
return false;
}
sections.forEach(x -> {
- if (ObjectUtils.isNull(x) || ObjectUtils.isNull(x.getName())){
- return;
- }
SectionImportBo bo = boList.stream().filter(k -> k.getSectionName().equals(x.getName())).findFirst().orElse(null);
if (ObjectUtils.isNull(bo)){
return;
@@ -1237,6 +1237,7 @@
WHERE
gc.goods_id = #{goodsId}
AND cm.`status` = 1
+ AND cs.`status` = 1
</select>
</mapper>