yonge 5 yıl önce
ebeveyn
işleme
ee4f368580
85 değiştirilmiş dosya ile 5 ekleme ve 2652 silme
  1. 5 0
      edu-auth/edu-auth-server/pom.xml
  2. 0 9
      edu-common/src/main/java/com/keao/edu/common/dal/dao/DatabaseSourceDao.java
  3. 0 8
      edu-common/src/main/java/com/keao/edu/common/dal/dao/EmployeeDao.java
  4. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/HelpCenterCatalogDao.java
  5. 0 9
      edu-common/src/main/java/com/keao/edu/common/dal/dao/HelpCenterContentDao.java
  6. 0 8
      edu-common/src/main/java/com/keao/edu/common/dal/dao/StudentDao.java
  7. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysConfigDao.java
  8. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysMenuDao.java
  9. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysMessageConfigDao.java
  10. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysMessageDao.java
  11. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysNewsInformationDao.java
  12. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysOauthClientDetailsDao.java
  13. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysRoleDao.java
  14. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysRoleMenuDao.java
  15. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysSuggestionDao.java
  16. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysTaskDao.java
  17. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserContractsDao.java
  18. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserDao.java
  19. 0 10
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserLoginDao.java
  20. 0 9
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserLoginLogDao.java
  21. 0 9
      edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserRoleDao.java
  22. 0 8
      edu-common/src/main/java/com/keao/edu/common/dal/dao/TenantInfoDao.java
  23. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/DatabaseSourceService.java
  24. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/EmployeeService.java
  25. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/HelpCenterCatalogService.java
  26. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/HelpCenterContentService.java
  27. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/StudentService.java
  28. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/SysConfigService.java
  29. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysMenuService.java
  30. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysMessageConfigService.java
  31. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysMessageService.java
  32. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysNewsInformationService.java
  33. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysOauthClientDetailsService.java
  34. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysRoleMenuService.java
  35. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysRoleService.java
  36. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysSuggestionService.java
  37. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysTaskService.java
  38. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysUserContractsService.java
  39. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysUserLoginLogService.java
  40. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysUserLoginService.java
  41. 0 8
      edu-common/src/main/java/com/keao/edu/common/service/SysUserRoleService.java
  42. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/SysUserService.java
  43. 0 7
      edu-common/src/main/java/com/keao/edu/common/service/TenantInfoService.java
  44. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/DatabaseSourceServiceImpl.java
  45. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/EmployeeServiceImpl.java
  46. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/HelpCenterCatalogServiceImpl.java
  47. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/HelpCenterContentServiceImpl.java
  48. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/StudentServiceImpl.java
  49. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysConfigServiceImpl.java
  50. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysMenuServiceImpl.java
  51. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysMessageConfigServiceImpl.java
  52. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysMessageServiceImpl.java
  53. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysNewsInformationServiceImpl.java
  54. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysOauthClientDetailsServiceImpl.java
  55. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysRoleMenuServiceImpl.java
  56. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysRoleServiceImpl.java
  57. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysSuggestionServiceImpl.java
  58. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysTaskServiceImpl.java
  59. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserContractsServiceImpl.java
  60. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserLoginLogServiceImpl.java
  61. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserLoginServiceImpl.java
  62. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserRoleServiceImpl.java
  63. 0 22
      edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserServiceImpl.java
  64. 0 21
      edu-common/src/main/java/com/keao/edu/common/service/impl/TenantInfoServiceImpl.java
  65. 0 96
      edu-common/src/main/resources/config/mybatis/DatabaseSourceMapper.xml
  66. 0 108
      edu-common/src/main/resources/config/mybatis/EmployeeMapper.xml
  67. 0 84
      edu-common/src/main/resources/config/mybatis/HelpCenterCatalogMapper.xml
  68. 0 84
      edu-common/src/main/resources/config/mybatis/HelpCenterContentMapper.xml
  69. 0 42
      edu-common/src/main/resources/config/mybatis/StudentMapper.xml
  70. 0 80
      edu-common/src/main/resources/config/mybatis/SysConfigMapper.xml
  71. 0 116
      edu-common/src/main/resources/config/mybatis/SysMenuMapper.xml
  72. 0 84
      edu-common/src/main/resources/config/mybatis/SysMessageConfigMapper.xml
  73. 0 108
      edu-common/src/main/resources/config/mybatis/SysMessageMapper.xml
  74. 0 108
      edu-common/src/main/resources/config/mybatis/SysNewsInformationMapper.xml
  75. 0 96
      edu-common/src/main/resources/config/mybatis/SysOauthClientDetailsMapper.xml
  76. 0 84
      edu-common/src/main/resources/config/mybatis/SysRoleMapper.xml
  77. 0 60
      edu-common/src/main/resources/config/mybatis/SysRoleMenuMapper.xml
  78. 0 80
      edu-common/src/main/resources/config/mybatis/SysSuggestionMapper.xml
  79. 0 88
      edu-common/src/main/resources/config/mybatis/SysTaskMapper.xml
  80. 0 80
      edu-common/src/main/resources/config/mybatis/SysUserContractsMapper.xml
  81. 0 72
      edu-common/src/main/resources/config/mybatis/SysUserLoginLogMapper.xml
  82. 0 80
      edu-common/src/main/resources/config/mybatis/SysUserLoginMapper.xml
  83. 0 144
      edu-common/src/main/resources/config/mybatis/SysUserMapper.xml
  84. 0 60
      edu-common/src/main/resources/config/mybatis/SysUserRoleMapper.xml
  85. 0 88
      edu-common/src/main/resources/config/mybatis/TenantInfoMapper.xml

+ 5 - 0
edu-auth/edu-auth-server/pom.xml

@@ -16,6 +16,11 @@
 	</properties>
 	<dependencies>
 		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-web</artifactId>
+		</dependency>
+
+		<dependency>
 			<groupId>org.springframework.cloud</groupId>
 			<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
 		</dependency>

+ 0 - 9
edu-common/src/main/java/com/keao/edu/common/dal/dao/DatabaseSourceDao.java

