左晓为主开发手持机充值管理机
zuoxiao
2024-04-25 8d53327d1b3df1aea5f9eb9fa22c644ccfeeabf1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.dayu.henanlibrary.dao;
 
import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.OnConflictStrategy;
import androidx.room.Query;
import androidx.room.Update;
 
import com.dayu.henanlibrary.dbBean.IpBean;
 
/**
 * Copyright (C), 2023,
 * Author: zuo
 * Date: 2023-11-09 11:57
 * Description:
 */
@Dao
public interface IpDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    void insert(IpBean IpBean);
 
    @Update
    void update(IpBean IpBean);
 
    @Delete
    void delete(IpBean IpBean);
 
    @Query("select  * from IpBean limit 1")
    IpBean findFirst();
}