Commit 1e1d923e by 周晓航

夜间配送费字段新增

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 522d5294
...@@ -21,6 +21,7 @@ import cn.freemud.entities.vo.ShoppingCartGoodsResponseVo; ...@@ -21,6 +21,7 @@ import cn.freemud.entities.vo.ShoppingCartGoodsResponseVo;
import cn.freemud.utils.DateTimeUtil; import cn.freemud.utils.DateTimeUtil;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.freemud.sdk.api.assortment.shoppingcart.util.ShoppingSdkLogUtil; import com.freemud.sdk.api.assortment.shoppingcart.util.ShoppingSdkLogUtil;
import lombok.SneakyThrows;
import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.CollectionUtils;
import java.text.ParseException; import java.text.ParseException;
...@@ -51,6 +52,7 @@ public interface DeliveryService { ...@@ -51,6 +52,7 @@ public interface DeliveryService {
* @param amount 原始配送费价格 * @param amount 原始配送费价格
* @param expandFields 门店反馈的额外配送费配置 * @param expandFields 门店反馈的额外配送费配置
*/ */
@SneakyThrows
default List<ExtraDeliveryDto> nightDeliveryAmountHandle(long amount, DeliveryInfoExpandFieldDTO expandFields) { default List<ExtraDeliveryDto> nightDeliveryAmountHandle(long amount, DeliveryInfoExpandFieldDTO expandFields) {
List<ExtraDeliveryDto> list = new ArrayList<>(); List<ExtraDeliveryDto> list = new ArrayList<>();
if (amount > 0) { if (amount > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment