This commit is contained in:
Guoqs
2026-05-27 18:38:02 +08:00
parent 8168b3686a
commit 18d0a0b8e3

View File

@@ -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);
}
/**
* 提现方法
*