xiaoyong931011
2021-06-28 910ca2f0f8594a1353f822d653c88a7924902217
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}