|
@@ -16,6 +16,7 @@ import cn.newfeifan.mall.module.trade.dal.mysql.delivery.DeliveryExpressTemplate
|
|
|
import cn.newfeifan.mall.module.trade.dal.mysql.delivery.DeliveryExpressTemplateMapper;
|
|
|
import cn.newfeifan.mall.module.trade.service.delivery.bo.DeliveryExpressTemplateRespBO;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -205,7 +206,9 @@ public class DeliveryExpressTemplateServiceImpl implements DeliveryExpressTempla
|
|
|
|
|
|
@Override
|
|
|
public List<DeliveryExpressTemplateDO> getDeliveryExpressTemplateList() {
|
|
|
- return expressTemplateMapper.selectList();
|
|
|
+ ShopBO shop = getShop();
|
|
|
+ return expressTemplateMapper.selectList(new LambdaQueryWrapper<DeliveryExpressTemplateDO>()
|
|
|
+ .eq(DeliveryExpressTemplateDO::getShopId,shop.getShopId()));
|
|
|
}
|
|
|
|
|
|
@Override
|