admin
2019-11-13 221b5c8d0de3f6b17a00d543503a79c13b28ba12
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
32
33
34
package org.fanli.redpack;
 
import org.junit.Test;
 
import com.yeshi.fanli.service.inter.redpack.RedPackGiveRecordService;
import com.yeshi.fanli.service.inter.user.UserSystemCouponService;
import com.yeshi.fanli.util.BeanUtil; 
 
public class Test_RedPackGiveRecordService {
 
    @Test
    public void overdueByPrimaryKey() {
        try {
            RedPackGiveRecordService service = BeanUtil.getBean(RedPackGiveRecordService.class);
            service.overdueByPrimaryKey(51L);
            System.out.println("test");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    
    @Test
    public void sendBackByGiveId() {
        try {
            UserSystemCouponService service = BeanUtil.getBean(UserSystemCouponService.class);
            service.sendBackByGiveId(83L);
            System.out.println("test");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    
    
}