package com.matrix.system.shopXcx.dao; import com.matrix.core.pojo.PaginationVO; import com.matrix.system.shopXcx.bean.ShopReceiveAddress; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * @description 收货地址 * @author jiangyouyao * @date 2019-06-06 10:21 */ public interface ShopReceiveAddressDao{ public int insert(@Param("item") ShopReceiveAddress shopReceiveAddress); public int batchInsert(@Param("list") List shopReceiveAddressList); public int updateByMap(Map modifyMap); public int updateByModel(@Param("record") ShopReceiveAddress shopReceiveAddress); public int deleteByIds(@Param("list") List list); public int deleteById(Integer addrId); public int deleteByModel(@Param("record") ShopReceiveAddress shopReceiveAddress); public List selectInPage(@Param("record") ShopReceiveAddress shopReceiveAddress, @Param("pageVo") PaginationVO pageVo); public List selectByModel(@Param("record") ShopReceiveAddress shopReceiveAddress); public int selectTotalRecord(@Param("record") ShopReceiveAddress shopReceiveAddress); public ShopReceiveAddress selectById(Integer addrId); public ShopReceiveAddress selectForUpdate(Integer addrId); public ShopReceiveAddress selectDefaultAddress(String openId); }