Commit 17ce925c authored by qwj-github's avatar qwj-github

add

parent 3f232381
/** /**
* Copyright (C), 2015-2018 * Copyright (C), 2015-2018
* FileName: pk_开奖_瓜分红包_押注人数不同测试_PkTest * FileName: pk_开奖_瓜分红包_押注人数不同测试
* Author: qianwenjun * Author: qianwenjun
* Date: 2018/8/9 20:13 * Date: 2018/8/9 20:13
* Description: * Description:
......
/** /**
* Copyright (C), 2015-2018 * Copyright (C), 2015-2018
* FileName: pk_开奖_瓜分红包_押注人数不同测试_PkTest * FileName: pk_开奖_瓜分红包_押注人数不同测试
* Author: qianwenjun * Author: qianwenjun
* Date: 2018/8/9 20:13 * Date: 2018/8/9 20:13
* Description: * Description:
......
/** /**
* Copyright (C), 2015-2018 * Copyright (C), 2015-2018
* FileName: pk_开奖_瓜分红包_押注人数不同测试_PkTest * FileName: pk_开奖_瓜分红包_押注人数不同测试
* Author: qianwenjun * Author: qianwenjun
* Date: 2018/8/9 20:13 * Date: 2018/8/9 20:13
* Description: * Description:
......
/** /**
* Copyright (C), 2015-2018 * Copyright (C), 2015-2018
* FileName: pk_开奖_瓜分红包_押注人数不同测试_PkTest * FileName: pk_开奖_瓜分红包_押注人数不同测试
* Author: qianwenjun * Author: qianwenjun
* Date: 2018/8/9 20:13 * Date: 2018/8/9 20:13
* Description: * Description:
...@@ -44,7 +44,7 @@ import java.util.Map; ...@@ -44,7 +44,7 @@ import java.util.Map;
* @create 2018/8/9 * @create 2018/8/9
* @since 1.0.0 * @since 1.0.0
*/ */
public class pk_开奖_瓜分红包_押注人数不同测试_PkTest extends DuibaTestBase { public class pk_开奖_瓜分红包_押注人数不同测试 extends DuibaTestBase {
@Autowired @Autowired
PkService pkService; PkService pkService;
......
/** /**
* Copyright (C), 2015-2018 * Copyright (C), 2015-2018
* FileName: pk_开奖_瓜分红包_押注人数不同测试_PkTest * FileName: pk_开奖_瓜分红包_押注人数不同测试
* Author: qianwenjun * Author: qianwenjun
* Date: 2018/8/9 20:13 * Date: 2018/8/9 20:13
* Description: * Description:
...@@ -38,7 +38,7 @@ import java.util.Map; ...@@ -38,7 +38,7 @@ import java.util.Map;
* @create 2018/8/9 * @create 2018/8/9
* @since 1.0.0 * @since 1.0.0
*/ */
public class pk_开奖_瓜分红包_押注人数相同测试_PkTest extends DuibaTestBase { public class pk_开奖_瓜分红包_押注人数相同测试 extends DuibaTestBase {
@Autowired @Autowired
PkService pkService; PkService pkService;
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
*/ */
package utils; package utils;
import base.DuibaLog;
/** /**
* 〈〉 * 〈〉
* *
...@@ -16,6 +18,7 @@ package utils; ...@@ -16,6 +18,7 @@ package utils;
*/ */
public class GetDbName { public class GetDbName {
private static DuibaLog looger = DuibaLog.getLogger();
public static String getDbName(String prex,String consumerId,String type){ public static String getDbName(String prex,String consumerId,String type){
String dbName = ""; String dbName = "";
...@@ -25,6 +28,7 @@ public class GetDbName { ...@@ -25,6 +28,7 @@ public class GetDbName {
}else if (type.equals("2")){ }else if (type.equals("2")){
dbName = prex + String.format("%04d", Long.parseLong(consumerId) / 10000000); dbName = prex + String.format("%04d", Long.parseLong(consumerId) / 10000000);
} }
looger.info("dbName为:"+dbName);
return dbName; return dbName;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment