Browse Source

👍 修复本地规格报错

sj
Loki 2 years ago
parent
commit
caaa969acb
  1. 4
      yudao-server/src/main/resources/application-local.yaml
  2. 2
      zsw-bxg/src/main/java/co/yixiang/modules/product/service/impl/YxStoreProductServiceImpl.java

4
yudao-server/src/main/resources/application-local.yaml

@ -191,8 +191,8 @@ logging:
level:
# 配置自己写的 MyBatis Mapper 打印日志
cn.iocoder.yudao: info
co.yixiang: debug
org.quartz: error
co.yixiang: info
org.quartz: info
mybatis-plus:
configuration:

2
zsw-bxg/src/main/java/co/yixiang/modules/product/service/impl/YxStoreProductServiceImpl.java

@ -761,7 +761,7 @@ public class YxStoreProductServiceImpl extends BaseServiceImpl<StoreProductMappe
YxStoreProductAttrValue storeProductAttrValue = yxStoreProductAttrValueService
.getOne(Wrappers.<YxStoreProductAttrValue>lambdaQuery()
.eq(YxStoreProductAttrValue::getProductId, id)
.eq(YxStoreProductAttrValue::getSku, sku));
.eq(YxStoreProductAttrValue::getSku, sku),false);
if (storeProductAttrValue != null) {
valueMap.put("sku",storeProductAttrValue.getSku());
valueMap.put("pic", storeProductAttrValue.getImage());

Loading…
Cancel
Save