package com.ruoyi.frequency.mallorderaddress.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.mallorderaddress.entity.MallOrderAddress;

import java.util.List;

/**
 * 订单地址Mapper接口
 *
 * @author liwenlong
 * @date 2024-01-25
 */
public interface MallOrderAddressMapper  extends BaseMapper<MallOrderAddress>
{
    /**
     * 查询订单地址
     *
     * @param id 订单地址主键
     * @return 订单地址
     */
    public MallOrderAddress selectMallOrderAddressById(Long id);

    /**
     * 查询订单地址列表
     *
     * @param mallOrderAddress 订单地址
     * @return 订单地址集合
     */
    public List<MallOrderAddress> selectMallOrderAddressList(MallOrderAddress mallOrderAddress);

    /**
     * 新增订单地址
     *
     * @param mallOrderAddress 订单地址
     * @return 结果
     */
    public int insertMallOrderAddress(MallOrderAddress mallOrderAddress);

    /**
     * 修改订单地址
     *
     * @param mallOrderAddress 订单地址
     * @return 结果
     */
    public int updateMallOrderAddress(MallOrderAddress mallOrderAddress);

}
