select id, name, code, classify_id, game_date, game_time, up_item, logo_url, live_img_url, my_img_url, game_path, status, create_time, orderno, enable, betting_count, game_expand1, game_expand2, game_expand3, game_expand4 from app_game insert into app_game id, name, code, classify_id, game_date, game_time, up_item, logo_url, live_img_url, my_img_url, game_path, status, create_time, orderno, enable, betting_count, game_expand1, game_expand2, game_expand3, game_expand4, #{id}, #{name}, #{code}, #{classifyId}, #{gameDate}, #{gameTime}, #{upItem}, #{logoUrl}, #{liveImgUrl}, #{myImgUrl}, #{gamePath}, #{status}, #{createTime}, #{orderno}, #{enable}, #{bettingCount}, #{gameExpand1}, #{gameExpand2}, #{gameExpand3}, #{gameExpand4}, update app_game name = #{name}, code = #{code}, classify_id = #{classifyId}, game_date = #{gameDate}, game_time = #{gameTime}, up_item = #{upItem}, logo_url = #{logoUrl}, live_img_url = #{liveImgUrl}, my_img_url = #{myImgUrl}, game_path = #{gamePath}, status = #{status}, create_time = #{createTime}, orderno = #{orderno}, enable = #{enable}, betting_count = #{bettingCount}, game_expand1 = #{gameExpand1}, game_expand2 = #{gameExpand2}, game_expand3 = #{gameExpand3}, game_expand4 = #{gameExpand4}, where id = #{id} delete from app_game where id = #{id} delete from app_game where id in #{id}