diff --git a/jsowell-admin/src/test/java/PaymentTestController.java b/jsowell-admin/src/test/java/PaymentTestController.java index 084a8513d..7db366966 100644 --- a/jsowell-admin/src/test/java/PaymentTestController.java +++ b/jsowell-admin/src/test/java/PaymentTestController.java @@ -46,6 +46,7 @@ import com.jsowell.pile.service.AdapayUnsplitRecordService; import com.jsowell.pile.service.OrderBasicInfoService; import com.jsowell.pile.service.OrderUnsplitRecordService; import com.jsowell.pile.vo.AdapayUnsplitRecordVO; +import com.jsowell.quartz.service.AdapayUnsplitRecordHandleService; import org.apache.commons.collections4.CollectionUtils; import org.junit.Test; import org.junit.runner.RunWith; @@ -85,6 +86,9 @@ public class PaymentTestController { @Autowired private OrderUnsplitRecordService orderUnsplitRecordService; + @Autowired + private AdapayUnsplitRecordHandleService adapayUnsplitRecordHandleService; + @Autowired private AdapayService adapayService; @@ -145,6 +149,16 @@ public class PaymentTestController { return list; } + + + /** + * 批量分账 + */ + @Test + public void processUnsplitRecordToDefaultMemberTest() { + adapayUnsplitRecordHandleService.processUnsplitRecordToDefaultMember(wechatAppId1, 20); + } + /** * 提现方法 *