[6.6.0]接管原因数据库
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.mogo.eagle.core.function.api.datacenter.takeover
|
||||
|
||||
import android.content.Context
|
||||
import com.mogo.eagle.core.data.deva.report.CategoryInfo
|
||||
import com.mogo.eagle.core.data.deva.report.TakeOverRecordInfo
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
|
||||
@@ -34,4 +35,28 @@ interface ITakeOverProvider: IMoGoFunctionServerProvider {
|
||||
*/
|
||||
suspend fun getAllRecord(context: Context): MutableList<TakeOverRecordInfo>
|
||||
|
||||
/**
|
||||
* 插入接管原因
|
||||
*/
|
||||
fun insertReason(context: Context,categoryInfo: CategoryInfo)
|
||||
|
||||
/**
|
||||
* 修改接管原因
|
||||
*/
|
||||
fun updateReason(context: Context,categoryInfo: CategoryInfo)
|
||||
|
||||
/**
|
||||
* 删除接管原因
|
||||
*/
|
||||
fun deleteReason(context: Context,categoryInfo: CategoryInfo)
|
||||
|
||||
/**
|
||||
* 获取接管原因列表
|
||||
*/
|
||||
suspend fun getAllReason(context: Context,parentId: Int,parentName: String): MutableList<CategoryInfo>
|
||||
|
||||
/**
|
||||
* 清空子数据
|
||||
*/
|
||||
fun deleteAllReason(context: Context,parentId: Int,parentName: String)
|
||||
}
|
||||
Reference in New Issue
Block a user