package com.ks.goldcorn.mapper;
|
|
import com.ks.goldcorn.pojo.DO.GoldCornConsumeSource;
|
import com.ks.goldcorn.pojo.DO.GoldCornGetSource;
|
import com.ks.goldcorn.pojo.DO.GoldCornRecord;
|
import com.ks.goldcorn.service.remote.GoldCornConsumeSourceService;
|
import com.ks.goldcorn.service.remote.GoldCornGetSourceService;
|
import com.ks.goldcorn.service.remote.GoldCornRecordService;
|
import org.junit.jupiter.api.Test;
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
import javax.annotation.Resource;
|
import java.util.List;
|
|
@SpringBootTest
|
public class RecordTest {
|
|
@Resource
|
private GoldCornRecordService goldCornRecordService;
|
|
|
@Test
|
public void list() throws Exception {
|
String appCode = "test1";
|
List<GoldCornRecord> list = goldCornRecordService.listUserRecord(appCode, null, null, 1, 20);
|
long count = goldCornRecordService.countUserRecord(appCode, null, null);
|
System.out.println(count);
|
}
|
|
|
}
|