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();
|
}
|
}
|
|
|
}
|