package com.cyksj.mapper.advertisement;

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

/**
 * @author chan
 * @date 2023/5/16 11:04 AM
 */
public interface AdvertisementOrderPostMapper extends BaseMapper<AdvertisementOrderPost> {

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