Browse Source

上传rpc接口

NorthLan 6 years ago
parent
commit
2f55712f7c
1 changed files with 26 additions and 0 deletions
  1. 26 0
      zen-api/src/main/kotlin/com/gxzc/zen/rpc/api/RUploadService.kt

+ 26 - 0
zen-api/src/main/kotlin/com/gxzc/zen/rpc/api/RUploadService.kt

@@ -0,0 +1,26 @@
+package com.gxzc.zen.rpc.api
+
+import com.gxzc.zen.api.sys.model.SysUploadInfo
+
+/**
+ *
+ * @author NorthLan
+ * @date 2018/6/20
+ * @url https://noahlan.com
+ */
+interface RUploadService {
+    /**
+    * 获取某上传批次所有文件数据
+    */
+    fun getUploadInfosByBatchId(batchId: String): MutableList<SysUploadInfo>
+
+    /**
+     * 通过id获取单条 文件数据
+     */
+    fun getUploadInfoById(id: Long): SysUploadInfo?
+
+    /**
+     * 通过ids获取 文件数据 列表
+     */
+    fun getUploadInfoListByIdList(ids: Collection<Long>): MutableList<SysUploadInfo>
+}