[6.6.0]数据闭环
This commit is contained in:
@@ -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>
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user