...
|
...
|
@@ -13,6 +13,8 @@ import org.junit.Assert; |
|
|
import org.junit.Test;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
/**
|
|
|
* 卖家订单统计
|
|
|
*/
|
...
|
...
|
@@ -50,4 +52,11 @@ public class SellerOrderQuantityStatsTest extends BaseWebTest { |
|
|
//0.05 最大比例
|
|
|
Assert.assertTrue(sellerPlatformServiceFee.getFeeRate().doubleValue() < 0.05);
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
public void test_currentPeriod_feeRate_is_null_for_advance() {
|
|
|
BigDecimal feeRate = sellerPlatformServiceFeeSupport.getPlatformServiceFeeRate(uid, SkupType.ADVANCE);
|
|
|
Assert.assertTrue(feeRate == null);
|
|
|
|
|
|
}
|
|
|
} |
...
|
...
|
|