From 4e4af90184f5fa5b40d87e2d08d9192bfd237ef0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 30 四月 2021 19:13:58 +0800 Subject: [PATCH] 拼多多备案,京东、拼多多,唯品会,苏宁支持小程序跳转 --- fanli/src/main/java/com/yeshi/fanli/util/elme/ElmeOrderUtil.java | 37 ++++++++++++------------------------- 1 files changed, 12 insertions(+), 25 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/elme/ElmeOrderUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/elme/ElmeOrderUtil.java index 024f868..12b7196 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/elme/ElmeOrderUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/elme/ElmeOrderUtil.java @@ -1,25 +1,12 @@ -package com.yeshi.fanli.util.elme; - -import java.io.InputStream; -import java.util.List; - -import com.yeshi.fanli.entity.elme.ElmeOrder; - -public class ElmeOrderUtil { - - /** - * 瑙f瀽璁㈠崟锛堜粠杈撳叆娴侊級 - * - * @param input - * @return - */ - public static List<ElmeOrder> parseOrder(InputStream input) { - - - - - - return null; - } - -} +package com.yeshi.fanli.util.elme; + +import java.math.BigDecimal; + +import org.yeshi.utils.MoneyBigDecimalUtil; + +public class ElmeOrderUtil { + public static BigDecimal getCommission(BigDecimal payMoney) { + return MoneyBigDecimalUtil.mul(payMoney, new BigDecimal("0.06")); + } + +} -- Gitblit v1.8.0