提交 eac79edc 编写于 作者: Z zyyang

change

上级 6075751d
......@@ -190,9 +190,9 @@ public class SubTableService extends AbstractService {
SubTableValueGenerator.disrupt(data, rate, range);
// insert
if (autoCreateTable)
affectRows = insertAutoCreateTable(data);
affectRows += insertAutoCreateTable(data);
else
affectRows = insert(data);
affectRows += insert(data);
/***********************************************/
tableCnt += tableSize;
}
......
......@@ -17,7 +17,7 @@ public class TimeStampUtilTest {
@Test
public void longToDatetime() {
System.out.println(TimeStampUtil.longToDatetime(1293161600069l));
System.out.println(TimeStampUtil.longToDatetime(1293334499006l));
String datetime = TimeStampUtil.longToDatetime(1510000000000L);
assertEquals("2017-11-07 04:26:40.000", datetime);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册