xiaoyong931011
2023-08-15 642a3ec9b15d7cd853845590c2a044f4970b9358
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
}