|
|
package com.yohoufo.order.service;
|
|
|
|
|
|
import com.yohobuy.ufo.model.order.bo.SellerBo;
|
|
|
import com.yohobuy.ufo.model.order.common.EntrySellerType;
|
|
|
import com.yohoufo.order.BaseWebTest;
|
|
|
import com.yohoufo.order.service.impl.SellerEnterApplyService;
|
|
|
import com.yohoufo.order.service.impl.SellerService;
|
|
|
import com.yohoufo.order.service.impl.SellerWrapper;
|
|
|
import org.junit.Test;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
...
|
...
|
@@ -39,4 +41,12 @@ public class SellerEnterApplyServiceTest extends BaseWebTest { |
|
|
long order = 6666666666L;
|
|
|
sellerEnterApplyService.audit(uid, order, new BigDecimal(100));
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
public void testChangeLevel4Super(){
|
|
|
int uid = 500031424;
|
|
|
SellerWrapper sellerWrapper =sellerService.getBaseSellerWrapper(uid);
|
|
|
BigDecimal left = new BigDecimal(100);
|
|
|
sellerEnterApplyService.changeLevel4Super(sellerWrapper, left);
|
|
|
}
|
|
|
} |
...
|
...
|
|