/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.seckill.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.seckill.comment.model.SeckillOrder;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 秒杀订单
 *
 * @author LGH
 * @date 2019-08-28 09:36:59
 */
public interface SeckillOrderMapper extends BaseMapper<SeckillOrder> {

    void updateStateByOrderNumber(@Param("orderNumber") String orderNumber, @Param("state") int state);

    void cancelUnpayOrderByOrderNumber(@Param("orderNumber") String orderNumber);

    void cancelUnpayOrder();

}
