Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
db66972c
Commit
db66972c
authored
Nov 01, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
健康指数存入tdegine
parent
af7d6601
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
148 additions
and
16 deletions
+148
-16
TestController.java
...amos/boot/module/jxiop/biz/controller/TestController.java
+27
-11
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+43
-2
FanHealthIndexMapper.java
...boot/module/jxiop/biz/tdMapper2/FanHealthIndexMapper.java
+6
-0
PvHealthIndexMapper.java
.../boot/module/jxiop/biz/tdMapper2/PvHealthIndexMapper.java
+8
-0
FanHealthIndex.java
...n/amos/boot/module/jxiop/biz/tdengine/FanHealthIndex.java
+1
-1
PvHealthIndex.java
...in/amos/boot/module/jxiop/biz/tdengine/PvHealthIndex.java
+1
-1
application-dev.properties
...analyse-biz/src/main/resources/application-dev.properties
+1
-1
FanHealthIndex.xml
...iz/src/main/resources/mapper/tdengine2/FanHealthIndex.xml
+30
-0
PvHealthIndex.xml
...biz/src/main/resources/mapper/tdengine2/PvHealthIndex.xml
+31
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/TestController.java
View file @
db66972c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
controller
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.date.DateUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jxiop.biz.entity.IdxBizFanHealthIndex
;
import
com.yeejoin.amos.boot.module.jxiop.biz.entity.IndicatorData
;
import
com.yeejoin.amos.boot.module.jxiop.biz.service.impl.CommonServiceImpl
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdMapper2.FanHealthIndexMapper
;
...
...
@@ -15,6 +17,7 @@ import org.springframework.web.bind.annotation.*;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
...
...
@@ -61,31 +64,44 @@ public class TestController extends BaseController {
QueryWrapper
<
FanHealthIndex
>
fanHealthIndexQueryWrapper
=
new
QueryWrapper
<>();
List
<
FanHealthIndex
>
fanHealthIndices
=
fanHealthIndexMapper
.
selectList
(
fanHealthIndexQueryWrapper
);
FanHealthIndex
fanHealthIndex
=
new
FanHealthIndex
();
List
<
IdxBizFanHealthIndex
>
list
=
new
ArrayList
<>();
IdxBizFanHealthIndex
fanHealthIndex
=
new
IdxBizFanHealthIndex
();
fanHealthIndex
.
setHealthIndex
(
2.0
);
fanHealthIndex
.
setTs
(
System
.
currentTimeMillis
());
fanHealthIndex
.
setAr
ea
(
"区域"
);
fanHealthIndex
.
setAnalysisEndTime
(
DateUtil
.
now
());
//
fanHealthIndex.setTs(System.currentTimeMillis());
fanHealthIndex
.
setAr
ae
(
"区域"
);
fanHealthIndex
.
setAnalysisEndTime
(
DateUtil
.
date
());
fanHealthIndex
.
setAnalysisObjSeq
(
"2"
);
fanHealthIndex
.
setHealthLevel
(
"2321"
);
fanHealthIndex
.
setHealthIndex
(
25.0
);
fanHealthIndex
.
setAnalysisStartTime
(
DateUtil
.
now
());
fanHealthIndex
.
setAnalysisStartTime
(
DateUtil
.
date
());
fanHealthIndex
.
setAnalysisObjType
(
"21"
);
fanHealthIndex
.
setA
nalysisTime
(
"21"
);
fanHealthIndex
.
setA
nomaly
(
2.0
);
fanHealthIndex
.
setA
NALYSISTIME
(
"21"
);
fanHealthIndex
.
setA
NOMALY
(
2.0
);
fanHealthIndex
.
setEquipmentName
(
"21"
);
fanHealthIndex
.
setGatewayId
(
"213412"
);
fanHealthIndex
.
setPointName
(
"21312"
);
fanHealthIndex
.
setNumber
(
"213"
);
fanHealthIndex
.
setKks
(
"213"
);
fanHealthIndex
.
setRecDate
(
DateUtil
.
now
());
fanHealthIndex
.
setRecDate
(
DateUtil
.
date
());
fanHealthIndex
.
setSubSystem
(
"213421"
);
fanHealthIndex
.
setWeig
ht
(
2.2
);
fanHealthIndex
.
setAnalysisType
(
"
21
"
);
fanHealthIndex
.
setWeig
th
(
2.2
);
fanHealthIndex
.
setAnalysisType
(
"
按时刻
"
);
fanHealthIndex
.
setStation
(
"rwwrrw"
);
fanHealthIndex
.
setIndexAddress
(
"2321"
);
FanHealthIndex
fanHealthIndex1
=
new
FanHealthIndex
();
BeanUtil
.
copyProperties
(
fanHealthIndex
,
fanHealthIndex1
);
fanHealthIndex1
.
setWeight
(
fanHealthIndex
.
getWeigth
());
fanHealthIndex1
.
setAnomaly
(
fanHealthIndex
.
getANOMALY
());
fanHealthIndex1
.
setRecDate
(
DateUtil
.
now
());
fanHealthIndex1
.
setArea
(
fanHealthIndex
.
getArae
());
fanHealthIndex1
.
setAnalysisTime
(
DateUtil
.
now
());
fanHealthIndex1
.
setHealthLevel
(
fanHealthIndex
.
getHealthLevel
());
fanHealthIndex1
.
setKks
(
"123456"
);
ArrayList
<
FanHealthIndex
>
fanHealthIndices1
=
new
ArrayList
<>();
fanHealthIndices1
.
add
(
fanHealthIndex1
);
list
.
add
(
fanHealthIndex
);
// commonService.healthWarningMinuteByFJ();
fanHealthIndexMapper
.
insert
(
fanHealthIndex
);
fanHealthIndexMapper
.
saveBatchHealthIndexList
(
fanHealthIndices1
,
"fan_health_index_moment"
);
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
View file @
db66972c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.date.DatePattern
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.http.HttpUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.event.AnalysisEventListener
;
...
...
@@ -17,6 +20,10 @@ import com.yeejoin.amos.boot.module.jxiop.biz.dto.IdxBizFanPointProcessVariableC
import
com.yeejoin.amos.boot.module.jxiop.biz.dto.IdxBizPvPointProcessVariableClassificationDto
;
import
com.yeejoin.amos.boot.module.jxiop.biz.entity.*
;
import
com.yeejoin.amos.boot.module.jxiop.biz.mapper2.*
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdMapper2.FanHealthIndexMapper
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdMapper2.PvHealthIndexMapper
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdengine.FanHealthIndex
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdengine.PvHealthIndex
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdmapper.IndicatorDataMapper
;
import
javafx.scene.control.Tab
;
import
org.elasticsearch.index.query.BoolQueryBuilder
;
...
...
@@ -34,6 +41,7 @@ import org.springframework.data.elasticsearch.core.SearchHit;
import
org.springframework.data.elasticsearch.core.SearchHits
;
import
org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder
;
import
org.springframework.data.elasticsearch.core.query.Query
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Service
;
...
...
@@ -46,6 +54,7 @@ import tech.tablesaw.api.Table;
import
java.io.File
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.time.format.DateTimeFormatter
;
import
java.util.*
;
import
java.util.concurrent.*
;
import
java.util.stream.Collectors
;
...
...
@@ -136,6 +145,12 @@ public class CommonServiceImpl {
@Autowired
private
ElasticsearchRestTemplate
elasticsearchTemplate
;
@Autowired
private
FanHealthIndexMapper
fanHealthIndexMapper
;
@Autowired
private
PvHealthIndexMapper
pvHealthIndexMapper
;
/**
* @return
* @deprecated 获取工况变量列表风机
...
...
@@ -1439,6 +1454,7 @@ public class CommonServiceImpl {
return
;
}
Date
time
=
new
Date
();
String
format
=
DateUtil
.
format
(
time
,
DatePattern
.
NORM_DATETIME_PATTERN
);
Calendar
calendar
=
Calendar
.
getInstance
();
List
<
IdxBizFanPointProcessVariableClassificationDto
>
data
=
idxBizFanPointProcessVariableClassificationMapper
.
getInfluxDBData
();
Map
<
String
,
List
<
IdxBizFanPointProcessVariableClassificationDto
>>
maps
=
data
.
stream
().
collect
(
Collectors
.
groupingBy
(
IdxBizFanPointProcessVariableClassificationDto:
:
getGatewayId
));
...
...
@@ -1622,7 +1638,7 @@ public class CommonServiceImpl {
query
.
eq
(
IdxBizFanHealthLevel:
:
getAnalysisObjType
,
"测点"
);
query
.
in
(
IdxBizFanHealthLevel:
:
getStatus
,
stations
);
List
<
IdxBizFanHealthLevel
>
idxBizFanHealthLevels
=
idxBizFanHealthLevelMapper
.
selectList
(
query
);
ArrayList
<
FanHealthIndex
>
fanHealthIndices1
=
new
ArrayList
<>();
for
(
IdxBizFanPointProcessVariableClassification
obj
:
list
)
{
for
(
int
i
=
0
;
i
<
analysisVariableIdArray
.
size
();
i
++)
{
if
(
analysisVariableIdArray
.
get
(
i
).
toString
().
equals
(
obj
.
getSequenceNbr
()))
{
...
...
@@ -1654,10 +1670,22 @@ public class CommonServiceImpl {
}
idxBizFanHealthIndex
.
setANALYSISTIME
(
DateUtils
.
getDateNowString
());
idxBizFanHealthIndexs
.
add
(
idxBizFanHealthIndex
);
FanHealthIndex
fanHealthIndex
=
new
FanHealthIndex
();
BeanUtil
.
copyProperties
(
idxBizFanHealthIndex
,
fanHealthIndex
);
fanHealthIndex
.
setWeight
(
idxBizFanHealthIndex
.
getWeigth
());
fanHealthIndex
.
setAnomaly
(
idxBizFanHealthIndex
.
getANOMALY
());
fanHealthIndex
.
setRecDate
(
DateUtil
.
now
());
fanHealthIndex
.
setArea
(
idxBizFanHealthIndex
.
getArae
());
fanHealthIndex
.
setAnalysisTime
(
DateUtil
.
now
());
fanHealthIndex
.
setHealthLevel
(
fanHealthIndex
.
getHealthLevel
());
fanHealthIndex
.
setKks
(
idxBizFanHealthIndex
.
getKks
());
fanHealthIndex
.
setRecDate
(
format
);
fanHealthIndices1
.
add
(
fanHealthIndex
);
}
}
}
idxBizFanHealthIndexService
.
saveBatch
(
idxBizFanHealthIndexs
);
fanHealthIndexMapper
.
saveBatchHealthIndexList
(
fanHealthIndices1
,
"fan_health_index_moment"
);
}
try
{
...
...
@@ -1682,6 +1710,7 @@ public class CommonServiceImpl {
}
Calendar
calendar
=
Calendar
.
getInstance
();
Date
time
=
new
Date
();
String
format
=
DateUtil
.
format
(
time
,
DatePattern
.
NORM_DATETIME_PATTERN
);
List
<
IdxBizPvPointProcessVariableClassificationDto
>
data
=
idxBizPvPointProcessVariableClassificationMapper
.
getInfluxDBData
();
Map
<
String
,
List
<
IdxBizPvPointProcessVariableClassificationDto
>>
maps
=
data
.
stream
().
collect
(
Collectors
.
groupingBy
(
IdxBizPvPointProcessVariableClassificationDto:
:
getGatewayId
));
// BoolQueryBuilder boolMustAll = QueryBuilders.boolQuery();
...
...
@@ -1843,6 +1872,7 @@ public class CommonServiceImpl {
List
<
IdxBizPvHealthIndex
>
idxBizPvHealthIndexs
=
new
ArrayList
<>();
ArrayList
<
PvHealthIndex
>
fanHealthIndices1
=
new
ArrayList
<>();
for
(
IdxBizPvPointProcessVariableClassification
obj
:
list
)
{
for
(
int
i
=
0
;
i
<
analysisVariableIdArray
.
size
();
i
++)
{
if
(
analysisVariableIdArray
.
get
(
i
).
toString
().
equals
(
obj
.
getSequenceNbr
()))
{
...
...
@@ -1868,10 +1898,22 @@ public class CommonServiceImpl {
idxBizPvHealthIndex
.
setANOMALY
(
scoreValueArray
.
getDoubleValue
(
i
));
idxBizPvHealthIndex
.
setANALYSISTIME
(
DateUtils
.
getDateNowString
());
idxBizPvHealthIndexs
.
add
(
idxBizPvHealthIndex
);
PvHealthIndex
pvHealthIndex
=
new
PvHealthIndex
();
BeanUtil
.
copyProperties
(
idxBizPvHealthIndex
,
pvHealthIndex
);
pvHealthIndex
.
setWeight
(
idxBizPvHealthIndex
.
getWeigth
());
pvHealthIndex
.
setAnomaly
(
idxBizPvHealthIndex
.
getANOMALY
());
pvHealthIndex
.
setRecDate
(
DateUtil
.
now
());
pvHealthIndex
.
setArea
(
idxBizPvHealthIndex
.
getArae
());
pvHealthIndex
.
setAnalysisTime
(
DateUtil
.
now
());
pvHealthIndex
.
setHealthLevel
(
idxBizPvHealthIndex
.
getHealthLevel
());
pvHealthIndex
.
setKks
(
idxBizPvHealthIndex
.
getKks
());
pvHealthIndex
.
setRecDate
(
format
);
fanHealthIndices1
.
add
(
pvHealthIndex
);
}
}
}
idxBizPvHealthIndexService
.
saveBatch
(
idxBizPvHealthIndexs
);
pvHealthIndexMapper
.
saveBatchHealthIndexList
(
fanHealthIndices1
,
"pv_health_index_moment"
);
}
try
{
logger
.
info
(
"--------------------response: "
+
response
);
...
...
@@ -1879,7 +1921,6 @@ public class CommonServiceImpl {
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
}
healthStatusIndicatorService
.
healthWarningMinuteGF
(
calendar
,
time
);
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/tdMapper2/FanHealthIndexMapper.java
View file @
db66972c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
tdMapper2
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.jxiop.biz.entity.IdxBizFanHealthIndex
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdengine.FanHealthIndex
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
public
interface
FanHealthIndexMapper
extends
BaseMapper
<
FanHealthIndex
>
{
int
saveBatchHealthIndexList
(
@Param
(
"list"
)
List
<
FanHealthIndex
>
list
,
@Param
(
"tableName"
)
String
tableName
);
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/tdMapper2/PvHealthIndexMapper.java
View file @
db66972c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
tdMapper2
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.jxiop.biz.entity.IdxBizFanHealthIndex
;
import
com.yeejoin.amos.boot.module.jxiop.biz.entity.IdxBizPvHealthIndex
;
import
com.yeejoin.amos.boot.module.jxiop.biz.tdengine.PvHealthIndex
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
public
interface
PvHealthIndexMapper
extends
BaseMapper
<
PvHealthIndex
>
{
int
saveBatchHealthIndexList
(
@Param
(
"list"
)
List
<
PvHealthIndex
>
list
,
@Param
(
"tableName"
)
String
tableName
);
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/tdengine/FanHealthIndex.java
View file @
db66972c
...
...
@@ -7,7 +7,7 @@ import java.io.Serializable;
import
java.util.Date
;
@Data
@TableName
(
value
=
"fan_health_index"
,
autoResultMap
=
true
)
@TableName
(
value
=
"fan_health_index
_data
"
,
autoResultMap
=
true
)
public
class
FanHealthIndex
implements
Serializable
{
private
Long
ts
;
private
String
recDate
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/tdengine/PvHealthIndex.java
View file @
db66972c
...
...
@@ -10,7 +10,7 @@ import lombok.Data;
* @date 2023-08-15
*/
@Data
@TableName
(
value
=
"pv_health_index"
,
autoResultMap
=
true
)
@TableName
(
value
=
"pv_health_index
_data
"
,
autoResultMap
=
true
)
public
class
PvHealthIndex
{
private
Long
ts
;
private
String
recDate
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/application-dev.properties
View file @
db66972c
...
...
@@ -79,7 +79,7 @@ spring.db3.datasource.driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
# 分析专用td数据库 analyse_data
#spring.db4.datasource.type: com.alibaba.druid.pool.DruidDataSource
spring.db4.datasource.url
=
jdbc:TAOS-RS://139.9.170.47:6041/analys
e
_data?user=root&password=taosdata&timezone=GMT%2b8&allowMultiQueries=true
spring.db4.datasource.url
=
jdbc:TAOS-RS://139.9.170.47:6041/analys
is
_data?user=root&password=taosdata&timezone=GMT%2b8&allowMultiQueries=true
spring.db4.datasource.username
=
root
spring.db4.datasource.password
=
taosdata
spring.db4.datasource.driver-class-name
:
com.taosdata.jdbc.rs.RestfulDriver
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/tdengine2/FanHealthIndex.xml
View file @
db66972c
...
...
@@ -2,4 +2,34 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jxiop.biz.tdMapper2.FanHealthIndexMapper"
>
<insert
id=
"saveBatchHealthIndexList"
>
insert into
<foreach
collection=
"list"
separator=
","
item=
"item"
index=
"index"
>
${tableName}
using fan_health_index_data TAGS (#{item.analysisType})
values
(
now + #{index}a,
#{item.recDate, jdbcType=VARCHAR},
#{item.analysisObjType, jdbcType=VARCHAR},
#{item.analysisObjSeq, jdbcType=VARCHAR},
#{item.weight, jdbcType=FLOAT},
#{item.healthIndex, jdbcType=FLOAT},
#{item.healthLevel, jdbcType=VARCHAR},
#{item.analysisStartTime, jdbcType=VARCHAR},
#{item.analysisEndTime, jdbcType=VARCHAR},
#{item.area, jdbcType=VARCHAR},
#{item.station, jdbcType=VARCHAR},
#{item.subSystem, jdbcType=VARCHAR},
#{item.number, jdbcType=VARCHAR},
#{item.equipmentName, jdbcType=VARCHAR},
#{item.gatewayId, jdbcType=VARCHAR},
#{item.indexAddress, jdbcType=VARCHAR},
#{item.anomaly, jdbcType=FLOAT},
#{item.pointName, jdbcType=VARCHAR},
#{item.analysisTime, jdbcType=VARCHAR},
#{item.kks, jdbcType=VARCHAR}
)
</foreach>
</insert>
</mapper>
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/tdengine2/PvHealthIndex.xml
View file @
db66972c
...
...
@@ -2,4 +2,35 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jxiop.biz.tdMapper2.PvHealthIndexMapper"
>
<insert
id=
"saveBatchHealthIndexList"
>
insert into
<foreach
collection=
"list"
separator=
","
item=
"item"
index=
"index"
>
${tableName}
using pv_health_index_data TAGS (#{item.analysisType})
values
(
now,
#{item.recDate, jdbcType=VARCHAR},
#{item.analysisObjType, jdbcType=VARCHAR},
#{item.analysisObjSeq, jdbcType=VARCHAR},
#{item.weight, jdbcType=FLOAT},
#{item.healthIndex, jdbcType=FLOAT},
#{item.healthLevel, jdbcType=VARCHAR},
#{item.analysisStartTime, jdbcType=VARCHAR},
#{item.analysisEndTime, jdbcType=VARCHAR},
#{item.area, jdbcType=VARCHAR},
#{item.station, jdbcType=VARCHAR},
#{item.subarray, jdbcType=VARCHAR},
#{item.manufacturer, jdbcType=VARCHAR},
#{item.deviceType, jdbcType=VARCHAR},
#{item.equipmentName, jdbcType=VARCHAR},
#{item.gatewayId, jdbcType=VARCHAR},
#{item.indexAddress, jdbcType=VARCHAR},
#{item.anomaly, jdbcType=FLOAT},
#{item.pointName, jdbcType=VARCHAR},
#{item.analysisTime, jdbcType=VARCHAR},
#{item.kks, jdbcType=VARCHAR},
)
</foreach>
</insert>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment