package com.ruoyi.frequency.mallorderstatus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.mallorderstatus.entity.MallOrderStatus;

import java.util.List;

/**
 * 订单流程Mapper接口
 *
 * @author liwenlong
 * @date 2024-01-25
 */
public interface MallOrderStatusMapper  extends BaseMapper<MallOrderStatus>
{
    /**
     * 查询订单流程
     *
     * @param id 订单流程主键
     * @return 订单流程
     */
    public MallOrderStatus selectMallOrderStatusById(Long id);

    /**
     * 查询订单流程列表
     *
     * @param mallOrderStatus 订单流程
     * @return 订单流程集合
     */
    public List<MallOrderStatus> selectMallOrderStatusList(MallOrderStatus mallOrderStatus);

    /**
     * 新增订单流程
     *
     * @param mallOrderStatus 订单流程
     * @return 结果
     */
    public int insertMallOrderStatus(MallOrderStatus mallOrderStatus);

    /**
     * 修改订单流程
     *
     * @param mallOrderStatus 订单流程
     * @return 结果
     */
    public int updateMallOrderStatus(MallOrderStatus mallOrderStatus);

}
