店铺信息获取bug修复
This commit is contained in:
parent
b7963b1972
commit
45d4d9905d
@ -272,13 +272,9 @@ public class ShopStoreBaseServiceImpl extends BaseServiceImpl<ShopStoreBaseMappe
|
||||
Integer store_grade_id = Convert.toInt(s.get("store_grade_id"));
|
||||
|
||||
Optional<ShopStoreInfo> shopStoreInfos = store_info_rows.stream().filter(r -> ObjectUtil.equal(r.getStore_id(), store_id)).findFirst();
|
||||
if (shopStoreInfos.isPresent()) {
|
||||
if (shopStoreInfos.isPresent()) { // 匹配到店铺信息
|
||||
ShopStoreInfo shopStoreInfo = shopStoreInfos.orElseGet(ShopStoreInfo::new);
|
||||
Map map = Convert.toMap(Object.class, Object.class, shopStoreInfo);
|
||||
// 店铺是否自配送?
|
||||
// s.put("is_delivery_self", s.getOrDefault("is_delivery_self", CommonConstant.Disable2));
|
||||
// // 店铺内部配送费
|
||||
// s.put("shopping_fee_inner", s.getOrDefault("shopping_fee_inner", 0));
|
||||
s.putAll(map);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user