package com.cyksj.mapper.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyksj.model.entity.OrderDonPost;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author chan
 * @date 2023/7/10 14:43
 */
public interface OrderDonPostMapper extends BaseMapper<OrderDonPost> {

    @Update("update order_don_post o set o.status = 1  where o.order_id = #{orderId}")
    void updateStatus(@Param("orderId") Long orderId);
}
