|
@@ -25,13 +25,14 @@ public class OilService {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 删除已入库的杂波数据
|
|
|
+ * 删除已入库的杂波数据(2022.6.13 改为标记删除)
|
|
|
* @param dtuNum
|
|
|
* @param startTime
|
|
|
* @param endTime
|
|
|
*/
|
|
|
public void deleteWave(String dtuNum,Date startTime,Date endTime){
|
|
|
- String sql="delete from t_oil_history_2 where dtu_num=? and data_time between ? and ?";
|
|
|
+ //String sql="delete from t_oil_history_2 where dtu_num=? and data_time between ? and ?";
|
|
|
+ String sql="update t_oil_history_2 set noise_if=1 where dtu_num=? and data_time between ? and ?";
|
|
|
dao.getJdbcTemplate().update(sql,dtuNum,startTime,endTime);
|
|
|
}
|
|
|
|