| package cc.mrbird.febs.mall.mapper; | 
|   | 
| import cc.mrbird.febs.mall.entity.MallAddressInfo; | 
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
|   | 
| public interface MallAddressInfoMapper extends BaseMapper<MallAddressInfo> { | 
|   | 
|     List<MallAddressInfo> selectAddressInfoListByMemberId(@Param("memberId") Long memberId); | 
|   | 
|     int updateIsDefault(@Param("isDefault") Integer isDefault, @Param("memberId") Long memberId, @Param("id") Long id); | 
|   | 
|     MallAddressInfo selectAddressInfoByMemberIdAndId(@Param("memberId") Long memberId, @Param("id") Long id); | 
| } |