|
@@ -71,7 +71,7 @@
|
|
|
</delete>
|
|
|
|
|
|
<delete id="delEventRawDataList">
|
|
|
- <if test="rawDataList!= null and rawDataList.size() >0">
|
|
|
+ <if test="idList!= null and idList.size() >0">
|
|
|
delete
|
|
|
from t_event_raw_data
|
|
|
where id IN
|
|
@@ -82,15 +82,15 @@
|
|
|
</delete>
|
|
|
|
|
|
<delete id="delEventRawDataListByIndex">
|
|
|
- <if test="idList!= null and idList.size() >0">
|
|
|
+ <if test="indexList!= null and indexList.size() >0">
|
|
|
delete
|
|
|
from t_event_raw_data
|
|
|
where item_group_id = #{item.itemGroupId}
|
|
|
and data_source_id = #{dataSourceId}
|
|
|
and item_name = #{item.itemReadName}
|
|
|
and value_belong_time = #{valueBelongTime} and item_index not IN
|
|
|
- <foreach collection="idList" item="id" separator="," open="(" close=")">
|
|
|
- #{id}
|
|
|
+ <foreach collection="indexList" item="index" separator="," open="(" close=")">
|
|
|
+ #{index}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</delete>
|