package com.xzx.gc.user.mapper; import com.xzx.gc.entity.AddressInfo; import com.xzx.gc.model.user.AddressReq; import com.xzx.gc.model.user.AddressVo; import com.xzx.gc.util.GcMapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Repository public interface AddressMapper extends GcMapper { List addressQuery(AddressReq addressReq); List queryAreaIdByName(AddressReq addressReq); List queryAreaIdById(AddressReq addressReq); int updateAddressFlag(AddressReq addressReq); int deleteAddress(Long addressId); int autoSetDefaultAddress(String userId); List> queryCuserAddress(@Param("phone") String phone, @Param("userId") String userId); }