| package com.xzx.gc.order.mapper; | 
|   | 
| import com.xzx.gc.entity.AddressInfo; | 
| import com.xzx.gc.model.admin.UserAddressModel; | 
| 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; | 
|   | 
| @Repository | 
| public interface AddressMapper extends GcMapper<AddressInfo> { | 
|   | 
|     List<AddressVo> queryAreaIdByName(AddressReq addressReq); | 
|   | 
|     UserAddressModel queryUserAddressInfo(@Param("userId") String userId, @Param("mobilePhone") String mobilePhone); | 
|   | 
|     int insertUserAddress(UserAddressModel model); | 
| } |