select wtur_no, data_time, theorypower, is_limit, wtgstate, data_flag from wtg_theorypower_data SELECT seq_wtg_theorypower_data.NEXTVAL as wturNo FROM DUAL insert into wtg_theorypower_data wtur_no, data_time, theorypower, is_limit, wtgstate, data_flag, #{wturNo}, #{dataTime}, #{theorypower}, #{isLimit}, #{wtgstate}, #{dataFlag}, update wtg_theorypower_data data_time = #{dataTime}, theorypower = #{theorypower}, is_limit = #{isLimit}, wtgstate = #{wtgstate}, data_flag = #{dataFlag}, where wtur_no = #{wturNo} delete from wtg_theorypower_data where wtur_no = #{wturNo} delete from wtg_theorypower_data where wtur_no in #{wturNo}