xiaoyong931011
2021-07-07 46dc84c9fb9aa7a53ff1c2479de66275115b0b87
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);
}