Browse Source

重构sys

NorthLan 7 years ago
parent
commit
56f81e9920
87 changed files with 115 additions and 129 deletions
  1. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesClassificationMapper.kt
  2. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesDocumentMapper.kt
  3. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesElectronicRecordMapper.kt
  4. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesFileMapper.kt
  5. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesFileNoteMapper.kt
  6. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesRelationMapper.kt
  7. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesTypeMapper.kt
  8. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrFondsMapper.kt
  9. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesClassification.kt
  10. 5 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesDocument.kt
  11. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesElectronicRecord.kt
  12. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesFile.kt
  13. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesFileNote.kt
  14. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesRelation.kt
  15. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesType.kt
  16. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrFonds.kt
  17. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesClassificationService.kt
  18. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesDocumentService.kt
  19. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesElectronicRecordService.kt
  20. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesFileNoteService.kt
  21. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesFileService.kt
  22. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesRelationService.kt
  23. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesTypeService.kt
  24. 2 5
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrFondsService.kt
  25. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesClassificationServiceImpl.kt
  26. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesDocumentServiceImpl.kt
  27. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesElectronicRecordServiceImpl.kt
  28. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesFileNoteServiceImpl.kt
  29. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesFileServiceImpl.kt
  30. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesRelationServiceImpl.kt
  31. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesTypeServiceImpl.kt
  32. 3 27
      zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrFondsServiceImpl.kt
  33. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysDeptMapper.kt
  34. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysDeptUserMapper.kt
  35. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysDicMapper.kt
  36. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysEventLoginMapper.kt
  37. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysEventOperMapper.kt
  38. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysMenuMapper.kt
  39. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysNoticeMapper.kt
  40. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysParamMapper.kt
  41. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysPermissionMapper.kt
  42. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysRoleMapper.kt
  43. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysRolePermissionMapper.kt
  44. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysUserMapper.kt
  45. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysUserRoleMapper.kt
  46. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysDept.kt
  47. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysDeptUser.kt
  48. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysDic.kt
  49. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysEventLogin.kt
  50. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysEventOper.kt
  51. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysMenu.kt
  52. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysNotice.kt
  53. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysParam.kt
  54. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysPermission.kt
  55. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysRole.kt
  56. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysRolePermission.kt
  57. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysUser.kt
  58. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysUserRole.kt
  59. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysDeptService.kt
  60. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysDeptUserService.kt
  61. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysDicService.kt
  62. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysEventLoginService.kt
  63. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysEventOperService.kt
  64. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysMenuService.kt
  65. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysNoticeService.kt
  66. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysParamService.kt
  67. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysPermissionService.kt
  68. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysRolePermissionService.kt
  69. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysRoleService.kt
  70. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysUserRoleService.kt
  71. 2 2
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysUserService.kt
  72. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysDeptServiceImpl.kt
  73. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysDeptUserServiceImpl.kt
  74. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysDicServiceImpl.kt
  75. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysEventLoginServiceImpl.kt
  76. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysEventOperServiceImpl.kt
  77. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysMenuServiceImpl.kt
  78. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysNoticeServiceImpl.kt
  79. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysParamServiceImpl.kt
  80. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysPermissionServiceImpl.kt
  81. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysRolePermissionServiceImpl.kt
  82. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysRoleServiceImpl.kt
  83. 1 1
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysUserRoleServiceImpl.kt
  84. 4 9
      zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysUserServiceImpl.kt
  85. 1 0
      zen-api/src/main/resources/mapping/bus/MgrArchivesDocumentMapper.xml
  86. 13 0
      zen-core/src/main/kotlin/com/gxzc/zen/common/contants/CACHEKEYS.kt
  87. 6 6
      zen-orm/src/main/kotlin/com/gxzc/zen/Generator.kt

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesClassificationMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrArchivesClassificationMapper : BaseMapper<MgrArchivesClassification>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesDocumentMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrArchivesDocumentMapper : BaseMapper<MgrArchivesDocument>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesElectronicRecordMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrArchivesElectronicRecordMapper : BaseMapper<MgrArchivesElectronicRecord>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesFileMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrArchivesFileMapper : BaseMapper<MgrArchivesFile>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesFileNoteMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrArchivesFileNoteMapper : BaseMapper<MgrArchivesFileNote>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesRelationMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrArchivesRelationMapper : BaseMapper<MgrArchivesRelation>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrArchivesTypeMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrArchivesTypeMapper : BaseMapper<MgrArchivesType>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/mapper/MgrFondsMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface MgrFondsMapper : BaseMapper<MgrFonds>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesClassification.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_archives_classification")
 data class MgrArchivesClassification(

+ 5 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesDocument.kt

@@ -10,10 +10,14 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_archives_document")
 data class MgrArchivesDocument(
+        /**
+         * 案卷id
+         */
+        var fileId: Long? = null,
         /**
          * 归档人
          */

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesElectronicRecord.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_archives_electronic_record")
 data class MgrArchivesElectronicRecord(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesFile.kt

@@ -11,7 +11,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_archives_file")
 data class MgrArchivesFile(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesFileNote.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_archives_file_note")
 data class MgrArchivesFileNote(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesRelation.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_archives_relation")
 data class MgrArchivesRelation(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrArchivesType.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_archives_type")
 data class MgrArchivesType(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/model/MgrFonds.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("mgr_fonds")
 data class MgrFonds(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesClassificationService.kt

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface IMgrArchivesClassificationService : BaseService<MgrArchivesClassification>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesDocumentService.kt

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface IMgrArchivesDocumentService : BaseService<MgrArchivesDocument>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesElectronicRecordService.kt

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface IMgrArchivesElectronicRecordService : BaseService<MgrArchivesElectronicRecord>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesFileNoteService.kt

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface IMgrArchivesFileNoteService : BaseService<MgrArchivesFileNote>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesFileService.kt

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface IMgrArchivesFileService : BaseService<MgrArchivesFile>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesRelationService.kt

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface IMgrArchivesRelationService : BaseService<MgrArchivesRelation>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrArchivesTypeService.kt

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface IMgrArchivesTypeService : BaseService<MgrArchivesType>

+ 2 - 5
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/IMgrFondsService.kt

@@ -2,15 +2,12 @@ package com.gxzc.zen.api.bus.service
 
 import com.gxzc.zen.api.bus.model.MgrFonds
 import com.gxzc.zen.common.base.BaseService
-
 /**
  * <p>
  * 全宗表 服务类
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
-interface IMgrFondsService : BaseService<MgrFonds> {
-    fun testTransaction()
-}
+interface IMgrFondsService : BaseService<MgrFonds>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesClassificationServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrArchivesClassificationServiceImpl : ServiceImpl<MgrArchivesClassificationMapper, MgrArchivesClassification>(), IMgrArchivesClassificationService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesDocumentServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrArchivesDocumentServiceImpl : ServiceImpl<MgrArchivesDocumentMapper, MgrArchivesDocument>(), IMgrArchivesDocumentService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesElectronicRecordServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrArchivesElectronicRecordServiceImpl : ServiceImpl<MgrArchivesElectronicRecordMapper, MgrArchivesElectronicRecord>(), IMgrArchivesElectronicRecordService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesFileNoteServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrArchivesFileNoteServiceImpl : ServiceImpl<MgrArchivesFileNoteMapper, MgrArchivesFileNote>(), IMgrArchivesFileNoteService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesFileServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrArchivesFileServiceImpl : ServiceImpl<MgrArchivesFileMapper, MgrArchivesFile>(), IMgrArchivesFileService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesRelationServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrArchivesRelationServiceImpl : ServiceImpl<MgrArchivesRelationMapper, MgrArchivesRelation>(), IMgrArchivesRelationService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrArchivesTypeServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrArchivesTypeServiceImpl : ServiceImpl<MgrArchivesTypeMapper, MgrArchivesType>(), IMgrArchivesTypeService {

+ 3 - 27
zen-api/src/main/kotlin/com/gxzc/zen/api/bus/service/impl/MgrFondsServiceImpl.kt

@@ -1,13 +1,9 @@
 package com.gxzc.zen.api.bus.service.impl
 
-import com.baomidou.mybatisplus.service.impl.ServiceImpl
-import com.gxzc.zen.api.bus.mapper.MgrFondsMapper
 import com.gxzc.zen.api.bus.model.MgrFonds
+import com.gxzc.zen.api.bus.mapper.MgrFondsMapper
 import com.gxzc.zen.api.bus.service.IMgrFondsService
-import com.gxzc.zen.api.sys.model.SysParam
-import com.gxzc.zen.api.sys.service.ISysParamService
-import com.gxzc.zen.orm.annotation.MultiTransactional
-import org.springframework.beans.factory.annotation.Autowired
+import com.baomidou.mybatisplus.service.impl.ServiceImpl
 import org.springframework.stereotype.Service
 
 /**
@@ -16,29 +12,9 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class MgrFondsServiceImpl : ServiceImpl<MgrFondsMapper, MgrFonds>(), IMgrFondsService {
 
-    @Autowired
-    private lateinit var sysParamService: ISysParamService
-
-
-    @MultiTransactional(noRollbackFor = [RuntimeException::class])
-    override fun testTransaction() {
-        baseMapper.insert(MgrFonds().also {
-            it.fondsName = "2333"
-            it.fondsNo = "1"
-        })
-
-        sysParamService.insert(SysParam().also {
-            it.sort = 1
-            it.value = "val"
-            it.key = "key"
-        })
-
-        throw RuntimeException("test")
-    }
-
 }

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysDeptMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysDeptMapper : BaseMapper<SysDept>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysDeptUserMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysDeptUserMapper : BaseMapper<SysDeptUser>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysDicMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysDicMapper : BaseMapper<SysDic>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysEventLoginMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysEventLoginMapper : BaseMapper<SysEventLogin>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysEventOperMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysEventOperMapper : BaseMapper<SysEventOper>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysMenuMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysMenuMapper : BaseMapper<SysMenu>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysNoticeMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysNoticeMapper : BaseMapper<SysNotice>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysParamMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysParamMapper : BaseMapper<SysParam>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysPermissionMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysPermissionMapper : BaseMapper<SysPermission>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysRoleMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysRoleMapper : BaseMapper<SysRole>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysRolePermissionMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysRolePermissionMapper : BaseMapper<SysRolePermission>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysUserMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysUserMapper : BaseMapper<SysUser>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/mapper/SysUserRoleMapper.kt

@@ -9,7 +9,7 @@ import org.springframework.stereotype.Repository
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Repository
 interface SysUserRoleMapper : BaseMapper<SysUserRole>

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysDept.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_dept")
 data class SysDept(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysDeptUser.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_dept_user")
 data class SysDeptUser(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysDic.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_dic")
 data class SysDic(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysEventLogin.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_event_login")
 data class SysEventLogin(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysEventOper.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_event_oper")
 data class SysEventOper(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysMenu.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_menu")
 data class SysMenu(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysNotice.kt

@@ -10,7 +10,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_notice")
 data class SysNotice(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysParam.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_param")
 data class SysParam(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysPermission.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_permission")
 data class SysPermission(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysRole.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_role")
 data class SysRole(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysRolePermission.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_role_permission")
 data class SysRolePermission(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysUser.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_user")
 data class SysUser(

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysUserRole.kt

@@ -9,7 +9,7 @@ import com.gxzc.zen.common.base.BaseModel
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @TableName("sys_user_role")
 data class SysUserRole(

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysDeptService : BaseService<SysDept>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysDeptUserService : BaseService<SysDeptUser>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysDicService : BaseService<SysDic>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysEventLoginService : BaseService<SysEventLogin>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysEventOperService : BaseService<SysEventOper>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysMenuService : BaseService<SysMenu>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysNoticeService : BaseService<SysNotice>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysParamService : BaseService<SysParam>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysPermissionService : BaseService<SysPermission>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysRolePermissionService : BaseService<SysRolePermission>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysRoleService : BaseService<SysRole>

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

@@ -8,6 +8,6 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysUserRoleService : BaseService<SysUserRole>

+ 2 - 2
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/ISysUserService.kt

@@ -9,8 +9,8 @@ import com.gxzc.zen.common.base.BaseService
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 interface ISysUserService : BaseService<SysUser> {
-    fun selectListCacheable(): MutableList<SysUser>
+    fun getUserListCacheable(): MutableList<SysUser>
 }

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysDeptServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysDeptServiceImpl : ServiceImpl<SysDeptMapper, SysDept>(), ISysDeptService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysDeptUserServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysDeptUserServiceImpl : ServiceImpl<SysDeptUserMapper, SysDeptUser>(), ISysDeptUserService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysDicServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysDicServiceImpl : ServiceImpl<SysDicMapper, SysDic>(), ISysDicService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysEventLoginServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysEventLoginServiceImpl : ServiceImpl<SysEventLoginMapper, SysEventLogin>(), ISysEventLoginService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysEventOperServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysEventOperServiceImpl : ServiceImpl<SysEventOperMapper, SysEventOper>(), ISysEventOperService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysMenuServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysMenuServiceImpl : ServiceImpl<SysMenuMapper, SysMenu>(), ISysMenuService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysNoticeServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysNoticeServiceImpl : ServiceImpl<SysNoticeMapper, SysNotice>(), ISysNoticeService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysParamServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysParamServiceImpl : ServiceImpl<SysParamMapper, SysParam>(), ISysParamService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysPermissionServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysPermissionServiceImpl : ServiceImpl<SysPermissionMapper, SysPermission>(), ISysPermissionService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysRolePermissionServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysRolePermissionServiceImpl : ServiceImpl<SysRolePermissionMapper, SysRolePermission>(), ISysRolePermissionService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysRoleServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysRoleServiceImpl : ServiceImpl<SysRoleMapper, SysRole>(), ISysRoleService {

+ 1 - 1
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysUserRoleServiceImpl.kt

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysUserRoleServiceImpl : ServiceImpl<SysUserRoleMapper, SysUserRole>(), ISysUserRoleService {

+ 4 - 9
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/service/impl/SysUserServiceImpl.kt

@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.service.impl.ServiceImpl
 import com.gxzc.zen.api.sys.mapper.SysUserMapper
 import com.gxzc.zen.api.sys.model.SysUser
 import com.gxzc.zen.api.sys.service.ISysUserService
-import org.slf4j.LoggerFactory
+import com.gxzc.zen.common.contants.CACHEKEYS
 import org.springframework.cache.annotation.Cacheable
 import org.springframework.stereotype.Service
 
@@ -15,18 +15,13 @@ import org.springframework.stereotype.Service
  * </p>
  *
  * @author NorthLan123
- * @since 2018-02-03
+ * @since 2018-02-05
  */
 @Service
 class SysUserServiceImpl : ServiceImpl<SysUserMapper, SysUser>(), ISysUserService {
-    companion object {
-        private val logger = LoggerFactory.getLogger(SysUserServiceImpl::class.java)
-    }
 
-    @Cacheable("user")
-    override fun selectListCacheable(): MutableList<SysUser> {
-        logger.info("selectListCacheable!!!")
+    @Cacheable(CACHEKEYS.USER)
+    override fun getUserListCacheable(): MutableList<SysUser> {
         return baseMapper.selectList(EntityWrapper<SysUser>())
     }
-
 }

+ 1 - 0
zen-api/src/main/resources/mapping/bus/MgrArchivesDocumentMapper.xml

@@ -11,6 +11,7 @@
     <result column="create_time" property="createTime" />
     <result column="update_by" property="updateBy" />
     <result column="update_time" property="updateTime" />
+        <result column="file_id" property="fileId" />
         <result column="filing_by" property="filingBy" />
         <result column="filing_time" property="filingTime" />
         <result column="fonds_no" property="fondsNo" />

+ 13 - 0
zen-core/src/main/kotlin/com/gxzc/zen/common/contants/CACHEKEYS.kt

@@ -0,0 +1,13 @@
+package com.gxzc.zen.common.contants
+
+/**
+ * 缓存key 列表
+ * @author NorthLan
+ * @date 2018/2/5
+ * @url https://noahlan.com
+ */
+object CACHEKEYS {
+    const val USER = "user"
+    const val USER_ROLE = "user_role"
+    const val SYS_PERMISSION = "sys_permission"
+}

+ 6 - 6
zen-orm/src/main/kotlin/com/gxzc/zen/Generator.kt

@@ -25,12 +25,12 @@ fun main(args: Array<String>) {
             }
         }
         it.driverName = "com.mysql.jdbc.Driver"
-//        it.username = "archives"
-//        it.password = "archives"
-//        it.url = "jdbc:mysql://192.168.1.124:3307/archives_mgr?characterEncoding=utf8"
-        it.url = "jdbc:mysql://127.0.0.1:3306/archives_mgr?characterEncoding=utf8"
-        it.username = "root"
-        it.password = "root"
+        it.username = "archives"
+        it.password = "archives"
+        it.url = "jdbc:mysql://192.168.1.124:3307/archives_mgr?characterEncoding=utf8"
+//        it.url = "jdbc:mysql://127.0.0.1:3306/archives_mgr?characterEncoding=utf8"
+//        it.username = "root"
+//        it.password = "root"
     })
 }