Commit 0378e4b9 by 周晓航

Merge branch 'KA-20210722-自提根据模板配置计算餐具包装费ID1033456-zxh' into qa

parents 5dd30e13 a3d48549
...@@ -32,6 +32,9 @@ public class CommonFunctionHandle { ...@@ -32,6 +32,9 @@ public class CommonFunctionHandle {
* @return 外卖 true 打包带走 false null 为其他业务问题 不进入需求 * @return 外卖 true 打包带走 false null 为其他业务问题 不进入需求
*/ */
public Long getPackAmountByStoreConfig(ShoppingCartInfoRequestVo shoppingCartInfoRequestVo, Long newPackAmount) { public Long getPackAmountByStoreConfig(ShoppingCartInfoRequestVo shoppingCartInfoRequestVo, Long newPackAmount) {
if (Objects.isNull(shoppingCartInfoRequestVo)) {
return newPackAmount;
}
Boolean isTakeOut = null; Boolean isTakeOut = null;
if (Objects.equals(shoppingCartInfoRequestVo.getOrderType(), CreateOrderType.TAKE_OUT.getCode())) { if (Objects.equals(shoppingCartInfoRequestVo.getOrderType(), CreateOrderType.TAKE_OUT.getCode())) {
isTakeOut = true; isTakeOut = true;
......
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