摘要:
一、背景 二、实现 第一种:使用Mybatis,纯sql插入(推荐使用) 动态创建Sql拼接 在Mapper接口种指定该方法 @InsertProvider(type = AutoCreateReport.class, method = "insertSelectSqlFun") public vo 阅读全文
摘要:
一、背景 二、实现 select * from ( select sum(value) as val from history_data where parameter_id = '512432211656617105' or parameter_id = '512432211656637048' 阅读全文
摘要:
QueryResult countResults = influxDBConfig.query(selectSql.toString()); QueryResult results = influxDBConfig.query(selectSql.toString()); List<KeyValue 阅读全文