change
This commit is contained in:
parent
3ec1adf762
commit
f111f76b74
|
@ -11,8 +11,8 @@ public interface TemperatureMapper extends BaseMapper<Temperature> {
|
||||||
@Update("CREATE TABLE if not exists temperature(ts timestamp, temperature float) tags(location nchar(64), tbIndex int)")
|
@Update("CREATE TABLE if not exists temperature(ts timestamp, temperature float) tags(location nchar(64), tbIndex int)")
|
||||||
int createSuperTable();
|
int createSuperTable();
|
||||||
|
|
||||||
@Update("create table #{tbName} using temperature tags( #{location}, #{tbIndex})")
|
@Update("create table #{tbName} using temperature tags( #{location}, #{tbindex})")
|
||||||
int createTable(@Param("tbName") String tbName, @Param("location") String location, @Param("tbIndex") int tbIndex);
|
int createTable(@Param("tbName") String tbName, @Param("location") String location, @Param("tbindex") int tbindex);
|
||||||
|
|
||||||
@Update("drop table if exists temperature")
|
@Update("drop table if exists temperature")
|
||||||
void dropSuperTable();
|
void dropSuperTable();
|
||||||
|
|
Loading…
Reference in New Issue