admin
2020-11-25 06d1a63564b1fc4b85ae86f7e2f80bc56de5c8ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
    }
 
 
}