Browse Source

移除多余代码

NorthLan 6 years ago
parent
commit
81b2b911d2

+ 0 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysUploadInfoService.kt

@@ -14,7 +14,6 @@ import java.io.File
  * @since 2018-06-01
  */
 interface ISysUploadInfoService : BaseService<SysUploadInfo> {
-    fun test()
     /**
      * 添加文件数据
      */

+ 0 - 3
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysUploadInfoServiceImpl.kt

@@ -21,9 +21,6 @@ import java.util.*
  */
 @Service
 class SysUploadInfoServiceImpl : ServiceImpl<SysUploadInfoMapper, SysUploadInfo>(), ISysUploadInfoService {
-    override fun test() {
-        baseMapper.test()
-    }
 
     override fun addUploadFileInfo(fileMetadata: ZenFileMetadata, file: File) {
         val entity = SysUploadInfo().apply {

+ 1 - 2
zen-web/src/main/kotlin/com/gxzc/zen/web/sys/controller/TestController.kt

@@ -23,7 +23,6 @@ class TestController : BaseController() {
 
     @GetMapping("a")
     fun a() {
-//        uploadService.getUploadInfoById(1L)
-        uploadService.test()
+        //        uploadService.test()
     }
 }