提交 057d90b4 编写于 作者: Z zyyang

change

上级 199782da
......@@ -43,7 +43,7 @@ public class TaosDemoCommandLineRunner implements CommandLineRunner {
// 读配置参数
JdbcTaosdemoConfig config = new JdbcTaosdemoConfig(args);
boolean isHelp = Arrays.asList(args).contains("--help");
if (isHelp) {
if (isHelp || config.host == null || config.host.isEmpty()) {
JdbcTaosdemoConfig.printHelp();
System.exit(0);
}
......
package com.taosdata.taosdemo.mapper.impl;
import com.taosdata.taosdemo.domain.SubTableMeta;
import com.taosdata.taosdemo.domain.SubTableValue;
import com.taosdata.taosdemo.mapper.SubTableMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import java.util.List;
public class SubTableMapperImpl implements SubTableMapper {
private JdbcTemplate jdbcTemplate;
@Override
public int createUsingSuperTable(SubTableMeta subTableMeta) {
return 0;
}
@Override
public int insertOneTableMultiValues(SubTableValue subTableValue) {
return 0;
}
@Override
public int insertOneTableMultiValuesUsingSuperTable(SubTableValue subTableValue) {
return 0;
}
@Override
public int insertMultiTableMultiValues(List<SubTableValue> tables) {
return 0;
}
@Override
public int insertMultiTableMultiValuesUsingSuperTable(List<SubTableValue> tables) {
return 0;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册