select id, addtime,update_time, after_coin, agent_id, ambient, coin, coin_type, coin_give,platform_service_rate,platform_service, is_agent, is_delete, is_water, money, opt_type, opt_user, orderno, pid, pid_level1, pid_level2, pid_level3, pid_level4, remarks, rule_id, status, touid, trade_no, type, uid,channel_id from app_users_charge insert into app_users_charge id, addtime, update_time, after_coin, agent_id, ambient, coin, coin_type, coin_give, platform_service, platform_service_rate, is_agent, is_delete, is_water, money, opt_type, opt_user, orderno, pid, pid_level1, pid_level2, pid_level3, pid_level4, remarks, rule_id, status, touid, trade_no, type, uid, channel_id, #{id}, #{addtime}, #{updateTime}, #{afterCoin}, #{agentId}, #{ambient}, #{coin}, #{coinType}, #{coinGive}, #{platformService}, #{platformServiceRate}, #{isAgent}, #{isDelete}, #{isWater}, #{money}, #{optType}, #{optUser}, #{orderno}, #{pid}, #{pidLevel1}, #{pidLevel2}, #{pidLevel3}, #{pidLevel4}, #{remarks}, #{ruleId}, #{status}, #{touid}, #{tradeNo}, #{type}, #{uid}, #{channelId}, update app_users_charge addtime = #{addtime}, update_time = #{updateTime}, after_coin = #{afterCoin}, agent_id = #{agentId}, ambient = #{ambient}, coin = #{coin}, coin_type = #{coinType}, coin_give = #{coinGive}, platform_service = #{platformService}, platform_service_rate = #{platformServiceRate}, is_agent = #{isAgent}, is_delete = #{isDelete}, is_water = #{isWater}, money = #{money}, opt_type = #{optType}, opt_user = #{optUser}, orderno = #{orderno}, pid = #{pid}, pid_level1 = #{pidLevel1}, pid_level2 = #{pidLevel2}, pid_level3 = #{pidLevel3}, pid_level4 = #{pidLevel4}, remarks = #{remarks}, rule_id = #{ruleId}, status = #{status}, touid = #{touid}, trade_no = #{tradeNo}, type = #{type}, uid = #{uid}, channel_id = #{channelId}, where id = #{id} delete from app_users_charge where id = #{id} delete from app_users_charge where id in #{id} update sys_sequence set next_val = next_val + 2 where sequence_name = 'app_users_charge' SELECT next_val FROM sys_sequence WHERE sequence_name = 'app_users_charge'