pull/84/head
kunfei 5 years ago
parent f370e83a3d
commit da0db2b6c0
  1. 8
      app/src/main/java/io/legado/app/data/dao/TxtTocRuleDao.kt

@ -1,11 +1,7 @@
package io.legado.app.data.dao package io.legado.app.data.dao
import androidx.room.Dao import androidx.room.*
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import io.legado.app.data.entities.TxtTocRule import io.legado.app.data.entities.TxtTocRule
import retrofit2.http.DELETE
@Dao @Dao
interface TxtTocRuleDao { interface TxtTocRuleDao {
@ -19,6 +15,6 @@ interface TxtTocRuleDao {
@Insert(onConflict = OnConflictStrategy.REPLACE) @Insert(onConflict = OnConflictStrategy.REPLACE)
fun insert(vararg rule: TxtTocRule) fun insert(vararg rule: TxtTocRule)
@DELETE @Delete
fun delete(vararg rule: TxtTocRule) fun delete(vararg rule: TxtTocRule)
} }
Loading…
Cancel
Save