[6.6.0]数据闭环

This commit is contained in:
xuxinchao
2024-08-15 10:22:00 +08:00
parent 92f6f4dc99
commit 4e95a07d54
29 changed files with 1581 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
package com.mogo.eagle.core.function.api.datacenter.takeover
import android.content.Context
import com.mogo.eagle.core.data.deva.report.TakeOverRecordInfo
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
/**
* 接管记录数据中心
*/
interface ITakeOverProvider: IMoGoFunctionServerProvider {
/**
* 插入接管记录数据
*/
fun insertRecord(context: Context, takeOverRecordInfo: TakeOverRecordInfo)
/**
* 修改接管记录数据
*/
fun updateRecord(context: Context,takeOverRecordInfo: TakeOverRecordInfo)
/**
* 删除接管记录
*/
fun deleteRecord(context: Context, takeOverRecordInfo: TakeOverRecordInfo)
/**
* 删除所有接管数据
*/
fun deleteAllRecord(context: Context)
/**
* 获取接管记录列表
*/
suspend fun getAllRecord(context: Context): List<TakeOverRecordInfo>
}