@@ -1,9 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.DatabaseSource;
-
-public interface DatabaseSourceDao extends BaseDAO<Integer, DatabaseSource> {
-
-	
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/dal/dao/EmployeeDao.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.Employee;
-
-public interface EmployeeDao extends BaseDAO<Integer, Employee> {
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/HelpCenterCatalogDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.HelpCenterCatalog;
-
-public interface HelpCenterCatalogDao extends BaseDAO<Integer, HelpCenterCatalog> {
-
-	
-}

+ 0 - 9
edu-common/src/main/java/com/keao/edu/common/dal/dao/HelpCenterContentDao.java

@@ -1,9 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.HelpCenterContent;
-
-public interface HelpCenterContentDao extends BaseDAO<Integer, HelpCenterContent> {
-
-	
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/dal/dao/StudentDao.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.Student;
-
-public interface StudentDao extends BaseDAO<Integer, Student> {
-
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysConfigDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysConfig;
-
-public interface SysConfigDao extends BaseDAO<Long, SysConfig> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysMenuDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysMenu;
-
-public interface SysMenuDao extends BaseDAO<Integer, SysMenu> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysMessageConfigDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysMessageConfig;
-
-public interface SysMessageConfigDao extends BaseDAO<Integer, SysMessageConfig> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysMessageDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysMessage;
-
-public interface SysMessageDao extends BaseDAO<Long, SysMessage> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysNewsInformationDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysNewsInformation;
-
-public interface SysNewsInformationDao extends BaseDAO<Long, SysNewsInformation> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysOauthClientDetailsDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysOauthClientDetails;
-
-public interface SysOauthClientDetailsDao extends BaseDAO<String, SysOauthClientDetails> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysRoleDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysRole;
-
-public interface SysRoleDao extends BaseDAO<Integer, SysRole> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysRoleMenuDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysRoleMenu;
-
-public interface SysRoleMenuDao extends BaseDAO<Integer, SysRoleMenu> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysSuggestionDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysSuggestion;
-
-public interface SysSuggestionDao extends BaseDAO<Long, SysSuggestion> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysTaskDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysTask;
-
-public interface SysTaskDao extends BaseDAO<Integer, SysTask> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserContractsDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysUserContracts;
-
-public interface SysUserContractsDao extends BaseDAO<Long, SysUserContracts> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysUser;
-
-public interface SysUserDao extends BaseDAO<Integer, SysUser> {
-
-	
-}

+ 0 - 10
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserLoginDao.java

@@ -1,10 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysUserLogin;
-
-public interface SysUserLoginDao extends BaseDAO<Integer, SysUserLogin> {
-
-	
-}

+ 0 - 9
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserLoginLogDao.java

@@ -1,9 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysUserLoginLog;
-
-public interface SysUserLoginLogDao extends BaseDAO<Long, SysUserLoginLog> {
-
-	
-}

+ 0 - 9
edu-common/src/main/java/com/keao/edu/common/dal/dao/SysUserRoleDao.java

@@ -1,9 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.SysUserRole;
-
-public interface SysUserRoleDao extends BaseDAO<Integer, SysUserRole> {
-
-	
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/dal/dao/TenantInfoDao.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.dal.dao;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.entity.TenantInfo;
-
-public interface TenantInfoDao extends BaseDAO<Integer, TenantInfo> {
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/DatabaseSourceService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.DatabaseSource;
-
-public interface DatabaseSourceService extends BaseService<Integer, DatabaseSource> {
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/EmployeeService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.Employee;
-
-public interface EmployeeService extends BaseService<Integer, Employee> {
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/HelpCenterCatalogService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.HelpCenterCatalog;
-
-public interface HelpCenterCatalogService extends BaseService<Integer, HelpCenterCatalog> {
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/HelpCenterContentService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.HelpCenterContent;
-
-public interface HelpCenterContentService extends BaseService<Integer, HelpCenterContent> {
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/StudentService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.Student;
-
-public interface StudentService extends BaseService<Integer,Student>{
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/SysConfigService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.SysConfig;
-
-public interface SysConfigService extends BaseService<Long, SysConfig> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysMenuService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysMenu;
-
-public interface SysMenuService extends BaseService<Integer, SysMenu> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysMessageConfigService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysMessageConfig;
-
-public interface SysMessageConfigService extends BaseService<Integer, SysMessageConfig> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysMessageService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysMessage;
-
-public interface SysMessageService extends BaseService<Long, SysMessage> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysNewsInformationService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysNewsInformation;
-
-public interface SysNewsInformationService extends BaseService<Long, SysNewsInformation> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysOauthClientDetailsService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysOauthClientDetails;
-
-public interface SysOauthClientDetailsService extends BaseService<String, SysOauthClientDetails> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysRoleMenuService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysRoleMenu;
-
-public interface SysRoleMenuService extends BaseService<Integer, SysRoleMenu> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysRoleService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysRole;
-
-public interface SysRoleService extends BaseService<Integer, SysRole> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysSuggestionService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysSuggestion;
-
-public interface SysSuggestionService extends BaseService<Long, SysSuggestion> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysTaskService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysTask;
-
-public interface SysTaskService extends BaseService<Integer, SysTask> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysUserContractsService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysUserContracts;
-
-public interface SysUserContractsService extends BaseService<Long, SysUserContracts> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysUserLoginLogService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysUserLoginLog;
-
-public interface SysUserLoginLogService extends BaseService<Long, SysUserLoginLog> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysUserLoginService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysUserLogin;
-
-public interface SysUserLoginService extends BaseService<Integer, SysUserLogin> {
-
-}

+ 0 - 8
edu-common/src/main/java/com/keao/edu/common/service/SysUserRoleService.java

@@ -1,8 +0,0 @@
-package com.keao.edu.common.service;
-
-
-import com.keao.edu.common.entity.SysUserRole;
-
-public interface SysUserRoleService extends BaseService<Integer, SysUserRole> {
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/SysUserService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.SysUser;
-
-public interface SysUserService extends BaseService<Integer, SysUser> {
-
-}

+ 0 - 7
edu-common/src/main/java/com/keao/edu/common/service/TenantInfoService.java

@@ -1,7 +0,0 @@
-package com.keao.edu.common.service;
-
-import com.keao.edu.common.entity.TenantInfo;
-
-public interface TenantInfoService extends BaseService<Integer, TenantInfo> {
-
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/DatabaseSourceServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.DatabaseSourceDao;
-import com.keao.edu.common.entity.DatabaseSource;
-import com.keao.edu.common.service.DatabaseSourceService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class DatabaseSourceServiceImpl extends BaseServiceImpl<Integer, DatabaseSource>  implements DatabaseSourceService {
-	
-	@Autowired
-	private DatabaseSourceDao databaseSourceDao;
-
-	@Override
-	public BaseDAO<Integer, DatabaseSource> getDAO() {
-		return databaseSourceDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/EmployeeServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.EmployeeDao;
-import com.keao.edu.common.entity.Employee;
-import com.keao.edu.common.service.EmployeeService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class EmployeeServiceImpl extends BaseServiceImpl<Integer, Employee>  implements EmployeeService {
-	
-	@Autowired
-	private EmployeeDao employeeDao;
-
-	@Override
-	public BaseDAO<Integer, Employee> getDAO() {
-		return employeeDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/HelpCenterCatalogServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.HelpCenterCatalogDao;
-import com.keao.edu.common.entity.HelpCenterCatalog;
-import com.keao.edu.common.service.HelpCenterCatalogService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class HelpCenterCatalogServiceImpl extends BaseServiceImpl<Integer, HelpCenterCatalog>  implements HelpCenterCatalogService {
-	
-	@Autowired
-	private HelpCenterCatalogDao helpCenterCatalogDao;
-
-	@Override
-	public BaseDAO<Integer, HelpCenterCatalog> getDAO() {
-		return helpCenterCatalogDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/HelpCenterContentServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.HelpCenterContentDao;
-import com.keao.edu.common.entity.HelpCenterContent;
-import com.keao.edu.common.service.HelpCenterContentService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class HelpCenterContentServiceImpl extends BaseServiceImpl<Integer, HelpCenterContent>  implements HelpCenterContentService {
-	
-	@Autowired
-	private HelpCenterContentDao helpCenterContentDao;
-
-	@Override
-	public BaseDAO<Integer, HelpCenterContent> getDAO() {
-		return helpCenterContentDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/StudentServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.StudentDao;
-import com.keao.edu.common.entity.Student;
-import com.keao.edu.common.service.StudentService;
-import com.keao.edu.common.service.impl.BaseServiceImpl;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implements StudentService{
-
-	@Autowired
-	private StudentDao studentDao;
-
-	@Override
-	public BaseDAO<Integer, Student> getDAO() {
-		return studentDao;
-	}
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/SysConfigServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysConfigDao;
-import com.keao.edu.common.entity.SysConfig;
-import com.keao.edu.common.service.SysConfigService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysConfigServiceImpl extends BaseServiceImpl<Long, SysConfig>  implements SysConfigService {
-	
-	@Autowired
-	private SysConfigDao sysConfigDao;
-
-	@Override
-	public BaseDAO<Long, SysConfig> getDAO() {
-		return sysConfigDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysMenuServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysMenuDao;
-import com.keao.edu.common.entity.SysMenu;
-import com.keao.edu.common.service.SysMenuService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysMenuServiceImpl extends BaseServiceImpl<Integer, SysMenu>  implements SysMenuService {
-	
-	@Autowired
-	private SysMenuDao sysMenuDao;
-
-	@Override
-	public BaseDAO<Integer, SysMenu> getDAO() {
-		return sysMenuDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysMessageConfigServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysMessageConfigDao;
-import com.keao.edu.common.entity.SysMessageConfig;
-import com.keao.edu.common.service.SysMessageConfigService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysMessageConfigServiceImpl extends BaseServiceImpl<Integer, SysMessageConfig>  implements SysMessageConfigService {
-	
-	@Autowired
-	private SysMessageConfigDao sysMessageConfigDao;
-
-	@Override
-	public BaseDAO<Integer, SysMessageConfig> getDAO() {
-		return sysMessageConfigDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysMessageServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysMessageDao;
-import com.keao.edu.common.entity.SysMessage;
-import com.keao.edu.common.service.SysMessageService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysMessageServiceImpl extends BaseServiceImpl<Long, SysMessage>  implements SysMessageService {
-	
-	@Autowired
-	private SysMessageDao sysMessageDao;
-
-	@Override
-	public BaseDAO<Long, SysMessage> getDAO() {
-		return sysMessageDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysNewsInformationServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysNewsInformationDao;
-import com.keao.edu.common.entity.SysNewsInformation;
-import com.keao.edu.common.service.SysNewsInformationService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysNewsInformationServiceImpl extends BaseServiceImpl<Long, SysNewsInformation>  implements SysNewsInformationService {
-	
-	@Autowired
-	private SysNewsInformationDao sysNewsInformationDao;
-
-	@Override
-	public BaseDAO<Long, SysNewsInformation> getDAO() {
-		return sysNewsInformationDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysOauthClientDetailsServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysOauthClientDetailsDao;
-import com.keao.edu.common.entity.SysOauthClientDetails;
-import com.keao.edu.common.service.SysOauthClientDetailsService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysOauthClientDetailsServiceImpl extends BaseServiceImpl<String, SysOauthClientDetails>  implements SysOauthClientDetailsService {
-	
-	@Autowired
-	private SysOauthClientDetailsDao sysOauthClientDetailsDao;
-
-	@Override
-	public BaseDAO<String, SysOauthClientDetails> getDAO() {
-		return sysOauthClientDetailsDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysRoleMenuServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysRoleMenuDao;
-import com.keao.edu.common.entity.SysRoleMenu;
-import com.keao.edu.common.service.SysRoleMenuService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysRoleMenuServiceImpl extends BaseServiceImpl<Integer, SysRoleMenu>  implements SysRoleMenuService {
-	
-	@Autowired
-	private SysRoleMenuDao sysRoleMenuDao;
-
-	@Override
-	public BaseDAO<Integer, SysRoleMenu> getDAO() {
-		return sysRoleMenuDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysRoleServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysRoleDao;
-import com.keao.edu.common.entity.SysRole;
-import com.keao.edu.common.service.SysRoleService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysRoleServiceImpl extends BaseServiceImpl<Integer, SysRole>  implements SysRoleService {
-	
-	@Autowired
-	private SysRoleDao sysRoleDao;
-
-	@Override
-	public BaseDAO<Integer, SysRole> getDAO() {
-		return sysRoleDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/SysSuggestionServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysSuggestionDao;
-import com.keao.edu.common.entity.SysSuggestion;
-import com.keao.edu.common.service.SysSuggestionService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysSuggestionServiceImpl extends BaseServiceImpl<Long, SysSuggestion>  implements SysSuggestionService {
-	
-	@Autowired
-	private SysSuggestionDao sysSuggestionDao;
-
-	@Override
-	public BaseDAO<Long, SysSuggestion> getDAO() {
-		return sysSuggestionDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/SysTaskServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysTaskDao;
-import com.keao.edu.common.entity.SysTask;
-import com.keao.edu.common.service.SysTaskService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysTaskServiceImpl extends BaseServiceImpl<Integer, SysTask>  implements SysTaskService {
-	
-	@Autowired
-	private SysTaskDao sysTaskDao;
-
-	@Override
-	public BaseDAO<Integer, SysTask> getDAO() {
-		return sysTaskDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserContractsServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysUserContractsDao;
-import com.keao.edu.common.entity.SysUserContracts;
-import com.keao.edu.common.service.SysUserContractsService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysUserContractsServiceImpl extends BaseServiceImpl<Long, SysUserContracts>  implements SysUserContractsService {
-	
-	@Autowired
-	private SysUserContractsDao sysUserContractsDao;
-
-	@Override
-	public BaseDAO<Long, SysUserContracts> getDAO() {
-		return sysUserContractsDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserLoginLogServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysUserLoginLogDao;
-import com.keao.edu.common.entity.SysUserLoginLog;
-import com.keao.edu.common.service.SysUserLoginLogService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysUserLoginLogServiceImpl extends BaseServiceImpl<Long, SysUserLoginLog>  implements SysUserLoginLogService {
-	
-	@Autowired
-	private SysUserLoginLogDao sysUserLoginLogDao;
-
-	@Override
-	public BaseDAO<Long, SysUserLoginLog> getDAO() {
-		return sysUserLoginLogDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserLoginServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysUserLoginDao;
-import com.keao.edu.common.entity.SysUserLogin;
-import com.keao.edu.common.service.SysUserLoginService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysUserLoginServiceImpl extends BaseServiceImpl<Integer, SysUserLogin>  implements SysUserLoginService {
-	
-	@Autowired
-	private SysUserLoginDao sysUserLoginDao;
-
-	@Override
-	public BaseDAO<Integer, SysUserLogin> getDAO() {
-		return sysUserLoginDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserRoleServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysUserRoleDao;
-import com.keao.edu.common.entity.SysUserRole;
-import com.keao.edu.common.service.SysUserRoleService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysUserRoleServiceImpl extends BaseServiceImpl<Integer, SysUserRole>  implements SysUserRoleService {
-	
-	@Autowired
-	private SysUserRoleDao sysUserRoleDao;
-
-	@Override
-	public BaseDAO<Integer, SysUserRole> getDAO() {
-		return sysUserRoleDao;
-	}
-	
-}

+ 0 - 22
edu-common/src/main/java/com/keao/edu/common/service/impl/SysUserServiceImpl.java

@@ -1,22 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.SysUserDao;
-import com.keao.edu.common.entity.SysUser;
-import com.keao.edu.common.service.SysUserService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SysUserServiceImpl extends BaseServiceImpl<Integer, SysUser>  implements SysUserService {
-	
-	@Autowired
-	private SysUserDao sysUserDao;
-
-	@Override
-	public BaseDAO<Integer, SysUser> getDAO() {
-		return sysUserDao;
-	}
-	
-}

+ 0 - 21
edu-common/src/main/java/com/keao/edu/common/service/impl/TenantInfoServiceImpl.java

@@ -1,21 +0,0 @@
-package com.keao.edu.common.service.impl;
-
-import com.keao.edu.common.dal.BaseDAO;
-import com.keao.edu.common.dal.dao.TenantInfoDao;
-import com.keao.edu.common.entity.TenantInfo;
-import com.keao.edu.common.service.TenantInfoService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-@Service
-public class TenantInfoServiceImpl extends BaseServiceImpl<Integer, TenantInfo>  implements TenantInfoService {
-	
-	@Autowired
-	private TenantInfoDao tenantInfoDao;
-
-	@Override
-	public BaseDAO<Integer, TenantInfo> getDAO() {
-		return tenantInfoDao;
-	}
-	
-}

+ 0 - 96
edu-common/src/main/resources/config/mybatis/DatabaseSourceMapper.xml

@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.DatabaseSourceDao">
-	
-	<resultMap type="com.keao.edu.common.entity.DatabaseSource" id="DatabaseSource">
-		<result column="id_" property="id" />
-		<result column="tenant_id_" property="tenantId" />
-		<result column="driver_" property="driver" />
-		<result column="url_" property="url" />
-		<result column="username_" property="username" />
-		<result column="password_" property="password" />
-		<result column="type_" property="type" />
-		<result column="memo_" property="memo" />
-		<result column="del_flag_" property="delFlag" />
-		<result column="create_time_" property="createTime" />
-		<result column="update_time_" property="updateTime" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="DatabaseSource" >
-		SELECT * FROM database_source WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="DatabaseSource">
-		SELECT * FROM database_source ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.DatabaseSource" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO database_source (id_,tenant_id_,driver_,url_,username_,password_,type_,memo_,del_flag_,create_time_,update_time_) VALUES(#{id},#{tenantId},#{driver},#{url},#{username},#{password},#{type},#{memo},#{delFlag},#{createTime},#{updateTime})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.DatabaseSource">
-		UPDATE database_source <set>
-<if test="delFlag != null">
-del_flag_ = #{delFlag},
-</if>
-<if test="driver != null">
-driver_ = #{driver},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="tenantId != null">
-tenant_id_ = #{tenantId},
-</if>
-<if test="url != null">
-url_ = #{url},
-</if>
-<if test="updateTime != null">
-update_time_ = #{updateTime},
-</if>
-<if test="password != null">
-password_ = #{password},
-</if>
-<if test="memo != null">
-memo_ = #{memo},
-</if>
-<if test="username != null">
-username_ = #{username},
-</if>
-<if test="type != null">
-type_ = #{type},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM database_source WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="DatabaseSource" parameterType="map">
-		SELECT * FROM database_source ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM database_source
-	</select>
-</mapper>

+ 0 - 108
edu-common/src/main/resources/config/mybatis/EmployeeMapper.xml

@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.EmployeeDao">
-	
-	<resultMap type="com.keao.edu.common.entity.Employee" id="Employee">
-		<result column="user_id_" property="userId" />
-		<result column="job_nature_" property="jobNature" />
-		<result column="education_background_" property="educationBackground" />
-		<result column="graduate_school_" property="graduateSchool" />
-		<result column="technical_titles_" property="technicalTitles" />
-		<result column="entry_date_" property="entryDate" />
-		<result column="certificate_type_" property="certificateType" />
-		<result column="certificate_num_" property="certificateNum" />
-		<result column="update_time_" property="updateTime" />
-		<result column="create_time_" property="createTime" />
-		<result column="introduction_" property="introduction" />
-		<result column="demission_date_" property="demissionDate" />
-		<result column="contact_address_" property="contactAddress" />
-		<result column="postal_code_" property="postalCode" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="Employee" >
-		SELECT * FROM employee WHERE user_id_ = #{userId} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="Employee">
-		SELECT * FROM employee ORDER BY user_id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.Employee" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO employee (user_id_,job_nature_,education_background_,graduate_school_,technical_titles_,entry_date_,certificate_type_,certificate_num_,update_time_,create_time_,introduction_,demission_date_,contact_address_,postal_code_) VALUES(#{userId},#{jobNature},#{educationBackground},#{graduateSchool},#{technicalTitles},#{entryDate},#{certificateType},#{certificateNum},#{updateTime},#{createTime},#{introduction},#{demissionDate},#{contactAddress},#{postalCode})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.Employee">
-		UPDATE employee <set>
-<if test="graduateSchool != null">
-graduate_school_ = #{graduateSchool},
-</if>
-<if test="introduction != null">
-introduction_ = #{introduction},
-</if>
-<if test="postalCode != null">
-postal_code_ = #{postalCode},
-</if>
-<if test="technicalTitles != null">
-technical_titles_ = #{technicalTitles},
-</if>
-<if test="entryDate != null">
-entry_date_ = #{entryDate},
-</if>
-<if test="contactAddress != null">
-contact_address_ = #{contactAddress},
-</if>
-<if test="jobNature != null">
-job_nature_ = #{jobNature},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-<if test="userId != null">
-user_id_ = #{userId},
-</if>
-<if test="certificateType != null">
-certificate_type_ = #{certificateType},
-</if>
-<if test="updateTime != null">
-update_time_ = #{updateTime},
-</if>
-<if test="educationBackground != null">
-education_background_ = #{educationBackground},
-</if>
-<if test="certificateNum != null">
-certificate_num_ = #{certificateNum},
-</if>
-<if test="demissionDate != null">
-demission_date_ = #{demissionDate},
-</if>
-</set> WHERE user_id_ = #{userId} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM employee WHERE user_id_ = #{userId} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="Employee" parameterType="map">
-		SELECT * FROM employee ORDER BY user_id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM employee
-	</select>
-</mapper>

+ 0 - 84
edu-common/src/main/resources/config/mybatis/HelpCenterCatalogMapper.xml

@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.HelpCenterCatalogDao">
-	
-	<resultMap type="com.keao.edu.common.entity.HelpCenterCatalog" id="HelpCenterCatalog">
-		<result column="id_" property="id" />
-		<result column="parent_id_" property="parentId" />
-		<result column="name_" property="name" />
-		<result column="description_" property="description" />
-		<result column="create_on_" property="createOn" />
-		<result column="modify_on_" property="modifyOn" />
-		<result column="order_" property="order" />
-		<result column="status_" property="status" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="HelpCenterCatalog" >
-		SELECT * FROM help_center_catalog WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="HelpCenterCatalog">
-		SELECT * FROM help_center_catalog ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.HelpCenterCatalog" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO help_center_catalog (id_,parent_id_,name_,description_,create_on_,modify_on_,order_,status_) VALUES(#{id},#{parentId},#{name},#{description},#{createOn},#{modifyOn},#{order},#{status})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.HelpCenterCatalog">
-		UPDATE help_center_catalog <set>
-<if test="parentId != null">
-parent_id_ = #{parentId},
-</if>
-<if test="status != null">
-status_ = #{status},
-</if>
-<if test="modifyOn != null">
-modify_on_ = #{modifyOn},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="description != null">
-description_ = #{description},
-</if>
-<if test="createOn != null">
-create_on_ = #{createOn},
-</if>
-<if test="order != null">
-order_ = #{order},
-</if>
-<if test="name != null">
-name_ = #{name},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM help_center_catalog WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="HelpCenterCatalog" parameterType="map">
-		SELECT * FROM help_center_catalog ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM help_center_catalog
-	</select>
-</mapper>

+ 0 - 84
edu-common/src/main/resources/config/mybatis/HelpCenterContentMapper.xml

@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.HelpCenterContentDao">
-	
-	<resultMap type="com.keao.edu.common.entity.HelpCenterContent" id="HelpCenterContent">
-		<result column="id_" property="id" />
-		<result column="title_" property="title" />
-		<result column="content_" property="content" />
-		<result column="catalog_id_" property="catalogId" />
-		<result column="create_on_" property="createOn" />
-		<result column="modify_on_" property="modifyOn" />
-		<result column="status_" property="status" />
-		<result column="order_" property="order" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="HelpCenterContent" >
-		SELECT * FROM help_center_content WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="HelpCenterContent">
-		SELECT * FROM help_center_content ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.HelpCenterContent" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO help_center_content (id_,title_,content_,catalog_id_,create_on_,modify_on_,status_,order_) VALUES(#{id},#{title},#{content},#{catalogId},#{createOn},#{modifyOn},#{status},#{order})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.HelpCenterContent">
-		UPDATE help_center_content <set>
-<if test="status != null">
-status_ = #{status},
-</if>
-<if test="catalogId != null">
-catalog_id_ = #{catalogId},
-</if>
-<if test="modifyOn != null">
-modify_on_ = #{modifyOn},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="title != null">
-title_ = #{title},
-</if>
-<if test="content != null">
-content_ = #{content},
-</if>
-<if test="createOn != null">
-create_on_ = #{createOn},
-</if>
-<if test="order != null">
-order_ = #{order},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM help_center_content WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="HelpCenterContent" parameterType="map">
-		SELECT * FROM help_center_content ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM help_center_content
-	</select>
-</mapper>

+ 0 - 42
edu-common/src/main/resources/config/mybatis/StudentMapper.xml

@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.StudentDao">
-	
-	<resultMap type="com.keao.edu.common.entity.Student" id="Student">
-		<result column="user_id_" property="userId" />
-		<result column="create_time_" property="createTime" />
-		<result column="update_time_" property="updateTime" />
-	</resultMap>
-	
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="Student">
-		SELECT * FROM student
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.Student" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO student (user_id_,create_time_,update_time_) VALUES(#{userId},#{createTime},#{updateTime})
-	</insert>
-	
-	
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="Student" parameterType="map">
-		SELECT * FROM student <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM student
-	</select>
-</mapper>

+ 0 - 80
edu-common/src/main/resources/config/mybatis/SysConfigMapper.xml

@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysConfigDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysConfig" id="SysConfig">
-		<result column="id_" property="id" />
-		<result column="param_name_" property="paramName" />
-		<result column="paran_value_" property="paranValue" />
-		<result column="description_" property="description" />
-		<result column="create_on_" property="createOn" />
-		<result column="modify_on_" property="modifyOn" />
-		<result column="group_" property="group" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysConfig" >
-		SELECT * FROM sys_config WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysConfig">
-		SELECT * FROM sys_config ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysConfig" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_config (id_,param_name_,paran_value_,description_,create_on_,modify_on_,group_) VALUES(#{id},#{paramName},#{paranValue},#{description},#{createOn},#{modifyOn},#{group})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysConfig">
-		UPDATE sys_config <set>
-<if test="modifyOn != null">
-modify_on_ = #{modifyOn},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="paranValue != null">
-paran_value_ = #{paranValue},
-</if>
-<if test="description != null">
-description_ = #{description},
-</if>
-<if test="createOn != null">
-create_on_ = #{createOn},
-</if>
-<if test="group != null">
-group_ = #{group},
-</if>
-<if test="paramName != null">
-param_name_ = #{paramName},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_config WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysConfig" parameterType="map">
-		SELECT * FROM sys_config ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_config
-	</select>
-</mapper>

+ 0 - 116
edu-common/src/main/resources/config/mybatis/SysMenuMapper.xml

@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysMenuDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysMenu" id="SysMenu">
-		<result column="id_" property="id" />
-		<result column="name_" property="name" />
-		<result column="permission_" property="permission" />
-		<result column="parent_permission_" property="parentPermission" />
-		<result column="path_" property="path" />
-		<result column="parent_id_" property="parentId" />
-		<result column="icon_" property="icon" />
-		<result column="component_" property="component" />
-		<result column="sort_" property="sort" />
-		<result column="keep_alive_" property="keepAlive" />
-		<result column="type_" property="type" />
-		<result column="create_time_" property="createTime" />
-		<result column="update_time_" property="updateTime" />
-		<result column="del_flag_" property="delFlag" />
-		<result column="hidden_" property="hidden" />
-		<result column="memo_" property="memo" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysMenu" >
-		SELECT * FROM sys_menu WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysMenu">
-		SELECT * FROM sys_menu ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysMenu" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_menu (id_,name_,permission_,parent_permission_,path_,parent_id_,icon_,component_,sort_,keep_alive_,type_,create_time_,update_time_,del_flag_,hidden_,memo_) VALUES(#{id},#{name},#{permission},#{parentPermission},#{path},#{parentId},#{icon},#{component},#{sort},#{keepAlive},#{type},#{createTime},#{updateTime},#{delFlag},#{hidden},#{memo})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysMenu">
-		UPDATE sys_menu <set>
-<if test="parentId != null">
-parent_id_ = #{parentId},
-</if>
-<if test="delFlag != null">
-del_flag_ = #{delFlag},
-</if>
-<if test="keepAlive != null">
-keep_alive_ = #{keepAlive},
-</if>
-<if test="permission != null">
-permission_ = #{permission},
-</if>
-<if test="path != null">
-path_ = #{path},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="sort != null">
-sort_ = #{sort},
-</if>
-<if test="memo != null">
-memo_ = #{memo},
-</if>
-<if test="name != null">
-name_ = #{name},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-<if test="icon != null">
-icon_ = #{icon},
-</if>
-<if test="hidden != null">
-hidden_ = #{hidden},
-</if>
-<if test="component != null">
-component_ = #{component},
-</if>
-<if test="updateTime != null">
-update_time_ = #{updateTime},
-</if>
-<if test="parentPermission != null">
-parent_permission_ = #{parentPermission},
-</if>
-<if test="type != null">
-type_ = #{type},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_menu WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysMenu" parameterType="map">
-		SELECT * FROM sys_menu ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_menu
-	</select>
-</mapper>

+ 0 - 84
edu-common/src/main/resources/config/mybatis/SysMessageConfigMapper.xml

@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysMessageConfigDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysMessageConfig" id="SysMessageConfig">
-		<result column="id_" property="id" />
-		<result column="message_type_" property="messageType" />
-		<result column="content_" property="content" />
-		<result column="description_" property="description" />
-		<result column="modify_on_" property="modifyOn" />
-		<result column="url_" property="url" />
-		<result column="group_" property="group" />
-		<result column="send_flag_" property="sendFlag" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysMessageConfig" >
-		SELECT * FROM sys_message_config WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysMessageConfig">
-		SELECT * FROM sys_message_config ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysMessageConfig" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_message_config (id_,message_type_,content_,description_,modify_on_,url_,group_,send_flag_) VALUES(#{id},#{messageType},#{content},#{description},#{modifyOn},#{url},#{group},#{sendFlag})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysMessageConfig">
-		UPDATE sys_message_config <set>
-<if test="modifyOn != null">
-modify_on_ = #{modifyOn},
-</if>
-<if test="messageType != null">
-message_type_ = #{messageType},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="url != null">
-url_ = #{url},
-</if>
-<if test="sendFlag != null">
-send_flag_ = #{sendFlag},
-</if>
-<if test="content != null">
-content_ = #{content},
-</if>
-<if test="description != null">
-description_ = #{description},
-</if>
-<if test="group != null">
-group_ = #{group},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_message_config WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysMessageConfig" parameterType="map">
-		SELECT * FROM sys_message_config ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_message_config
-	</select>
-</mapper>

+ 0 - 108
edu-common/src/main/resources/config/mybatis/SysMessageMapper.xml

@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysMessageDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysMessage" id="SysMessage">
-		<result column="id_" property="id" />
-		<result column="title_" property="title" />
-		<result column="content_" property="content" />
-		<result column="type_" property="type" />
-		<result column="status_" property="status" />
-		<result column="receiver_" property="receiver" />
-		<result column="send_time_" property="sendTime" />
-		<result column="error_msg_" property="errorMsg" />
-		<result column="create_on_" property="createOn" />
-		<result column="modify_on_" property="modifyOn" />
-		<result column="user_id_" property="userId" />
-		<result column="memo_" property="memo" />
-		<result column="read_status_" property="readStatus" />
-		<result column="group_" property="group" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysMessage" >
-		SELECT * FROM sys_message WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysMessage">
-		SELECT * FROM sys_message ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysMessage" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_message (id_,title_,content_,type_,status_,receiver_,send_time_,error_msg_,create_on_,modify_on_,user_id_,memo_,read_status_,group_) VALUES(#{id},#{title},#{content},#{type},#{status},#{receiver},#{sendTime},#{errorMsg},#{createOn},#{modifyOn},#{userId},#{memo},#{readStatus},#{group})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysMessage">
-		UPDATE sys_message <set>
-<if test="status != null">
-status_ = #{status},
-</if>
-<if test="receiver != null">
-receiver_ = #{receiver},
-</if>
-<if test="modifyOn != null">
-modify_on_ = #{modifyOn},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="sendTime != null">
-send_time_ = #{sendTime},
-</if>
-<if test="readStatus != null">
-read_status_ = #{readStatus},
-</if>
-<if test="content != null">
-content_ = #{content},
-</if>
-<if test="memo != null">
-memo_ = #{memo},
-</if>
-<if test="userId != null">
-user_id_ = #{userId},
-</if>
-<if test="errorMsg != null">
-error_msg_ = #{errorMsg},
-</if>
-<if test="title != null">
-title_ = #{title},
-</if>
-<if test="createOn != null">
-create_on_ = #{createOn},
-</if>
-<if test="group != null">
-group_ = #{group},
-</if>
-<if test="type != null">
-type_ = #{type},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_message WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysMessage" parameterType="map">
-		SELECT * FROM sys_message ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_message
-	</select>
-</mapper>

+ 0 - 108
edu-common/src/main/resources/config/mybatis/SysNewsInformationMapper.xml

@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysNewsInformationDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysNewsInformation" id="SysNewsInformation">
-		<result column="id_" property="id" />
-		<result column="title_" property="title" />
-		<result column="content_" property="content" />
-		<result column="cover_image_" property="coverImage" />
-		<result column="type_" property="type" />
-		<result column="status_" property="status" />
-		<result column="memo_" property="memo" />
-		<result column="create_time_" property="createTime" />
-		<result column="update_time_" property="updateTime" />
-		<result column="link_url_" property="linkUrl" />
-		<result column="href_target_" property="hrefTarget" />
-		<result column="order_" property="order" />
-		<result column="del_flag_" property="delFlag" />
-		<result column="tenant_id_" property="tenantId" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysNewsInformation" >
-		SELECT * FROM sys_news_information WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysNewsInformation">
-		SELECT * FROM sys_news_information ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysNewsInformation" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_news_information (id_,title_,content_,cover_image_,type_,status_,memo_,create_time_,update_time_,link_url_,href_target_,order_,del_flag_,tenant_id_) VALUES(#{id},#{title},#{content},#{coverImage},#{type},#{status},#{memo},#{createTime},#{updateTime},#{linkUrl},#{hrefTarget},#{order},#{delFlag},#{tenantId})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysNewsInformation">
-		UPDATE sys_news_information <set>
-<if test="delFlag != null">
-del_flag_ = #{delFlag},
-</if>
-<if test="status != null">
-status_ = #{status},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="tenantId != null">
-tenant_id_ = #{tenantId},
-</if>
-<if test="content != null">
-content_ = #{content},
-</if>
-<if test="coverImage != null">
-cover_image_ = #{coverImage},
-</if>
-<if test="memo != null">
-memo_ = #{memo},
-</if>
-<if test="order != null">
-order_ = #{order},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-<if test="title != null">
-title_ = #{title},
-</if>
-<if test="updateTime != null">
-update_time_ = #{updateTime},
-</if>
-<if test="linkUrl != null">
-link_url_ = #{linkUrl},
-</if>
-<if test="hrefTarget != null">
-href_target_ = #{hrefTarget},
-</if>
-<if test="type != null">
-type_ = #{type},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_news_information WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysNewsInformation" parameterType="map">
-		SELECT * FROM sys_news_information ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_news_information
-	</select>
-</mapper>

+ 0 - 96
edu-common/src/main/resources/config/mybatis/SysOauthClientDetailsMapper.xml

@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysOauthClientDetailsDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysOauthClientDetails" id="SysOauthClientDetails">
-		<result column="id_" property="id" />
-		<result column="resource_ids_" property="resourceIds" />
-		<result column="client_secret_" property="clientSecret" />
-		<result column="scope_" property="scope" />
-		<result column="authorized_grant_types_" property="authorizedGrantTypes" />
-		<result column="web_server_redirect_uri_" property="webServerRedirectUri" />
-		<result column="authorities_" property="authorities" />
-		<result column="access_token_validity_" property="accessTokenValidity" />
-		<result column="refresh_token_validity_" property="refreshTokenValidity" />
-		<result column="additional_information_" property="additionalInformation" />
-		<result column="autoapprove_" property="autoapprove" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysOauthClientDetails" >
-		SELECT * FROM sys_oauth_client_details WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysOauthClientDetails">
-		SELECT * FROM sys_oauth_client_details ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysOauthClientDetails" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_oauth_client_details (id_,resource_ids_,client_secret_,scope_,authorized_grant_types_,web_server_redirect_uri_,authorities_,access_token_validity_,refresh_token_validity_,additional_information_,autoapprove_) VALUES(#{id},#{resourceIds},#{clientSecret},#{scope},#{authorizedGrantTypes},#{webServerRedirectUri},#{authorities},#{accessTokenValidity},#{refreshTokenValidity},#{additionalInformation},#{autoapprove})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysOauthClientDetails">
-		UPDATE sys_oauth_client_details <set>
-<if test="accessTokenValidity != null">
-access_token_validity_ = #{accessTokenValidity},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="resourceIds != null">
-resource_ids_ = #{resourceIds},
-</if>
-<if test="refreshTokenValidity != null">
-refresh_token_validity_ = #{refreshTokenValidity},
-</if>
-<if test="additionalInformation != null">
-additional_information_ = #{additionalInformation},
-</if>
-<if test="clientSecret != null">
-client_secret_ = #{clientSecret},
-</if>
-<if test="webServerRedirectUri != null">
-web_server_redirect_uri_ = #{webServerRedirectUri},
-</if>
-<if test="authorizedGrantTypes != null">
-authorized_grant_types_ = #{authorizedGrantTypes},
-</if>
-<if test="authorities != null">
-authorities_ = #{authorities},
-</if>
-<if test="scope != null">
-scope_ = #{scope},
-</if>
-<if test="autoapprove != null">
-autoapprove_ = #{autoapprove},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_oauth_client_details WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysOauthClientDetails" parameterType="map">
-		SELECT * FROM sys_oauth_client_details ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_oauth_client_details
-	</select>
-</mapper>

+ 0 - 84
edu-common/src/main/resources/config/mybatis/SysRoleMapper.xml

@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysRoleDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysRole" id="SysRole">
-		<result column="id_" property="id" />
-		<result column="role_name_" property="roleName" />
-		<result column="role_code_" property="roleCode" />
-		<result column="role_desc_" property="roleDesc" />
-		<result column="create_time_" property="createTime" />
-		<result column="update_time_" property="updateTime" />
-		<result column="del_flag_" property="delFlag" />
-		<result column="organ_id_" property="organId" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysRole" >
-		SELECT * FROM sys_role WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysRole">
-		SELECT * FROM sys_role ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysRole" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_role (id_,role_name_,role_code_,role_desc_,create_time_,update_time_,del_flag_,organ_id_) VALUES(#{id},#{roleName},#{roleCode},#{roleDesc},#{createTime},#{updateTime},#{delFlag},#{organId})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysRole">
-		UPDATE sys_role <set>
-<if test="delFlag != null">
-del_flag_ = #{delFlag},
-</if>
-<if test="roleCode != null">
-role_code_ = #{roleCode},
-</if>
-<if test="organId != null">
-organ_id_ = #{organId},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="roleName != null">
-role_name_ = #{roleName},
-</if>
-<if test="roleDesc != null">
-role_desc_ = #{roleDesc},
-</if>
-<if test="updateTime != null">
-update_time_ = #{updateTime},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_role WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysRole" parameterType="map">
-		SELECT * FROM sys_role ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_role
-	</select>
-</mapper>

+ 0 - 60
edu-common/src/main/resources/config/mybatis/SysRoleMenuMapper.xml

@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysRoleMenuDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysRoleMenu" id="SysRoleMenu">
-		<result column="role_id_" property="roleId" />
-		<result column="menu_id_" property="menuId" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysRoleMenu" parameterType="java.util.Map">
-		SELECT * FROM sys_role_menu WHERE role_id_ = #{roleId} AND menu_id_ = #{menuId} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysRoleMenu">
-		SELECT * FROM sys_role_menu ORDER BY role_id_,menu_id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysRoleMenu" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_role_menu (role_id_,menu_id_) VALUES(#{roleId},#{menuId})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysRoleMenu">
-		UPDATE sys_role_menu <set>
-<if test="roleId != null">
-role_id_ = #{roleId},
-</if>
-<if test="menuId != null">
-menu_id_ = #{menuId},
-</if>
-</set> WHERE role_id_ = #{roleId} AND menu_id_ = #{menuId} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" parameterType="java.util.Map">
-		DELETE FROM sys_role_menu WHERE role_id_ = #{roleId} AND menu_id_ = #{menuId} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysRoleMenu" parameterType="map">
-		SELECT * FROM sys_role_menu ORDER BY role_id_,menu_id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_role_menu
-	</select>
-</mapper>

+ 0 - 80
edu-common/src/main/resources/config/mybatis/SysSuggestionMapper.xml

@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysSuggestionDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysSuggestion" id="SysSuggestion">
-		<result column="id_" property="id" />
-		<result column="mobile_no_" property="mobileNo" />
-		<result column="title_" property="title" />
-		<result column="content_" property="content" />
-		<result column="user_id_" property="userId" />
-		<result column="create_time_" property="createTime" />
-		<result column="client_type_" property="clientType" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysSuggestion" >
-		SELECT * FROM sys_suggestion WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysSuggestion">
-		SELECT * FROM sys_suggestion ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysSuggestion" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_suggestion (id_,mobile_no_,title_,content_,user_id_,create_time_,client_type_) VALUES(#{id},#{mobileNo},#{title},#{content},#{userId},#{createTime},#{clientType})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysSuggestion">
-		UPDATE sys_suggestion <set>
-<if test="userId != null">
-user_id_ = #{userId},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="title != null">
-title_ = #{title},
-</if>
-<if test="clientType != null">
-client_type_ = #{clientType},
-</if>
-<if test="content != null">
-content_ = #{content},
-</if>
-<if test="mobileNo != null">
-mobile_no_ = #{mobileNo},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_suggestion WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysSuggestion" parameterType="map">
-		SELECT * FROM sys_suggestion ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_suggestion
-	</select>
-</mapper>

+ 0 - 88
edu-common/src/main/resources/config/mybatis/SysTaskMapper.xml

@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysTaskDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysTask" id="SysTask">
-		<result column="id_" property="id" />
-		<result column="name_" property="name" />
-		<result column="group_" property="group" />
-		<result column="job_class_" property="jobClass" />
-		<result column="time_exp_" property="timeExp" />
-		<result column="status_" property="status" />
-		<result column="description_" property="description" />
-		<result column="create_on_" property="createOn" />
-		<result column="modify_on_" property="modifyOn" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysTask" >
-		SELECT * FROM sys_task WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysTask">
-		SELECT * FROM sys_task ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysTask" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_task (id_,name_,group_,job_class_,time_exp_,status_,description_,create_on_,modify_on_) VALUES(#{id},#{name},#{group},#{jobClass},#{timeExp},#{status},#{description},#{createOn},#{modifyOn})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysTask">
-		UPDATE sys_task <set>
-<if test="status != null">
-status_ = #{status},
-</if>
-<if test="modifyOn != null">
-modify_on_ = #{modifyOn},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="description != null">
-description_ = #{description},
-</if>
-<if test="timeExp != null">
-time_exp_ = #{timeExp},
-</if>
-<if test="createOn != null">
-create_on_ = #{createOn},
-</if>
-<if test="group != null">
-group_ = #{group},
-</if>
-<if test="jobClass != null">
-job_class_ = #{jobClass},
-</if>
-<if test="name != null">
-name_ = #{name},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_task WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysTask" parameterType="map">
-		SELECT * FROM sys_task ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_task
-	</select>
-</mapper>

+ 0 - 80
edu-common/src/main/resources/config/mybatis/SysUserContractsMapper.xml

@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysUserContractsDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysUserContracts" id="SysUserContracts">
-		<result column="id_" property="id" />
-		<result column="user_id_" property="userId" />
-		<result column="contract_no_" property="contractNo" />
-		<result column="type_" property="type" />
-		<result column="url_" property="url" />
-		<result column="memo_" property="memo" />
-		<result column="create_time_" property="createTime" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysUserContracts" >
-		SELECT * FROM sys_user_contracts WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysUserContracts">
-		SELECT * FROM sys_user_contracts ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysUserContracts" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_user_contracts (id_,user_id_,contract_no_,type_,url_,memo_,create_time_) VALUES(#{id},#{userId},#{contractNo},#{type},#{url},#{memo},#{createTime})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysUserContracts">
-		UPDATE sys_user_contracts <set>
-<if test="userId != null">
-user_id_ = #{userId},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="url != null">
-url_ = #{url},
-</if>
-<if test="memo != null">
-memo_ = #{memo},
-</if>
-<if test="contractNo != null">
-contract_no_ = #{contractNo},
-</if>
-<if test="type != null">
-type_ = #{type},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_user_contracts WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysUserContracts" parameterType="map">
-		SELECT * FROM sys_user_contracts ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_user_contracts
-	</select>
-</mapper>

+ 0 - 72
edu-common/src/main/resources/config/mybatis/SysUserLoginLogMapper.xml

@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysUserLoginLogDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysUserLoginLog" id="SysUserLoginLog">
-		<result column="user_id_" property="userId" />
-		<result column="login_ip_" property="loginIp" />
-		<result column="login_time_" property="loginTime" />
-		<result column="source_" property="source" />
-		<result column="id_" property="id" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysUserLoginLog" >
-		SELECT * FROM sys_user_login_log WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysUserLoginLog">
-		SELECT * FROM sys_user_login_log ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysUserLoginLog" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_user_login_log (user_id_,login_ip_,login_time_,source_,id_) VALUES(#{userId},#{loginIp},#{loginTime},#{source},#{id})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysUserLoginLog">
-		UPDATE sys_user_login_log <set>
-<if test="userId != null">
-user_id_ = #{userId},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="loginIp != null">
-login_ip_ = #{loginIp},
-</if>
-<if test="source != null">
-source_ = #{source},
-</if>
-<if test="loginTime != null">
-login_time_ = #{loginTime},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_user_login_log WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysUserLoginLog" parameterType="map">
-		SELECT * FROM sys_user_login_log ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_user_login_log
-	</select>
-</mapper>

+ 0 - 80
edu-common/src/main/resources/config/mybatis/SysUserLoginMapper.xml

@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysUserLoginDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysUserLogin" id="SysUserLogin">
-		<result column="user_id_" property="userId" />
-		<result column="login_count_" property="loginCount" />
-		<result column="last_login_time_" property="lastLoginTime" />
-		<result column="last_login_ip_" property="lastLoginIp" />
-		<result column="fail_count_" property="failCount" />
-		<result column="lock_time_" property="lockTime" />
-		<result column="lock_date_" property="lockDate" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysUserLogin" >
-		SELECT * FROM sys_user_login WHERE user_id_ = #{userId} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysUserLogin">
-		SELECT * FROM sys_user_login ORDER BY user_id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysUserLogin" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_user_login (user_id_,login_count_,last_login_time_,last_login_ip_,fail_count_,lock_time_,lock_date_) VALUES(#{userId},#{loginCount},#{lastLoginTime},#{lastLoginIp},#{failCount},#{lockTime},#{lockDate})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysUserLogin">
-		UPDATE sys_user_login <set>
-<if test="userId != null">
-user_id_ = #{userId},
-</if>
-<if test="failCount != null">
-fail_count_ = #{failCount},
-</if>
-<if test="lastLoginIp != null">
-last_login_ip_ = #{lastLoginIp},
-</if>
-<if test="lockTime != null">
-lock_time_ = #{lockTime},
-</if>
-<if test="loginCount != null">
-login_count_ = #{loginCount},
-</if>
-<if test="lastLoginTime != null">
-last_login_time_ = #{lastLoginTime},
-</if>
-<if test="lockDate != null">
-lock_date_ = #{lockDate},
-</if>
-</set> WHERE user_id_ = #{userId} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_user_login WHERE user_id_ = #{userId} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysUserLogin" parameterType="map">
-		SELECT * FROM sys_user_login ORDER BY user_id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_user_login
-	</select>
-</mapper>

+ 0 - 144
edu-common/src/main/resources/config/mybatis/SysUserMapper.xml

@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysUserDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysUser" id="SysUser">
-		<result column="id_" property="id" />
-		<result column="username_" property="username" />
-		<result column="password_" property="password" />
-		<result column="salt_" property="salt" />
-		<result column="phone_" property="phone" />
-		<result column="avatar_" property="avatar" />
-		<result column="create_time_" property="createTime" />
-		<result column="update_time_" property="updateTime" />
-		<result column="lock_flag_" property="lockFlag" />
-		<result column="del_flag_" property="delFlag" />
-		<result column="wx_openid_" property="wxOpenid" />
-		<result column="qq_openid_" property="qqOpenid" />
-		<result column="user_type_" property="userType" />
-		<result column="gender_" property="gender" />
-		<result column="nation_" property="nation" />
-		<result column="birthdate_" property="birthdate" />
-		<result column="email_" property="email" />
-		<result column="organ_id_" property="organId" />
-		<result column="im_token_" property="imToken" />
-		<result column="real_name_" property="realName" />
-		<result column="id_card_no_" property="idCardNo" />
-		<result column="is_super_admin_" property="isSuperAdmin" />
-		<result column="wechat_id_" property="wechatId" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysUser" >
-		SELECT * FROM sys_user WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysUser">
-		SELECT * FROM sys_user ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysUser" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_user (id_,username_,password_,salt_,phone_,avatar_,create_time_,update_time_,lock_flag_,del_flag_,wx_openid_,qq_openid_,user_type_,gender_,nation_,birthdate_,email_,organ_id_,im_token_,real_name_,id_card_no_,is_super_admin_,wechat_id_) VALUES(#{id},#{username},#{password},#{salt},#{phone},#{avatar},#{createTime},#{updateTime},#{lockFlag},#{delFlag},#{wxOpenid},#{qqOpenid},#{userType},#{gender},#{nation},#{birthdate},#{email},#{organId},#{imToken},#{realName},#{idCardNo},#{isSuperAdmin},#{wechatId})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysUser">
-		UPDATE sys_user <set>
-<if test="delFlag != null">
-del_flag_ = #{delFlag},
-</if>
-<if test="wxOpenid != null">
-wx_openid_ = #{wxOpenid},
-</if>
-<if test="organId != null">
-organ_id_ = #{organId},
-</if>
-<if test="avatar != null">
-avatar_ = #{avatar},
-</if>
-<if test="imToken != null">
-im_token_ = #{imToken},
-</if>
-<if test="email != null">
-email_ = #{email},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="gender != null">
-gender_ = #{gender},
-</if>
-<if test="password != null">
-password_ = #{password},
-</if>
-<if test="salt != null">
-salt_ = #{salt},
-</if>
-<if test="realName != null">
-real_name_ = #{realName},
-</if>
-<if test="isSuperAdmin != null">
-is_super_admin_ = #{isSuperAdmin},
-</if>
-<if test="username != null">
-username_ = #{username},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-<if test="userType != null">
-user_type_ = #{userType},
-</if>
-<if test="updateTime != null">
-update_time_ = #{updateTime},
-</if>
-<if test="idCardNo != null">
-id_card_no_ = #{idCardNo},
-</if>
-<if test="lockFlag != null">
-lock_flag_ = #{lockFlag},
-</if>
-<if test="birthdate != null">
-birthdate_ = #{birthdate},
-</if>
-<if test="phone != null">
-phone_ = #{phone},
-</if>
-<if test="wechatId != null">
-wechat_id_ = #{wechatId},
-</if>
-<if test="qqOpenid != null">
-qq_openid_ = #{qqOpenid},
-</if>
-<if test="nation != null">
-nation_ = #{nation},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM sys_user WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysUser" parameterType="map">
-		SELECT * FROM sys_user ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_user
-	</select>
-</mapper>

+ 0 - 60
edu-common/src/main/resources/config/mybatis/SysUserRoleMapper.xml

@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.SysUserRoleDao">
-	
-	<resultMap type="com.keao.edu.common.entity.SysUserRole" id="SysUserRole">
-		<result column="user_id_" property="userId" />
-		<result column="role_id_" property="roleId" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="SysUserRole" parameterType="java.util.Map">
-		SELECT * FROM sys_user_role WHERE user_id_ = #{userId} AND role_id_ = #{roleId} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="SysUserRole">
-		SELECT * FROM sys_user_role ORDER BY user_id_,role_id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.SysUserRole" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO sys_user_role (user_id_,role_id_) VALUES(#{userId},#{roleId})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.SysUserRole">
-		UPDATE sys_user_role <set>
-<if test="userId != null">
-user_id_ = #{userId},
-</if>
-<if test="roleId != null">
-role_id_ = #{roleId},
-</if>
-</set> WHERE user_id_ = #{userId} AND role_id_ = #{roleId} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" parameterType="java.util.Map">
-		DELETE FROM sys_user_role WHERE user_id_ = #{userId} AND role_id_ = #{roleId} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="SysUserRole" parameterType="map">
-		SELECT * FROM sys_user_role ORDER BY user_id_,role_id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM sys_user_role
-	</select>
-</mapper>

+ 0 - 88
edu-common/src/main/resources/config/mybatis/TenantInfoMapper.xml

@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<!--
-这个文件是自动生成的。
-不要修改此文件。所有改动将在下次重新自动生成时丢失。
--->
-<mapper namespace="com.keao.edu.common.dal.dao.TenantInfoDao">
-	
-	<resultMap type="com.keao.edu.common.entity.TenantInfo" id="TenantInfo">
-		<result column="id_" property="id" />
-		<result column="name_" property="name" />
-		<result column="address_" property="address" />
-		<result column="domain_name_" property="domainName" />
-		<result column="logo_url_" property="logoUrl" />
-		<result column="contact_name_" property="contactName" />
-		<result column="contact_phone_" property="contactPhone" />
-		<result column="create_time_" property="createTime" />
-		<result column="update_time_" property="updateTime" />
-	</resultMap>
-	
-	<!-- 根据主键查询一条记录 -->
-	<select id="get" resultMap="TenantInfo" >
-		SELECT * FROM tenant_info WHERE id_ = #{id} 
-	</select>
-	
-	<!-- 全查询 -->
-	<select id="findAll" resultMap="TenantInfo">
-		SELECT * FROM tenant_info ORDER BY id_
-	</select>
-	
-	<!-- 向数据库增加一条记录 -->
-	<insert id="insert" parameterType="com.keao.edu.common.entity.TenantInfo" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
-		<!--
-		<selectKey resultClass="int" keyProperty="id" > 
-		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
-		</selectKey>
-		-->
-		INSERT INTO tenant_info (id_,name_,address_,domain_name_,logo_url_,contact_name_,contact_phone_,create_time_,update_time_) VALUES(#{id},#{name},#{address},#{domainName},#{logoUrl},#{contactName},#{contactPhone},#{createTime},#{updateTime})
-	</insert>
-	
-	<!-- 根据主键查询一条记录 -->
-	<update id="update" parameterType="com.keao.edu.common.entity.TenantInfo">
-		UPDATE tenant_info <set>
-<if test="address != null">
-address_ = #{address},
-</if>
-<if test="id != null">
-id_ = #{id},
-</if>
-<if test="updateTime != null">
-update_time_ = #{updateTime},
-</if>
-<if test="logoUrl != null">
-logo_url_ = #{logoUrl},
-</if>
-<if test="contactPhone != null">
-contact_phone_ = #{contactPhone},
-</if>
-<if test="domainName != null">
-domain_name_ = #{domainName},
-</if>
-<if test="contactName != null">
-contact_name_ = #{contactName},
-</if>
-<if test="name != null">
-name_ = #{name},
-</if>
-<if test="createTime != null">
-create_time_ = #{createTime},
-</if>
-</set> WHERE id_ = #{id} 
-	</update>
-	
-	<!-- 根据主键删除一条记录 -->
-	<delete id="delete" >
-		DELETE FROM tenant_info WHERE id_ = #{id} 
-	</delete>
-	
-	<!-- 分页查询 -->
-	<select id="queryPage" resultMap="TenantInfo" parameterType="map">
-		SELECT * FROM tenant_info ORDER BY id_ <include refid="global.limit"/>
-	</select>
-	
-	<!-- 查询当前表的总记录数 -->
-	<select id="queryCount" resultType="int">
-		SELECT COUNT(*) FROM tenant_info
-	</select>
-</mapper>