select id, direct_id, type_id, ma_id, create_time, update_time, direct_num from wh_direct_apply_details insert into wh_direct_apply_details direct_id, type_id, ma_id, create_time, update_time, direct_num, #{directId}, #{typeId}, #{maId}, #{createTime}, #{updateTime}, #{directNum}, update wh_direct_apply_details direct_id = #{directId}, type_id = #{typeId}, ma_id = #{maId}, create_time = #{createTime}, update_time = #{updateTime}, direct_num = #{directNum}, where id = #{id} delete from wh_direct_apply_details where id = #{id} delete from wh_direct_apply_details where id in #{id}