master
wangning 7 years ago
parent 584eeff188
commit cfbf224f9d

@ -1,5 +1,6 @@
package au.com.royalpay.payment.manage.apps.core.impls; package au.com.royalpay.payment.manage.apps.core.impls;
import au.com.royalpay.payment.manage.analysis.core.WeekReporter;
import au.com.royalpay.payment.manage.mappers.payment.OrderMapper; import au.com.royalpay.payment.manage.mappers.payment.OrderMapper;
import au.com.royalpay.payment.manage.mappers.system.ClientConfigMapper; import au.com.royalpay.payment.manage.mappers.system.ClientConfigMapper;
import au.com.royalpay.payment.manage.mappers.system.ClientMapper; import au.com.royalpay.payment.manage.mappers.system.ClientMapper;
@ -49,7 +50,7 @@ import cn.yixblog.platform.http.HttpRequestResult;
* Created by wangning on 05/01/2018. * Created by wangning on 05/01/2018.
*/ */
@SpringBootTest @SpringBootTest
@ActiveProfiles({ "local", "alipay", "wechat", "jd", "bestpay" }) @ActiveProfiles({ "proxy", "alipay", "wechat", "jd", "bestpay" })
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
public class CustomerImpressionImplTest { public class CustomerImpressionImplTest {
@Resource @Resource
@ -70,6 +71,9 @@ public class CustomerImpressionImplTest {
@Resource @Resource
private MailService mailService; private MailService mailService;
@Resource
private WeekReporter weekReporter;
// @Test // @Test
// public void redisQueue() { // public void redisQueue() {
// BoundListOperations<String, String> ops = stringRedisTemplate.boundListOps("customer_impression"); // BoundListOperations<String, String> ops = stringRedisTemplate.boundListOps("customer_impression");
@ -257,4 +261,9 @@ public class CustomerImpressionImplTest {
e.printStackTrace(); e.printStackTrace();
} }
} }
@Test
public void zxc(){
weekReporter.generateReport("2018-06-04",false);
}
} }
Loading…
Cancel
Save