提交 87bf0e7e 编写于 作者: Y youyong205

Merge pull request #411 from youyong205/master

fix test bug
...@@ -283,6 +283,16 @@ public class MetricAnalyzerTest extends ComponentTestCase { ...@@ -283,6 +283,16 @@ public class MetricAnalyzerTest extends ComponentTestCase {
public Map<String, ProductLine> queryAllProductLines() { public Map<String, ProductLine> queryAllProductLines() {
return new HashMap<String, ProductLine>(); return new HashMap<String, ProductLine>();
} }
@Override
public ProductLine queryProductLine(String id) {
return null;
}
@Override
public boolean insertIfNotExsit(String product, String domain) {
return true;
}
} }
} }
...@@ -346,6 +346,7 @@ CREATE TABLE `app_data_command_1` ( ...@@ -346,6 +346,7 @@ CREATE TABLE `app_data_command_1` (
`status` smallint NOT NULL COMMENT '数据状态', `status` smallint NOT NULL COMMENT '数据状态',
`creation_date` datetime NOT NULL COMMENT '数据插入时间', `creation_date` datetime NOT NULL COMMENT '数据插入时间',
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY IX_period_minute (period,minute_order),
KEY IX_period_city_minute (period,city,minute_order), KEY IX_period_city_minute (period,city,minute_order),
KEY IX_period_operator_minute (period,operator,minute_order), KEY IX_period_operator_minute (period,operator,minute_order),
KEY IX_period_network_minute (period,network,minute_order), KEY IX_period_network_minute (period,network,minute_order),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册