1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.example.pickerviewlibrary.picker.util;
|
| import androidx.room.Dao;
| import androidx.room.Query;
|
| import com.example.pickerviewlibrary.picker.entity.AddressBean;
|
| import java.util.List;
|
| /**
| * Copyright (C), 2023,
| * Author: zuo
| * Date: 2023-11-08 22:36
| * Description:
| */
| @Dao
| public interface AddressDao {
| @Query("select * from area_code where pcode = :pcode")
| List<AddressBean> findByPcode(String pcode);
| }
|
|