Bläddra i källkod

add:初始化

yonge 6 år sedan
förälder
incheckning
f519b82689
100 ändrade filer med 4383 tillägg och 3 borttagningar
  1. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/ChargeTypeDao.java
  2. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/ChargeTypeSubjectMapperDao.java
  3. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/ClassGroupDao.java
  4. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/ClassGroupRelationDao.java
  5. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/ClassGroupStudentMapperDao.java
  6. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseGroupDao.java
  7. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseGroupDetailDao.java
  8. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseScheduleDao.java
  9. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseTypeDao.java
  10. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/GoodsCategoryDao.java
  11. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/GoodsDao.java
  12. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/MusicGroupDao.java
  13. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/MusicGroupSubjectPlanDao.java
  14. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/SchoolDao.java
  15. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentRegistrationDao.java
  16. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentRollCallDao.java
  17. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/SubjectDao.java
  18. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/SubjectGoodsMapperDao.java
  19. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/SubjectPlanGoodsMapperDao.java
  20. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherDao.java
  21. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherSalaryDao.java
  22. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherSignInDao.java
  23. 81 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/ChargeType.java
  24. 70 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/ChargeTypeSubjectMapper.java
  25. 136 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/ClassGroup.java
  26. 59 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/ClassGroupRelation.java
  27. 59 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/ClassGroupStudentMapper.java
  28. 81 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseGroup.java
  29. 114 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseGroupDetail.java
  30. 136 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseSchedule.java
  31. 103 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseType.java
  32. 246 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/Goods.java
  33. 114 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/GoodsCategory.java
  34. 191 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/MusicGroup.java
  35. 125 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/MusicGroupSubjectPlan.java
  36. 114 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/School.java
  37. 191 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentRegistration.java
  38. 114 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentRollCall.java
  39. 92 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/Subject.java
  40. 70 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/SubjectGoodsMapper.java
  41. 81 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/SubjectPlanGoodsMapper.java
  42. 180 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/Teacher.java
  43. 70 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/TeacherSalary.java
  44. 125 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/TeacherSignIn.java
  45. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/ChargeTypeService.java
  46. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/ChargeTypeSubjectMapperService.java
  47. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/ClassGroupRelationService.java
  48. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/ClassGroupService.java
  49. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/ClassGroupStudentMapperService.java
  50. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/CourseGroupDetailService.java
  51. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/CourseGroupService.java
  52. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/CourseScheduleService.java
  53. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/CourseTypeService.java
  54. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/GoodsCategoryService.java
  55. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/GoodsService.java
  56. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/MusicGroupService.java
  57. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/MusicGroupSubjectPlanService.java
  58. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/SchoolService.java
  59. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/StudentRegistrationService.java
  60. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/StudentRollCallService.java
  61. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/SubjectGoodsMapperService.java
  62. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/SubjectPlanGoodsMapperService.java
  63. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/SubjectService.java
  64. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/TeacherSalaryService.java
  65. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/TeacherService.java
  66. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/TeacherSignInService.java
  67. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/ChargeTypeServiceImpl.java
  68. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/ChargeTypeSubjectMapperServiceImpl.java
  69. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/ClassGroupRelationServiceImpl.java
  70. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/ClassGroupServiceImpl.java
  71. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/ClassGroupStudentMapperServiceImpl.java
  72. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/CourseGroupDetailServiceImpl.java
  73. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/CourseGroupServiceImpl.java
  74. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/CourseScheduleServiceImpl.java
  75. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/CourseTypeServiceImpl.java
  76. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/GoodsCategoryServiceImpl.java
  77. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/GoodsServiceImpl.java
  78. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/MusicGroupServiceImpl.java
  79. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/MusicGroupSubjectPlanServiceImpl.java
  80. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/SchoolServiceImpl.java
  81. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/StudentRegistrationServiceImpl.java
  82. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/StudentRollCallServiceImpl.java
  83. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/SubjectGoodsMapperServiceImpl.java
  84. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/SubjectPlanGoodsMapperServiceImpl.java
  85. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/SubjectServiceImpl.java
  86. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherSalaryServiceImpl.java
  87. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherServiceImpl.java
  88. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherSignInServiceImpl.java
  89. 3 3
      mec-web/src/main/resources/application.yml
  90. 76 0
      mec-web/src/main/resources/config.mybatis/ChargeTypeMapper.xml
  91. 72 0
      mec-web/src/main/resources/config.mybatis/ChargeTypeSubjectMapperMapper.xml
  92. 96 0
      mec-web/src/main/resources/config.mybatis/ClassGroupMapper.xml
  93. 68 0
      mec-web/src/main/resources/config.mybatis/ClassGroupRelationMapper.xml
  94. 68 0
      mec-web/src/main/resources/config.mybatis/ClassGroupStudentMapperMapper.xml
  95. 88 0
      mec-web/src/main/resources/config.mybatis/CourseGroupDetailMapper.xml
  96. 76 0
      mec-web/src/main/resources/config.mybatis/CourseGroupMapper.xml
  97. 96 0
      mec-web/src/main/resources/config.mybatis/CourseScheduleMapper.xml
  98. 84 0
      mec-web/src/main/resources/config.mybatis/CourseTypeMapper.xml
  99. 88 0
      mec-web/src/main/resources/config.mybatis/GoodsCategoryMapper.xml
  100. 136 0
      mec-web/src/main/resources/config.mybatis/GoodsMapper.xml

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/ChargeTypeDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.ChargeType;
+
+public interface ChargeTypeDao extends BaseDAO<Integer, ChargeType> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/ChargeTypeSubjectMapperDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.ChargeTypeSubjectMapper;
+
+public interface ChargeTypeSubjectMapperDao extends BaseDAO<Long, ChargeTypeSubjectMapper> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/ClassGroupDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.ClassGroup;
+
+public interface ClassGroupDao extends BaseDAO<Integer, ClassGroup> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/ClassGroupRelationDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.ClassGroupRelation;
+
+public interface ClassGroupRelationDao extends BaseDAO<Integer, ClassGroupRelation> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/ClassGroupStudentMapperDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.ClassGroupStudentMapper;
+
+public interface ClassGroupStudentMapperDao extends BaseDAO<Long, ClassGroupStudentMapper> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseGroupDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.CourseGroup;
+
+public interface CourseGroupDao extends BaseDAO<Integer, CourseGroup> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseGroupDetailDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.CourseGroupDetail;
+
+public interface CourseGroupDetailDao extends BaseDAO<Integer, CourseGroupDetail> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseScheduleDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.CourseSchedule;
+
+public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/CourseTypeDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.CourseType;
+
+public interface CourseTypeDao extends BaseDAO<Integer, CourseType> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/GoodsCategoryDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.GoodsCategory;
+
+public interface GoodsCategoryDao extends BaseDAO<Integer, GoodsCategory> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/GoodsDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.Goods;
+
+public interface GoodsDao extends BaseDAO<Integer, Goods> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/MusicGroupDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.MusicGroup;
+
+public interface MusicGroupDao extends BaseDAO<String, MusicGroup> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/MusicGroupSubjectPlanDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.MusicGroupSubjectPlan;
+
+public interface MusicGroupSubjectPlanDao extends BaseDAO<Integer, MusicGroupSubjectPlan> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/SchoolDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.School;
+
+public interface SchoolDao extends BaseDAO<Integer, School> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentRegistrationDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.StudentRegistration;
+
+public interface StudentRegistrationDao extends BaseDAO<Long, StudentRegistration> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentRollCallDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.StudentRollCall;
+
+public interface StudentRollCallDao extends BaseDAO<Long, StudentRollCall> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/SubjectDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.Subject;
+
+public interface SubjectDao extends BaseDAO<Integer, Subject> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/SubjectGoodsMapperDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.SubjectGoodsMapper;
+
+public interface SubjectGoodsMapperDao extends BaseDAO<Long, SubjectGoodsMapper> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/SubjectPlanGoodsMapperDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.SubjectPlanGoodsMapper;
+
+public interface SubjectPlanGoodsMapperDao extends BaseDAO<Long, SubjectPlanGoodsMapper> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.Teacher;
+
+public interface TeacherDao extends BaseDAO<Integer, Teacher> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherSalaryDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.TeacherSalary;
+
+public interface TeacherSalaryDao extends BaseDAO<Long, TeacherSalary> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherSignInDao.java

@@ -0,0 +1,9 @@
+package com.ym.mec.web.dal.dao;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.TeacherSignIn;
+
+public interface TeacherSignInDao extends BaseDAO<Long, TeacherSignIn> {
+
+	
+}

+ 81 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/ChargeType.java

@@ -0,0 +1,81 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(charge_type):
+ */
+public class ChargeType {
+
+	/**  */
+	private Integer id;
+	
+	/** 名称 */
+	private String name;
+	
+	/**  */
+	private String delFlag;
+	
+	/** 描述 */
+	private String description;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setDelFlag(String delFlag){
+		this.delFlag = delFlag;
+	}
+	
+	public String getDelFlag(){
+		return this.delFlag;
+	}
+			
+	public void setDescription(String description){
+		this.description = description;
+	}
+	
+	public String getDescription(){
+		return this.description;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 70 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/ChargeTypeSubjectMapper.java

@@ -0,0 +1,70 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(charge_type_subject_mapper):
+ */
+public class ChargeTypeSubjectMapper {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	private Integer chargeTypeId;
+	
+	/**  */
+	private Integer subjectId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setChargeTypeId(Integer chargeTypeId){
+		this.chargeTypeId = chargeTypeId;
+	}
+	
+	public Integer getChargeTypeId(){
+		return this.chargeTypeId;
+	}
+			
+	public void setSubjectId(Integer subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public Integer getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 136 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/ClassGroup.java

@@ -0,0 +1,136 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(class_group):
+ */
+public class ClassGroup {
+
+	/**  */
+	private Integer id;
+	
+	/**  */
+	private Integer musicGroupId;
+	
+	/**  */
+	private String subjectId;
+	
+	/** 班级名称 */
+	private String name;
+	
+	/** 学生数 */
+	private Integer studentNum;
+	
+	/** 助教 */
+	private Integer assistantTeacherId;
+	
+	/** 主教 */
+	private Integer mainTeacherId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/** 班级类型(普通班级、合奏班级) */
+	private String type;
+	
+	/** 教师课酬 */
+	private long teacherSalary;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setMusicGroupId(Integer musicGroupId){
+		this.musicGroupId = musicGroupId;
+	}
+	
+	public Integer getMusicGroupId(){
+		return this.musicGroupId;
+	}
+			
+	public void setSubjectId(String subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public String getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setStudentNum(Integer studentNum){
+		this.studentNum = studentNum;
+	}
+	
+	public Integer getStudentNum(){
+		return this.studentNum;
+	}
+			
+	public void setAssistantTeacherId(Integer assistantTeacherId){
+		this.assistantTeacherId = assistantTeacherId;
+	}
+	
+	public Integer getAssistantTeacherId(){
+		return this.assistantTeacherId;
+	}
+			
+	public void setMainTeacherId(Integer mainTeacherId){
+		this.mainTeacherId = mainTeacherId;
+	}
+	
+	public Integer getMainTeacherId(){
+		return this.mainTeacherId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setType(String type){
+		this.type = type;
+	}
+	
+	public String getType(){
+		return this.type;
+	}
+			
+	public void setTeacherSalary(long teacherSalary){
+		this.teacherSalary = teacherSalary;
+	}
+	
+	public long getTeacherSalary(){
+		return this.teacherSalary;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 59 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/ClassGroupRelation.java

@@ -0,0 +1,59 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(class_group_relation):
+ */
+public class ClassGroupRelation {
+
+	/**  */
+	private Integer id;
+	
+	/**  */
+	private Integer classGroupId;
+	
+	/**  */
+	private Integer subClassGroupId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setClassGroupId(Integer classGroupId){
+		this.classGroupId = classGroupId;
+	}
+	
+	public Integer getClassGroupId(){
+		return this.classGroupId;
+	}
+			
+	public void setSubClassGroupId(Integer subClassGroupId){
+		this.subClassGroupId = subClassGroupId;
+	}
+	
+	public Integer getSubClassGroupId(){
+		return this.subClassGroupId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 59 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/ClassGroupStudentMapper.java

@@ -0,0 +1,59 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(class_group_student_mapper):
+ */
+public class ClassGroupStudentMapper {
+
+	/**  */
+	private Long id;
+	
+	/** 班级 */
+	private Integer classGroupId;
+	
+	/** 学生 */
+	private Integer userId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setClassGroupId(Integer classGroupId){
+		this.classGroupId = classGroupId;
+	}
+	
+	public Integer getClassGroupId(){
+		return this.classGroupId;
+	}
+			
+	public void setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 81 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseGroup.java

@@ -0,0 +1,81 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(course_group):
+ */
+public class CourseGroup {
+
+	/**  */
+	private Integer id;
+	
+	/**  */
+	private Integer organId;
+	
+	/**  */
+	private String name;
+	
+	/**  */
+	private String delFlag;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setOrganId(Integer organId){
+		this.organId = organId;
+	}
+	
+	public Integer getOrganId(){
+		return this.organId;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setDelFlag(String delFlag){
+		this.delFlag = delFlag;
+	}
+	
+	public String getDelFlag(){
+		return this.delFlag;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 114 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseGroupDetail.java

@@ -0,0 +1,114 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(course_group_detail):
+ */
+public class CourseGroupDetail {
+
+	/**  */
+	private Integer id;
+	
+	/** course_type表的id */
+	private Integer courseTypeId;
+	
+	/** course_fee_type表的id */
+	private Integer courseGroupId;
+	
+	/** 课时(单位:分钟) */
+	private Integer classPeriod;
+	
+	/** 单价 */
+	private long unitPrice;
+	
+	/** 折扣单价 */
+	private long discountUnitPrice;
+	
+	/**  */
+	private String delFlag;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setCourseTypeId(Integer courseTypeId){
+		this.courseTypeId = courseTypeId;
+	}
+	
+	public Integer getCourseTypeId(){
+		return this.courseTypeId;
+	}
+			
+	public void setCourseGroupId(Integer courseGroupId){
+		this.courseGroupId = courseGroupId;
+	}
+	
+	public Integer getCourseGroupId(){
+		return this.courseGroupId;
+	}
+			
+	public void setClassPeriod(Integer classPeriod){
+		this.classPeriod = classPeriod;
+	}
+	
+	public Integer getClassPeriod(){
+		return this.classPeriod;
+	}
+			
+	public void setUnitPrice(long unitPrice){
+		this.unitPrice = unitPrice;
+	}
+	
+	public long getUnitPrice(){
+		return this.unitPrice;
+	}
+			
+	public void setDiscountUnitPrice(long discountUnitPrice){
+		this.discountUnitPrice = discountUnitPrice;
+	}
+	
+	public long getDiscountUnitPrice(){
+		return this.discountUnitPrice;
+	}
+			
+	public void setDelFlag(String delFlag){
+		this.delFlag = delFlag;
+	}
+	
+	public String getDelFlag(){
+		return this.delFlag;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 136 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseSchedule.java

@@ -0,0 +1,136 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(course_schedule):
+ */
+public class CourseSchedule {
+
+	/**  */
+	private Long id;
+	
+	/** 班级编号 */
+	private Integer classGroupId;
+	
+	/** 课程状态 */
+	private String status;
+	
+	/** 补贴 */
+	private long subsidy;
+	
+	/** 上课日期 */
+	private java.util.Date classDate;
+	
+	/** 上课时间 */
+	private java.util.Date startClassTime;
+	
+	/** 结束时间 */
+	private java.util.Date endClassTime;
+	
+	/** 上课教师 */
+	private Integer teacherId;
+	
+	/** 实际上课教师 */
+	private Integer actualTeacherId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setClassGroupId(Integer classGroupId){
+		this.classGroupId = classGroupId;
+	}
+	
+	public Integer getClassGroupId(){
+		return this.classGroupId;
+	}
+			
+	public void setStatus(String status){
+		this.status = status;
+	}
+	
+	public String getStatus(){
+		return this.status;
+	}
+			
+	public void setSubsidy(long subsidy){
+		this.subsidy = subsidy;
+	}
+	
+	public long getSubsidy(){
+		return this.subsidy;
+	}
+			
+	public void setClassDate(java.util.Date classDate){
+		this.classDate = classDate;
+	}
+	
+	public java.util.Date getClassDate(){
+		return this.classDate;
+	}
+			
+	public void setStartClassTime(java.util.Date startClassTime){
+		this.startClassTime = startClassTime;
+	}
+	
+	public java.util.Date getStartClassTime(){
+		return this.startClassTime;
+	}
+			
+	public void setEndClassTime(java.util.Date endClassTime){
+		this.endClassTime = endClassTime;
+	}
+	
+	public java.util.Date getEndClassTime(){
+		return this.endClassTime;
+	}
+			
+	public void setTeacherId(Integer teacherId){
+		this.teacherId = teacherId;
+	}
+	
+	public Integer getTeacherId(){
+		return this.teacherId;
+	}
+			
+	public void setActualTeacherId(Integer actualTeacherId){
+		this.actualTeacherId = actualTeacherId;
+	}
+	
+	public Integer getActualTeacherId(){
+		return this.actualTeacherId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 103 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/CourseType.java

@@ -0,0 +1,103 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(course_type):
+ */
+public class CourseType {
+
+	/**  */
+	private Integer id;
+	
+	/**  */
+	private Integer organId;
+	
+	/**  */
+	private String name;
+	
+	/** 支持的课时时间(多个用|分隔) */
+	private String supportPeriods;
+	
+	/**  */
+	private String delFlag;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/**  */
+	private String description;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setOrganId(Integer organId){
+		this.organId = organId;
+	}
+	
+	public Integer getOrganId(){
+		return this.organId;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setSupportPeriods(String supportPeriods){
+		this.supportPeriods = supportPeriods;
+	}
+	
+	public String getSupportPeriods(){
+		return this.supportPeriods;
+	}
+			
+	public void setDelFlag(String delFlag){
+		this.delFlag = delFlag;
+	}
+	
+	public String getDelFlag(){
+		return this.delFlag;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setDescription(String description){
+		this.description = description;
+	}
+	
+	public String getDescription(){
+		return this.description;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 246 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/Goods.java

@@ -0,0 +1,246 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(goods):
+ */
+public class Goods {
+
+	/** 商品编号 */
+	private Integer id;
+	
+	/** 产品分类 */
+	private Integer goodsCategoryId;
+	
+	/** 商品货号 */
+	private String sn;
+	
+	/** 商品名称 */
+	private String name;
+	
+	/** 品牌 */
+	private String brand;
+	
+	/** 规格 */
+	private String specification;
+	
+	/** 展示图片的地址 */
+	private String image;
+	
+	/** 库存数量 */
+	private Integer stockCount;
+	
+	/** 总销量数 */
+	private Integer sellCount;
+	
+	/** 市场销售价 */
+	private long marketPrice;
+	
+	/** 折扣价 */
+	private long discountPrice;
+	
+	/** 团购价 */
+	private long groupPurchasePrice;
+	
+	/** 页面简介 */
+	private String brief;
+	
+	/** 商品的详细描述 */
+	private String desc;
+	
+	/** 是否是新品(1,是  0,否) */
+	private boolean isNew;
+	
+	/** 是否置顶(1,置顶   0,不置顶) */
+	private boolean isTop;
+	
+	/** 状态(1,上架  0,下架) */
+	private boolean status;
+	
+	/** 备注 */
+	private String memo;
+	
+	/** 发布时间 */
+	private java.util.Date publishTime;
+	
+	/** 创建时间 */
+	private java.util.Date createTime;
+	
+	/** 修改时间 */
+	private java.util.Date updateTime;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setGoodsCategoryId(Integer goodsCategoryId){
+		this.goodsCategoryId = goodsCategoryId;
+	}
+	
+	public Integer getGoodsCategoryId(){
+		return this.goodsCategoryId;
+	}
+			
+	public void setSn(String sn){
+		this.sn = sn;
+	}
+	
+	public String getSn(){
+		return this.sn;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setBrand(String brand){
+		this.brand = brand;
+	}
+	
+	public String getBrand(){
+		return this.brand;
+	}
+			
+	public void setSpecification(String specification){
+		this.specification = specification;
+	}
+	
+	public String getSpecification(){
+		return this.specification;
+	}
+			
+	public void setImage(String image){
+		this.image = image;
+	}
+	
+	public String getImage(){
+		return this.image;
+	}
+			
+	public void setStockCount(Integer stockCount){
+		this.stockCount = stockCount;
+	}
+	
+	public Integer getStockCount(){
+		return this.stockCount;
+	}
+			
+	public void setSellCount(Integer sellCount){
+		this.sellCount = sellCount;
+	}
+	
+	public Integer getSellCount(){
+		return this.sellCount;
+	}
+			
+	public void setMarketPrice(long marketPrice){
+		this.marketPrice = marketPrice;
+	}
+	
+	public long getMarketPrice(){
+		return this.marketPrice;
+	}
+			
+	public void setDiscountPrice(long discountPrice){
+		this.discountPrice = discountPrice;
+	}
+	
+	public long getDiscountPrice(){
+		return this.discountPrice;
+	}
+			
+	public void setGroupPurchasePrice(long groupPurchasePrice){
+		this.groupPurchasePrice = groupPurchasePrice;
+	}
+	
+	public long getGroupPurchasePrice(){
+		return this.groupPurchasePrice;
+	}
+			
+	public void setBrief(String brief){
+		this.brief = brief;
+	}
+	
+	public String getBrief(){
+		return this.brief;
+	}
+			
+	public void setDesc(String desc){
+		this.desc = desc;
+	}
+	
+	public String getDesc(){
+		return this.desc;
+	}
+			
+	public void setIsNew(boolean isNew){
+		this.isNew = isNew;
+	}
+	
+	public boolean isIsNew(){
+		return this.isNew;
+	}
+			
+	public void setIsTop(boolean isTop){
+		this.isTop = isTop;
+	}
+	
+	public boolean isIsTop(){
+		return this.isTop;
+	}
+			
+	public void setStatus(boolean status){
+		this.status = status;
+	}
+	
+	public boolean isStatus(){
+		return this.status;
+	}
+			
+	public void setMemo(String memo){
+		this.memo = memo;
+	}
+	
+	public String getMemo(){
+		return this.memo;
+	}
+			
+	public void setPublishTime(java.util.Date publishTime){
+		this.publishTime = publishTime;
+	}
+	
+	public java.util.Date getPublishTime(){
+		return this.publishTime;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 114 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/GoodsCategory.java

@@ -0,0 +1,114 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(goods_category):
+ */
+public class GoodsCategory {
+
+	/**  */
+	private Integer id;
+	
+	/** 分类名称 */
+	private String name;
+	
+	/** 产品展示的图片地址 */
+	private String img;
+	
+	/** 父节点编号 */
+	private Integer parentId;
+	
+	/** 顺序编号 */
+	private Integer orderNo;
+	
+	/** 状态(1,表示可见  0,表示不可见) */
+	private boolean status;
+	
+	/** 描述 */
+	private String desc;
+	
+	/** 最后修改时间 */
+	private java.util.Date updateTime;
+	
+	/** 创建时间 */
+	private java.util.Date createTime;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setImg(String img){
+		this.img = img;
+	}
+	
+	public String getImg(){
+		return this.img;
+	}
+			
+	public void setParentId(Integer parentId){
+		this.parentId = parentId;
+	}
+	
+	public Integer getParentId(){
+		return this.parentId;
+	}
+			
+	public void setOrderNo(Integer orderNo){
+		this.orderNo = orderNo;
+	}
+	
+	public Integer getOrderNo(){
+		return this.orderNo;
+	}
+			
+	public void setStatus(boolean status){
+		this.status = status;
+	}
+	
+	public boolean isStatus(){
+		return this.status;
+	}
+			
+	public void setDesc(String desc){
+		this.desc = desc;
+	}
+	
+	public String getDesc(){
+		return this.desc;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 191 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/MusicGroup.java

@@ -0,0 +1,191 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(music_group):
+ */
+public class MusicGroup {
+
+	/**  */
+	private String id;
+	
+	/** 乐团名称 */
+	private String name;
+	
+	/** 所属分部 */
+	private Integer organId;
+	
+	/** 学校(合作单位) */
+	private Integer schoolId;
+	
+	/** 报名截止日期 */
+	private java.util.Date applyExpireDate;
+	
+	/** 团长 */
+	private Integer teamTeacherId;
+	
+	/** 教务老师 */
+	private Integer educationalTeacherId;
+	
+	/** 收费类型 */
+	private Integer chargeTypeId;
+	
+	/** 课程组 */
+	private String courseGroupId;
+	
+	/**  */
+	private Integer classPeriod;
+	
+	/**  */
+	private Integer freeClassPeriod;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/** 状态(报名中、缴费中、筹备中、进行中、取消) */
+	private String status;
+	
+	/** 缴费截止日期 */
+	private java.util.Date paymentExpireDate;
+	
+	/** 计费开始日期 */
+	private java.util.Date billStartDate;
+	
+	public void setId(String id){
+		this.id = id;
+	}
+	
+	public String getId(){
+		return this.id;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setOrganId(Integer organId){
+		this.organId = organId;
+	}
+	
+	public Integer getOrganId(){
+		return this.organId;
+	}
+			
+	public void setSchoolId(Integer schoolId){
+		this.schoolId = schoolId;
+	}
+	
+	public Integer getSchoolId(){
+		return this.schoolId;
+	}
+			
+	public void setApplyExpireDate(java.util.Date applyExpireDate){
+		this.applyExpireDate = applyExpireDate;
+	}
+	
+	public java.util.Date getApplyExpireDate(){
+		return this.applyExpireDate;
+	}
+			
+	public void setTeamTeacherId(Integer teamTeacherId){
+		this.teamTeacherId = teamTeacherId;
+	}
+	
+	public Integer getTeamTeacherId(){
+		return this.teamTeacherId;
+	}
+			
+	public void setEducationalTeacherId(Integer educationalTeacherId){
+		this.educationalTeacherId = educationalTeacherId;
+	}
+	
+	public Integer getEducationalTeacherId(){
+		return this.educationalTeacherId;
+	}
+			
+	public void setChargeTypeId(Integer chargeTypeId){
+		this.chargeTypeId = chargeTypeId;
+	}
+	
+	public Integer getChargeTypeId(){
+		return this.chargeTypeId;
+	}
+			
+	public void setCourseGroupId(String courseGroupId){
+		this.courseGroupId = courseGroupId;
+	}
+	
+	public String getCourseGroupId(){
+		return this.courseGroupId;
+	}
+			
+	public void setClassPeriod(Integer classPeriod){
+		this.classPeriod = classPeriod;
+	}
+	
+	public Integer getClassPeriod(){
+		return this.classPeriod;
+	}
+			
+	public void setFreeClassPeriod(Integer freeClassPeriod){
+		this.freeClassPeriod = freeClassPeriod;
+	}
+	
+	public Integer getFreeClassPeriod(){
+		return this.freeClassPeriod;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setStatus(String status){
+		this.status = status;
+	}
+	
+	public String getStatus(){
+		return this.status;
+	}
+			
+	public void setPaymentExpireDate(java.util.Date paymentExpireDate){
+		this.paymentExpireDate = paymentExpireDate;
+	}
+	
+	public java.util.Date getPaymentExpireDate(){
+		return this.paymentExpireDate;
+	}
+			
+	public void setBillStartDate(java.util.Date billStartDate){
+		this.billStartDate = billStartDate;
+	}
+	
+	public java.util.Date getBillStartDate(){
+		return this.billStartDate;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 125 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/MusicGroupSubjectPlan.java

@@ -0,0 +1,125 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(music_group_subject_plan):
+ */
+public class MusicGroupSubjectPlan {
+
+	/**  */
+	private Integer id;
+	
+	/** 乐团编号 */
+	private Integer musicGroupId;
+	
+	/** 科目编号 */
+	private Integer subjectId;
+	
+	/** 预计学生数 */
+	private Integer expectedStudentNum;
+	
+	/** 报名学生数 */
+	private Integer applyStudentNum;
+	
+	/** 费用 */
+	private long fee;
+	
+	/** 乐器团购类型(免费、租赁、借用) */
+	private String kitGroupPurchaseType;
+	
+	/** 乐器团购类型对应的费用 */
+	private long kitFee;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setMusicGroupId(Integer musicGroupId){
+		this.musicGroupId = musicGroupId;
+	}
+	
+	public Integer getMusicGroupId(){
+		return this.musicGroupId;
+	}
+			
+	public void setSubjectId(Integer subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public Integer getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setExpectedStudentNum(Integer expectedStudentNum){
+		this.expectedStudentNum = expectedStudentNum;
+	}
+	
+	public Integer getExpectedStudentNum(){
+		return this.expectedStudentNum;
+	}
+			
+	public void setApplyStudentNum(Integer applyStudentNum){
+		this.applyStudentNum = applyStudentNum;
+	}
+	
+	public Integer getApplyStudentNum(){
+		return this.applyStudentNum;
+	}
+			
+	public void setFee(long fee){
+		this.fee = fee;
+	}
+	
+	public long getFee(){
+		return this.fee;
+	}
+			
+	public void setKitGroupPurchaseType(String kitGroupPurchaseType){
+		this.kitGroupPurchaseType = kitGroupPurchaseType;
+	}
+	
+	public String getKitGroupPurchaseType(){
+		return this.kitGroupPurchaseType;
+	}
+			
+	public void setKitFee(long kitFee){
+		this.kitFee = kitFee;
+	}
+	
+	public long getKitFee(){
+		return this.kitFee;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 114 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/School.java

@@ -0,0 +1,114 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(school):
+ */
+public class School {
+
+	/**  */
+	private Integer id;
+	
+	/**  */
+	private String name;
+	
+	/**  */
+	private Integer organId;
+	
+	/**  */
+	private String adress;
+	
+	/**  */
+	private String contactPhone;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/**  */
+	private String delFlag;
+	
+	/** 联系人 */
+	private String contactName;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setOrganId(Integer organId){
+		this.organId = organId;
+	}
+	
+	public Integer getOrganId(){
+		return this.organId;
+	}
+			
+	public void setAdress(String adress){
+		this.adress = adress;
+	}
+	
+	public String getAdress(){
+		return this.adress;
+	}
+			
+	public void setContactPhone(String contactPhone){
+		this.contactPhone = contactPhone;
+	}
+	
+	public String getContactPhone(){
+		return this.contactPhone;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setDelFlag(String delFlag){
+		this.delFlag = delFlag;
+	}
+	
+	public String getDelFlag(){
+		return this.delFlag;
+	}
+			
+	public void setContactName(String contactName){
+		this.contactName = contactName;
+	}
+	
+	public String getContactName(){
+		return this.contactName;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 191 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentRegistration.java

@@ -0,0 +1,191 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(student_registration):
+ */
+public class StudentRegistration {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	private Integer userId;
+	
+	/** 所属乐团(对应 music_group 表id) */
+	private Integer musicGroupId;
+	
+	/** 当前所在年级 */
+	private String currentGrade;
+	
+	/** 当前所在班级 */
+	private String currentClass;
+	
+	/** 报名科目 */
+	private Integer subjectId;
+	
+	/** 是否允许调剂 */
+	private String isAllowAdjust;
+	
+	/** 器材购买方式(团购、自备) */
+	private String kitPurchaseMethod;
+	
+	/**  */
+	private String remark;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/** 家长姓名 */
+	private String parentsName;
+	
+	/** 家长单位 */
+	private String parentsCompany;
+	
+	/** 缴费状态(1-已缴费 0-未交费) */
+	private String paymentStatus;
+	
+	/** 最后缴费日期 */
+	private java.util.Date lastPaymentDate;
+	
+	/** 预计下次缴费日期 */
+	private java.util.Date nextPaymentDate;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setMusicGroupId(Integer musicGroupId){
+		this.musicGroupId = musicGroupId;
+	}
+	
+	public Integer getMusicGroupId(){
+		return this.musicGroupId;
+	}
+			
+	public void setCurrentGrade(String currentGrade){
+		this.currentGrade = currentGrade;
+	}
+	
+	public String getCurrentGrade(){
+		return this.currentGrade;
+	}
+			
+	public void setCurrentClass(String currentClass){
+		this.currentClass = currentClass;
+	}
+	
+	public String getCurrentClass(){
+		return this.currentClass;
+	}
+			
+	public void setSubjectId(Integer subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public Integer getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setIsAllowAdjust(String isAllowAdjust){
+		this.isAllowAdjust = isAllowAdjust;
+	}
+	
+	public String getIsAllowAdjust(){
+		return this.isAllowAdjust;
+	}
+			
+	public void setKitPurchaseMethod(String kitPurchaseMethod){
+		this.kitPurchaseMethod = kitPurchaseMethod;
+	}
+	
+	public String getKitPurchaseMethod(){
+		return this.kitPurchaseMethod;
+	}
+			
+	public void setRemark(String remark){
+		this.remark = remark;
+	}
+	
+	public String getRemark(){
+		return this.remark;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setParentsName(String parentsName){
+		this.parentsName = parentsName;
+	}
+	
+	public String getParentsName(){
+		return this.parentsName;
+	}
+			
+	public void setParentsCompany(String parentsCompany){
+		this.parentsCompany = parentsCompany;
+	}
+	
+	public String getParentsCompany(){
+		return this.parentsCompany;
+	}
+			
+	public void setPaymentStatus(String paymentStatus){
+		this.paymentStatus = paymentStatus;
+	}
+	
+	public String getPaymentStatus(){
+		return this.paymentStatus;
+	}
+			
+	public void setLastPaymentDate(java.util.Date lastPaymentDate){
+		this.lastPaymentDate = lastPaymentDate;
+	}
+	
+	public java.util.Date getLastPaymentDate(){
+		return this.lastPaymentDate;
+	}
+			
+	public void setNextPaymentDate(java.util.Date nextPaymentDate){
+		this.nextPaymentDate = nextPaymentDate;
+	}
+	
+	public java.util.Date getNextPaymentDate(){
+		return this.nextPaymentDate;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 114 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentRollCall.java

@@ -0,0 +1,114 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(student_roll_call):
+ */
+public class StudentRollCall {
+
+	/**  */
+	private Long id;
+	
+	/** 乐团 */
+	private Integer musicGroupId;
+	
+	/** 科目 */
+	private Integer subjectId;
+	
+	/** 班级 */
+	private Integer classGroupId;
+	
+	/** 课程计划 */
+	private Long courseScheduleId;
+	
+	/**  */
+	private Integer userId;
+	
+	/** 点名的教师 */
+	private Integer teacherId;
+	
+	/** 状态(正常、旷课、请假) */
+	private String status;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setMusicGroupId(Integer musicGroupId){
+		this.musicGroupId = musicGroupId;
+	}
+	
+	public Integer getMusicGroupId(){
+		return this.musicGroupId;
+	}
+			
+	public void setSubjectId(Integer subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public Integer getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setClassGroupId(Integer classGroupId){
+		this.classGroupId = classGroupId;
+	}
+	
+	public Integer getClassGroupId(){
+		return this.classGroupId;
+	}
+			
+	public void setCourseScheduleId(Long courseScheduleId){
+		this.courseScheduleId = courseScheduleId;
+	}
+	
+	public Long getCourseScheduleId(){
+		return this.courseScheduleId;
+	}
+			
+	public void setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setTeacherId(Integer teacherId){
+		this.teacherId = teacherId;
+	}
+	
+	public Integer getTeacherId(){
+		return this.teacherId;
+	}
+			
+	public void setStatus(String status){
+		this.status = status;
+	}
+	
+	public String getStatus(){
+		return this.status;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 92 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/Subject.java

@@ -0,0 +1,92 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(subject):
+ */
+public class Subject {
+
+	/**  */
+	private Integer id;
+	
+	/**  */
+	private String name;
+	
+	/**  */
+	private String code;
+	
+	/**  */
+	private Integer parentSubjectId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/**  */
+	private String delFlag;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setName(String name){
+		this.name = name;
+	}
+	
+	public String getName(){
+		return this.name;
+	}
+			
+	public void setCode(String code){
+		this.code = code;
+	}
+	
+	public String getCode(){
+		return this.code;
+	}
+			
+	public void setParentSubjectId(Integer parentSubjectId){
+		this.parentSubjectId = parentSubjectId;
+	}
+	
+	public Integer getParentSubjectId(){
+		return this.parentSubjectId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setDelFlag(String delFlag){
+		this.delFlag = delFlag;
+	}
+	
+	public String getDelFlag(){
+		return this.delFlag;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 70 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/SubjectGoodsMapper.java

@@ -0,0 +1,70 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(subject_goods_mapper):
+ */
+public class SubjectGoodsMapper {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	private Integer subjectId;
+	
+	/**  */
+	private Integer goodsId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setSubjectId(Integer subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public Integer getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setGoodsId(Integer goodsId){
+		this.goodsId = goodsId;
+	}
+	
+	public Integer getGoodsId(){
+		return this.goodsId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 81 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/SubjectPlanGoodsMapper.java

@@ -0,0 +1,81 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(subject_plan_goods_mapper):
+ */
+public class SubjectPlanGoodsMapper {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	private Integer musicGroupId;
+	
+	/**  */
+	private String subjectId;
+	
+	/**  */
+	private Integer goodsId;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setMusicGroupId(Integer musicGroupId){
+		this.musicGroupId = musicGroupId;
+	}
+	
+	public Integer getMusicGroupId(){
+		return this.musicGroupId;
+	}
+			
+	public void setSubjectId(String subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public String getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setGoodsId(Integer goodsId){
+		this.goodsId = goodsId;
+	}
+	
+	public Integer getGoodsId(){
+		return this.goodsId;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 180 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/Teacher.java

@@ -0,0 +1,180 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(teacher):
+ */
+public class Teacher {
+
+	/**  */
+	private Integer userId;
+	
+	/**  */
+	private Integer organId;
+	
+	/** 职务类型(指导老师、教务老师、教学主管) */
+	private String jobType;
+	
+	/** 工作性质(兼职、兼职试用、全职、全职试用) */
+	private String jobCategory;
+	
+	/** 学历 */
+	private String educationBackground;
+	
+	/** 毕业学校 */
+	private String graduateSchool;
+	
+	/** 技术职称 */
+	private String technicalTitles;
+	
+	/** 工作单位 */
+	private String workUnit;
+	
+	/** 专业技能(支持多个,用|分隔),对应科目表编号 */
+	private String subjectId;
+	
+	/** 入职时间 */
+	private java.util.Date entryDate;
+	
+	/** 证件类型 */
+	private String certificateType;
+	
+	/** 证件号码 */
+	private String certificateNum;
+	
+	/** 流动范围(多个用|分开) */
+	private String flowOrganRange;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	public void setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setOrganId(Integer organId){
+		this.organId = organId;
+	}
+	
+	public Integer getOrganId(){
+		return this.organId;
+	}
+			
+	public void setJobType(String jobType){
+		this.jobType = jobType;
+	}
+	
+	public String getJobType(){
+		return this.jobType;
+	}
+			
+	public void setJobCategory(String jobCategory){
+		this.jobCategory = jobCategory;
+	}
+	
+	public String getJobCategory(){
+		return this.jobCategory;
+	}
+			
+	public void setEducationBackground(String educationBackground){
+		this.educationBackground = educationBackground;
+	}
+	
+	public String getEducationBackground(){
+		return this.educationBackground;
+	}
+			
+	public void setGraduateSchool(String graduateSchool){
+		this.graduateSchool = graduateSchool;
+	}
+	
+	public String getGraduateSchool(){
+		return this.graduateSchool;
+	}
+			
+	public void setTechnicalTitles(String technicalTitles){
+		this.technicalTitles = technicalTitles;
+	}
+	
+	public String getTechnicalTitles(){
+		return this.technicalTitles;
+	}
+			
+	public void setWorkUnit(String workUnit){
+		this.workUnit = workUnit;
+	}
+	
+	public String getWorkUnit(){
+		return this.workUnit;
+	}
+			
+	public void setSubjectId(String subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public String getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setEntryDate(java.util.Date entryDate){
+		this.entryDate = entryDate;
+	}
+	
+	public java.util.Date getEntryDate(){
+		return this.entryDate;
+	}
+			
+	public void setCertificateType(String certificateType){
+		this.certificateType = certificateType;
+	}
+	
+	public String getCertificateType(){
+		return this.certificateType;
+	}
+			
+	public void setCertificateNum(String certificateNum){
+		this.certificateNum = certificateNum;
+	}
+	
+	public String getCertificateNum(){
+		return this.certificateNum;
+	}
+			
+	public void setFlowOrganRange(String flowOrganRange){
+		this.flowOrganRange = flowOrganRange;
+	}
+	
+	public String getFlowOrganRange(){
+		return this.flowOrganRange;
+	}
+			
+	public void setUpdateTime(java.util.Date updateTime){
+		this.updateTime = updateTime;
+	}
+	
+	public java.util.Date getUpdateTime(){
+		return this.updateTime;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 70 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/TeacherSalary.java

@@ -0,0 +1,70 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(teacher_salary):
+ */
+public class TeacherSalary {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	private Integer userId;
+	
+	/**  */
+	private Integer subjectId;
+	
+	/** 课酬 */
+	private long salary;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setSubjectId(Integer subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public Integer getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setSalary(long salary){
+		this.salary = salary;
+	}
+	
+	public long getSalary(){
+		return this.salary;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 125 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/TeacherSignIn.java

@@ -0,0 +1,125 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(teacher_sign_in):
+ */
+public class TeacherSignIn {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	private Integer teacherId;
+	
+	/**  */
+	private Integer musicGroupId;
+	
+	/**  */
+	private Integer subjectId;
+	
+	/**  */
+	private Integer classGroupId;
+	
+	/**  */
+	private Long courseScheduleId;
+	
+	/** 签到时间 */
+	private java.util.Date signInTime;
+	
+	/** 签到类型(正常签到,异常签到) */
+	private String type;
+	
+	/** 备注 */
+	private String remark;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setTeacherId(Integer teacherId){
+		this.teacherId = teacherId;
+	}
+	
+	public Integer getTeacherId(){
+		return this.teacherId;
+	}
+			
+	public void setMusicGroupId(Integer musicGroupId){
+		this.musicGroupId = musicGroupId;
+	}
+	
+	public Integer getMusicGroupId(){
+		return this.musicGroupId;
+	}
+			
+	public void setSubjectId(Integer subjectId){
+		this.subjectId = subjectId;
+	}
+	
+	public Integer getSubjectId(){
+		return this.subjectId;
+	}
+			
+	public void setClassGroupId(Integer classGroupId){
+		this.classGroupId = classGroupId;
+	}
+	
+	public Integer getClassGroupId(){
+		return this.classGroupId;
+	}
+			
+	public void setCourseScheduleId(Long courseScheduleId){
+		this.courseScheduleId = courseScheduleId;
+	}
+	
+	public Long getCourseScheduleId(){
+		return this.courseScheduleId;
+	}
+			
+	public void setSignInTime(java.util.Date signInTime){
+		this.signInTime = signInTime;
+	}
+	
+	public java.util.Date getSignInTime(){
+		return this.signInTime;
+	}
+			
+	public void setType(String type){
+		this.type = type;
+	}
+	
+	public String getType(){
+		return this.type;
+	}
+			
+	public void setRemark(String remark){
+		this.remark = remark;
+	}
+	
+	public String getRemark(){
+		return this.remark;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/ChargeTypeService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.ChargeType;
+
+public interface ChargeTypeService extends BaseService<Integer, ChargeType> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/ChargeTypeSubjectMapperService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.ChargeTypeSubjectMapper;
+
+public interface ChargeTypeSubjectMapperService extends BaseService<Long, ChargeTypeSubjectMapper> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/ClassGroupRelationService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.ClassGroupRelation;
+
+public interface ClassGroupRelationService extends BaseService<Integer, ClassGroupRelation> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/ClassGroupService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.ClassGroup;
+
+public interface ClassGroupService extends BaseService<Integer, ClassGroup> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/ClassGroupStudentMapperService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.ClassGroupStudentMapper;
+
+public interface ClassGroupStudentMapperService extends BaseService<Long, ClassGroupStudentMapper> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/CourseGroupDetailService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.CourseGroupDetail;
+
+public interface CourseGroupDetailService extends BaseService<Integer, CourseGroupDetail> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/CourseGroupService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.CourseGroup;
+
+public interface CourseGroupService extends BaseService<Integer, CourseGroup> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/CourseScheduleService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.CourseSchedule;
+
+public interface CourseScheduleService extends BaseService<Long, CourseSchedule> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/CourseTypeService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.CourseType;
+
+public interface CourseTypeService extends BaseService<Integer, CourseType> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/GoodsCategoryService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.GoodsCategory;
+
+public interface GoodsCategoryService extends BaseService<Integer, GoodsCategory> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/GoodsService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.Goods;
+
+public interface GoodsService extends BaseService<Integer, Goods> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/MusicGroupService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.MusicGroup;
+
+public interface MusicGroupService extends BaseService<String, MusicGroup> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/MusicGroupSubjectPlanService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.MusicGroupSubjectPlan;
+
+public interface MusicGroupSubjectPlanService extends BaseService<Integer, MusicGroupSubjectPlan> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/SchoolService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.School;
+
+public interface SchoolService extends BaseService<Integer, School> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/StudentRegistrationService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.StudentRegistration;
+
+public interface StudentRegistrationService extends BaseService<Long, StudentRegistration> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/StudentRollCallService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.StudentRollCall;
+
+public interface StudentRollCallService extends BaseService<Long, StudentRollCall> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/SubjectGoodsMapperService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.SubjectGoodsMapper;
+
+public interface SubjectGoodsMapperService extends BaseService<Long, SubjectGoodsMapper> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/SubjectPlanGoodsMapperService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.SubjectPlanGoodsMapper;
+
+public interface SubjectPlanGoodsMapperService extends BaseService<Long, SubjectPlanGoodsMapper> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/SubjectService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.Subject;
+
+public interface SubjectService extends BaseService<Integer, Subject> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/TeacherSalaryService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.TeacherSalary;
+
+public interface TeacherSalaryService extends BaseService<Long, TeacherSalary> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/TeacherService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.Teacher;
+
+public interface TeacherService extends BaseService<Integer, Teacher> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/TeacherSignInService.java

@@ -0,0 +1,8 @@
+package com.ym.mec.web.service;
+
+import com.ym.mec.common.service.BaseService;
+import com.ym.mec.web.dal.entity.TeacherSignIn;
+
+public interface TeacherSignInService extends BaseService<Long, TeacherSignIn> {
+
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/ChargeTypeServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.ChargeTypeDao;
+import com.ym.mec.web.dal.entity.ChargeType;
+import com.ym.mec.web.service.ChargeTypeService;
+
+@Service
+public class ChargeTypeServiceImpl extends BaseServiceImpl<Integer, ChargeType>  implements ChargeTypeService {
+	
+	@Autowired
+	private ChargeTypeDao chargeTypeDao;
+
+	@Override
+	public BaseDAO<Integer, ChargeType> getDAO() {
+		return chargeTypeDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/ChargeTypeSubjectMapperServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.ChargeTypeSubjectMapperDao;
+import com.ym.mec.web.dal.entity.ChargeTypeSubjectMapper;
+import com.ym.mec.web.service.ChargeTypeSubjectMapperService;
+
+@Service
+public class ChargeTypeSubjectMapperServiceImpl extends BaseServiceImpl<Long, ChargeTypeSubjectMapper>  implements ChargeTypeSubjectMapperService {
+	
+	@Autowired
+	private ChargeTypeSubjectMapperDao chargeTypeSubjectMapperDao;
+
+	@Override
+	public BaseDAO<Long, ChargeTypeSubjectMapper> getDAO() {
+		return chargeTypeSubjectMapperDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/ClassGroupRelationServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.ClassGroupRelationDao;
+import com.ym.mec.web.dal.entity.ClassGroupRelation;
+import com.ym.mec.web.service.ClassGroupRelationService;
+
+@Service
+public class ClassGroupRelationServiceImpl extends BaseServiceImpl<Integer, ClassGroupRelation>  implements ClassGroupRelationService {
+	
+	@Autowired
+	private ClassGroupRelationDao classGroupRelationDao;
+
+	@Override
+	public BaseDAO<Integer, ClassGroupRelation> getDAO() {
+		return classGroupRelationDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/ClassGroupServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.ClassGroupDao;
+import com.ym.mec.web.dal.entity.ClassGroup;
+import com.ym.mec.web.service.ClassGroupService;
+
+@Service
+public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>  implements ClassGroupService {
+	
+	@Autowired
+	private ClassGroupDao classGroupDao;
+
+	@Override
+	public BaseDAO<Integer, ClassGroup> getDAO() {
+		return classGroupDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/ClassGroupStudentMapperServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.ClassGroupStudentMapperDao;
+import com.ym.mec.web.dal.entity.ClassGroupStudentMapper;
+import com.ym.mec.web.service.ClassGroupStudentMapperService;
+
+@Service
+public class ClassGroupStudentMapperServiceImpl extends BaseServiceImpl<Long, ClassGroupStudentMapper>  implements ClassGroupStudentMapperService {
+	
+	@Autowired
+	private ClassGroupStudentMapperDao classGroupStudentMapperDao;
+
+	@Override
+	public BaseDAO<Long, ClassGroupStudentMapper> getDAO() {
+		return classGroupStudentMapperDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/CourseGroupDetailServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.CourseGroupDetailDao;
+import com.ym.mec.web.dal.entity.CourseGroupDetail;
+import com.ym.mec.web.service.CourseGroupDetailService;
+
+@Service
+public class CourseGroupDetailServiceImpl extends BaseServiceImpl<Integer, CourseGroupDetail>  implements CourseGroupDetailService {
+	
+	@Autowired
+	private CourseGroupDetailDao courseGroupDetailDao;
+
+	@Override
+	public BaseDAO<Integer, CourseGroupDetail> getDAO() {
+		return courseGroupDetailDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/CourseGroupServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.CourseGroupDao;
+import com.ym.mec.web.dal.entity.CourseGroup;
+import com.ym.mec.web.service.CourseGroupService;
+
+@Service
+public class CourseGroupServiceImpl extends BaseServiceImpl<Integer, CourseGroup>  implements CourseGroupService {
+	
+	@Autowired
+	private CourseGroupDao courseGroupDao;
+
+	@Override
+	public BaseDAO<Integer, CourseGroup> getDAO() {
+		return courseGroupDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/CourseScheduleServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.CourseScheduleDao;
+import com.ym.mec.web.dal.entity.CourseSchedule;
+import com.ym.mec.web.service.CourseScheduleService;
+
+@Service
+public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSchedule>  implements CourseScheduleService {
+	
+	@Autowired
+	private CourseScheduleDao courseScheduleDao;
+
+	@Override
+	public BaseDAO<Long, CourseSchedule> getDAO() {
+		return courseScheduleDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/CourseTypeServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.CourseTypeDao;
+import com.ym.mec.web.dal.entity.CourseType;
+import com.ym.mec.web.service.CourseTypeService;
+
+@Service
+public class CourseTypeServiceImpl extends BaseServiceImpl<Integer, CourseType>  implements CourseTypeService {
+	
+	@Autowired
+	private CourseTypeDao courseTypeDao;
+
+	@Override
+	public BaseDAO<Integer, CourseType> getDAO() {
+		return courseTypeDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/GoodsCategoryServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.GoodsCategoryDao;
+import com.ym.mec.web.dal.entity.GoodsCategory;
+import com.ym.mec.web.service.GoodsCategoryService;
+
+@Service
+public class GoodsCategoryServiceImpl extends BaseServiceImpl<Integer, GoodsCategory>  implements GoodsCategoryService {
+	
+	@Autowired
+	private GoodsCategoryDao goodsCategoryDao;
+
+	@Override
+	public BaseDAO<Integer, GoodsCategory> getDAO() {
+		return goodsCategoryDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/GoodsServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.GoodsDao;
+import com.ym.mec.web.dal.entity.Goods;
+import com.ym.mec.web.service.GoodsService;
+
+@Service
+public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods>  implements GoodsService {
+	
+	@Autowired
+	private GoodsDao goodsDao;
+
+	@Override
+	public BaseDAO<Integer, Goods> getDAO() {
+		return goodsDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/MusicGroupServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.MusicGroupDao;
+import com.ym.mec.web.dal.entity.MusicGroup;
+import com.ym.mec.web.service.MusicGroupService;
+
+@Service
+public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup>  implements MusicGroupService {
+	
+	@Autowired
+	private MusicGroupDao musicGroupDao;
+
+	@Override
+	public BaseDAO<String, MusicGroup> getDAO() {
+		return musicGroupDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/MusicGroupSubjectPlanServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.MusicGroupSubjectPlanDao;
+import com.ym.mec.web.dal.entity.MusicGroupSubjectPlan;
+import com.ym.mec.web.service.MusicGroupSubjectPlanService;
+
+@Service
+public class MusicGroupSubjectPlanServiceImpl extends BaseServiceImpl<Integer, MusicGroupSubjectPlan>  implements MusicGroupSubjectPlanService {
+	
+	@Autowired
+	private MusicGroupSubjectPlanDao musicGroupSubjectPlanDao;
+
+	@Override
+	public BaseDAO<Integer, MusicGroupSubjectPlan> getDAO() {
+		return musicGroupSubjectPlanDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/SchoolServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.SchoolDao;
+import com.ym.mec.web.dal.entity.School;
+import com.ym.mec.web.service.SchoolService;
+
+@Service
+public class SchoolServiceImpl extends BaseServiceImpl<Integer, School>  implements SchoolService {
+	
+	@Autowired
+	private SchoolDao schoolDao;
+
+	@Override
+	public BaseDAO<Integer, School> getDAO() {
+		return schoolDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/StudentRegistrationServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.StudentRegistrationDao;
+import com.ym.mec.web.dal.entity.StudentRegistration;
+import com.ym.mec.web.service.StudentRegistrationService;
+
+@Service
+public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, StudentRegistration>  implements StudentRegistrationService {
+	
+	@Autowired
+	private StudentRegistrationDao studentRegistrationDao;
+
+	@Override
+	public BaseDAO<Long, StudentRegistration> getDAO() {
+		return studentRegistrationDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/StudentRollCallServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.StudentRollCallDao;
+import com.ym.mec.web.dal.entity.StudentRollCall;
+import com.ym.mec.web.service.StudentRollCallService;
+
+@Service
+public class StudentRollCallServiceImpl extends BaseServiceImpl<Long, StudentRollCall>  implements StudentRollCallService {
+	
+	@Autowired
+	private StudentRollCallDao studentRollCallDao;
+
+	@Override
+	public BaseDAO<Long, StudentRollCall> getDAO() {
+		return studentRollCallDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/SubjectGoodsMapperServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.SubjectGoodsMapperDao;
+import com.ym.mec.web.dal.entity.SubjectGoodsMapper;
+import com.ym.mec.web.service.SubjectGoodsMapperService;
+
+@Service
+public class SubjectGoodsMapperServiceImpl extends BaseServiceImpl<Long, SubjectGoodsMapper>  implements SubjectGoodsMapperService {
+	
+	@Autowired
+	private SubjectGoodsMapperDao subjectGoodsMapperDao;
+
+	@Override
+	public BaseDAO<Long, SubjectGoodsMapper> getDAO() {
+		return subjectGoodsMapperDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/SubjectPlanGoodsMapperServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.SubjectPlanGoodsMapperDao;
+import com.ym.mec.web.dal.entity.SubjectPlanGoodsMapper;
+import com.ym.mec.web.service.SubjectPlanGoodsMapperService;
+
+@Service
+public class SubjectPlanGoodsMapperServiceImpl extends BaseServiceImpl<Long, SubjectPlanGoodsMapper>  implements SubjectPlanGoodsMapperService {
+	
+	@Autowired
+	private SubjectPlanGoodsMapperDao subjectPlanGoodsMapperDao;
+
+	@Override
+	public BaseDAO<Long, SubjectPlanGoodsMapper> getDAO() {
+		return subjectPlanGoodsMapperDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/SubjectServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.SubjectDao;
+import com.ym.mec.web.dal.entity.Subject;
+import com.ym.mec.web.service.SubjectService;
+
+@Service
+public class SubjectServiceImpl extends BaseServiceImpl<Integer, Subject>  implements SubjectService {
+	
+	@Autowired
+	private SubjectDao subjectDao;
+
+	@Override
+	public BaseDAO<Integer, Subject> getDAO() {
+		return subjectDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherSalaryServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.TeacherSalaryDao;
+import com.ym.mec.web.dal.entity.TeacherSalary;
+import com.ym.mec.web.service.TeacherSalaryService;
+
+@Service
+public class TeacherSalaryServiceImpl extends BaseServiceImpl<Long, TeacherSalary>  implements TeacherSalaryService {
+	
+	@Autowired
+	private TeacherSalaryDao teacherSalaryDao;
+
+	@Override
+	public BaseDAO<Long, TeacherSalary> getDAO() {
+		return teacherSalaryDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.TeacherDao;
+import com.ym.mec.web.dal.entity.Teacher;
+import com.ym.mec.web.service.TeacherService;
+
+@Service
+public class TeacherServiceImpl extends BaseServiceImpl<Integer, Teacher>  implements TeacherService {
+	
+	@Autowired
+	private TeacherDao teacherDao;
+
+	@Override
+	public BaseDAO<Integer, Teacher> getDAO() {
+		return teacherDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherSignInServiceImpl.java

@@ -0,0 +1,23 @@
+package com.ym.mec.web.service.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.common.service.impl.BaseServiceImpl;
+import com.ym.mec.web.dal.dao.TeacherSignInDao;
+import com.ym.mec.web.dal.entity.TeacherSignIn;
+import com.ym.mec.web.service.TeacherSignInService;
+
+@Service
+public class TeacherSignInServiceImpl extends BaseServiceImpl<Long, TeacherSignIn>  implements TeacherSignInService {
+	
+	@Autowired
+	private TeacherSignInDao teacherSignInDao;
+
+	@Override
+	public BaseDAO<Long, TeacherSignIn> getDAO() {
+		return teacherSignInDao;
+	}
+	
+}

+ 3 - 3
mec-web/src/main/resources/application.yml

@@ -33,9 +33,9 @@ spring:
     maxOpenPreparedStatements: 20
     
   redis:
-    host: 120.26.238.168
+    host: 47.99.212.176
     port: 6379
-    password: ehjinrong
+    password: 
     database: 0
     #连接超时时间(毫秒)
     timeout: 10000
@@ -53,7 +53,7 @@ mybatis:
     mapperLocations: classpath:config/mybatis/*.xml
     
 swagger:
-  base-package: com.ym.mec.auth.controller
+  base-package: com.ym.mec.web.controller
   
 #spring boot admin 相关配置
 management:

+ 76 - 0
mec-web/src/main/resources/config.mybatis/ChargeTypeMapper.xml

@@ -0,0 +1,76 @@
+<?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.ym.mec.web.dal.dao.ChargeTypeDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.ChargeType" id="ChargeType">
+		<result column="id_" property="id" />
+		<result column="name_" property="name" />
+		<result column="del_flag_" property="delFlag" />
+		<result column="description_" property="description" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="ChargeType" >
+		SELECT * FROM charge_type WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="ChargeType">
+		SELECT * FROM charge_type ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.ChargeType" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO charge_type (id_,name_,del_flag_,description_,create_time_,update_time_) VALUES(#{id},#{name},#{delFlag},#{description},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.ChargeType">
+		UPDATE charge_type <set>
+<if test="delFlag != null">
+del_flag_ = #{delFlag},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="description != null">
+description_ = #{description},
+</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 charge_type WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="ChargeType" parameterType="map">
+		SELECT * FROM charge_type ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM charge_type
+	</select>
+</mapper>

+ 72 - 0
mec-web/src/main/resources/config.mybatis/ChargeTypeSubjectMapperMapper.xml

@@ -0,0 +1,72 @@
+<?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.ym.mec.web.dal.dao.ChargeTypeSubjectMapperDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.ChargeTypeSubjectMapper" id="ChargeTypeSubjectMapper">
+		<result column="id_" property="id" />
+		<result column="charge_type_id_" property="chargeTypeId" />
+		<result column="subject_id_" property="subjectId" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="ChargeTypeSubjectMapper" >
+		SELECT * FROM charge_type_subject_mapper WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="ChargeTypeSubjectMapper">
+		SELECT * FROM charge_type_subject_mapper ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.ChargeTypeSubjectMapper" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO charge_type_subject_mapper (id_,charge_type_id_,subject_id_,create_time_,update_time_) VALUES(#{id},#{chargeTypeId},#{subjectId},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.ChargeTypeSubjectMapper">
+		UPDATE charge_type_subject_mapper <set>
+<if test="subjectId != null">
+subject_id_ = #{subjectId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="chargeTypeId != null">
+charge_type_id_ = #{chargeTypeId},
+</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 charge_type_subject_mapper WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="ChargeTypeSubjectMapper" parameterType="map">
+		SELECT * FROM charge_type_subject_mapper ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM charge_type_subject_mapper
+	</select>
+</mapper>

+ 96 - 0
mec-web/src/main/resources/config.mybatis/ClassGroupMapper.xml

@@ -0,0 +1,96 @@
+<?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.ym.mec.web.dal.dao.ClassGroupDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.ClassGroup" id="ClassGroup">
+		<result column="id_" property="id" />
+		<result column="music_group_id_" property="musicGroupId" />
+		<result column="subject_id_" property="subjectId" />
+		<result column="name_" property="name" />
+		<result column="student_num_" property="studentNum" />
+		<result column="assistant_teacher_id_" property="assistantTeacherId" />
+		<result column="main_teacher_id_" property="mainTeacherId" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+		<result column="type_" property="type" />
+		<result column="teacher_salary_" property="teacherSalary" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="ClassGroup" >
+		SELECT * FROM class_group WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="ClassGroup">
+		SELECT * FROM class_group ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.ClassGroup" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO class_group (id_,music_group_id_,subject_id_,name_,student_num_,assistant_teacher_id_,main_teacher_id_,create_time_,update_time_,type_,teacher_salary_) VALUES(#{id},#{musicGroupId},#{subjectId},#{name},#{studentNum},#{assistantTeacherId},#{mainTeacherId},#{createTime},#{updateTime},#{type},#{teacherSalary})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.ClassGroup">
+		UPDATE class_group <set>
+<if test="mainTeacherId != null">
+main_teacher_id_ = #{mainTeacherId},
+</if>
+<if test="subjectId != null">
+subject_id_ = #{subjectId},
+</if>
+<if test="studentNum != null">
+student_num_ = #{studentNum},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="assistantTeacherId != null">
+assistant_teacher_id_ = #{assistantTeacherId},
+</if>
+<if test="teacherSalary != null">
+teacher_salary_ = #{teacherSalary},
+</if>
+<if test="musicGroupId != null">
+music_group_id_ = #{musicGroupId},
+</if>
+<if test="type != null">
+type_ = #{type},
+</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 class_group WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="ClassGroup" parameterType="map">
+		SELECT * FROM class_group ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM class_group
+	</select>
+</mapper>

+ 68 - 0
mec-web/src/main/resources/config.mybatis/ClassGroupRelationMapper.xml

@@ -0,0 +1,68 @@
+<?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.ym.mec.web.dal.dao.ClassGroupRelationDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.ClassGroupRelation" id="ClassGroupRelation">
+		<result column="id_" property="id" />
+		<result column="class_group_id_" property="classGroupId" />
+		<result column="sub_class_group_id_" property="subClassGroupId" />
+		<result column="create_time_" property="createTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="ClassGroupRelation" >
+		SELECT * FROM class_group_relation WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="ClassGroupRelation">
+		SELECT * FROM class_group_relation ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.ClassGroupRelation" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO class_group_relation (id_,class_group_id_,sub_class_group_id_,create_time_) VALUES(#{id},#{classGroupId},#{subClassGroupId},#{createTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.ClassGroupRelation">
+		UPDATE class_group_relation <set>
+<if test="subClassGroupId != null">
+sub_class_group_id_ = #{subClassGroupId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="classGroupId != null">
+class_group_id_ = #{classGroupId},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM class_group_relation WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="ClassGroupRelation" parameterType="map">
+		SELECT * FROM class_group_relation ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM class_group_relation
+	</select>
+</mapper>

+ 68 - 0
mec-web/src/main/resources/config.mybatis/ClassGroupStudentMapperMapper.xml

@@ -0,0 +1,68 @@
+<?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.ym.mec.web.dal.dao.ClassGroupStudentMapperDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.ClassGroupStudentMapper" id="ClassGroupStudentMapper">
+		<result column="id_" property="id" />
+		<result column="class_group_id_" property="classGroupId" />
+		<result column="user_id_" property="userId" />
+		<result column="create_time_" property="createTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="ClassGroupStudentMapper" >
+		SELECT * FROM class_group_student_mapper WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="ClassGroupStudentMapper">
+		SELECT * FROM class_group_student_mapper ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.ClassGroupStudentMapper" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO class_group_student_mapper (id_,class_group_id_,user_id_,create_time_) VALUES(#{id},#{classGroupId},#{userId},#{createTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.ClassGroupStudentMapper">
+		UPDATE class_group_student_mapper <set>
+<if test="userId != null">
+user_id_ = #{userId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="classGroupId != null">
+class_group_id_ = #{classGroupId},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM class_group_student_mapper WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="ClassGroupStudentMapper" parameterType="map">
+		SELECT * FROM class_group_student_mapper ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM class_group_student_mapper
+	</select>
+</mapper>

+ 88 - 0
mec-web/src/main/resources/config.mybatis/CourseGroupDetailMapper.xml

@@ -0,0 +1,88 @@
+<?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.ym.mec.web.dal.dao.CourseGroupDetailDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.CourseGroupDetail" id="CourseGroupDetail">
+		<result column="id_" property="id" />
+		<result column="course_type_id_" property="courseTypeId" />
+		<result column="course_group_id_" property="courseGroupId" />
+		<result column="class_period_" property="classPeriod" />
+		<result column="unit_price_" property="unitPrice" />
+		<result column="discount_unit_price_" property="discountUnitPrice" />
+		<result column="del_flag_" property="delFlag" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="CourseGroupDetail" >
+		SELECT * FROM course_group_detail WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="CourseGroupDetail">
+		SELECT * FROM course_group_detail ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.CourseGroupDetail" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO course_group_detail (id_,course_type_id_,course_group_id_,class_period_,unit_price_,discount_unit_price_,del_flag_,create_time_,update_time_) VALUES(#{id},#{courseTypeId},#{courseGroupId},#{classPeriod},#{unitPrice},#{discountUnitPrice},#{delFlag},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.CourseGroupDetail">
+		UPDATE course_group_detail <set>
+<if test="delFlag != null">
+del_flag_ = #{delFlag},
+</if>
+<if test="courseTypeId != null">
+course_type_id_ = #{courseTypeId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="unitPrice != null">
+unit_price_ = #{unitPrice},
+</if>
+<if test="discountUnitPrice != null">
+discount_unit_price_ = #{discountUnitPrice},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="courseGroupId != null">
+course_group_id_ = #{courseGroupId},
+</if>
+<if test="classPeriod != null">
+class_period_ = #{classPeriod},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM course_group_detail WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="CourseGroupDetail" parameterType="map">
+		SELECT * FROM course_group_detail ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM course_group_detail
+	</select>
+</mapper>

+ 76 - 0
mec-web/src/main/resources/config.mybatis/CourseGroupMapper.xml

@@ -0,0 +1,76 @@
+<?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.ym.mec.web.dal.dao.CourseGroupDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.CourseGroup" id="CourseGroup">
+		<result column="id_" property="id" />
+		<result column="organ_id_" property="organId" />
+		<result column="name_" property="name" />
+		<result column="del_flag" property="delFlag" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="CourseGroup" >
+		SELECT * FROM course_group WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="CourseGroup">
+		SELECT * FROM course_group ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.CourseGroup" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO course_group (id_,organ_id_,name_,del_flag,create_time_,update_time_) VALUES(#{id},#{organId},#{name},#{delFlag},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.CourseGroup">
+		UPDATE course_group <set>
+<if test="delFlag != null">
+del_flag = #{delFlag},
+</if>
+<if test="organId != null">
+organ_id_ = #{organId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</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 course_group WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="CourseGroup" parameterType="map">
+		SELECT * FROM course_group ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM course_group
+	</select>
+</mapper>

+ 96 - 0
mec-web/src/main/resources/config.mybatis/CourseScheduleMapper.xml

@@ -0,0 +1,96 @@
+<?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.ym.mec.web.dal.dao.CourseScheduleDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.CourseSchedule" id="CourseSchedule">
+		<result column="id_" property="id" />
+		<result column="class_group_id_" property="classGroupId" />
+		<result column="status_" property="status" />
+		<result column="subsidy_" property="subsidy" />
+		<result column="class_date_" property="classDate" />
+		<result column="start_class_time_" property="startClassTime" />
+		<result column="end_class_time_" property="endClassTime" />
+		<result column="teacher_id_" property="teacherId" />
+		<result column="actual_teacher_id_" property="actualTeacherId" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="CourseSchedule" >
+		SELECT * FROM course_schedule WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="CourseSchedule">
+		SELECT * FROM course_schedule ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.CourseSchedule" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO course_schedule (id_,class_group_id_,status_,subsidy_,class_date_,start_class_time_,end_class_time_,teacher_id_,actual_teacher_id_,create_time_,update_time_) VALUES(#{id},#{classGroupId},#{status},#{subsidy},#{classDate},#{startClassTime},#{endClassTime},#{teacherId},#{actualTeacherId},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.CourseSchedule">
+		UPDATE course_schedule <set>
+<if test="classDate != null">
+class_date_ = #{classDate},
+</if>
+<if test="endClassTime != null">
+end_class_time_ = #{endClassTime},
+</if>
+<if test="status != null">
+status_ = #{status},
+</if>
+<if test="actualTeacherId != null">
+actual_teacher_id_ = #{actualTeacherId},
+</if>
+<if test="subsidy != null">
+subsidy_ = #{subsidy},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="classGroupId != null">
+class_group_id_ = #{classGroupId},
+</if>
+<if test="startClassTime != null">
+start_class_time_ = #{startClassTime},
+</if>
+<if test="teacherId != null">
+teacher_id_ = #{teacherId},
+</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 course_schedule WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="CourseSchedule" parameterType="map">
+		SELECT * FROM course_schedule ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM course_schedule
+	</select>
+</mapper>

+ 84 - 0
mec-web/src/main/resources/config.mybatis/CourseTypeMapper.xml

@@ -0,0 +1,84 @@
+<?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.ym.mec.web.dal.dao.CourseTypeDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.CourseType" id="CourseType">
+		<result column="id_" property="id" />
+		<result column="organ_id_" property="organId" />
+		<result column="name_" property="name" />
+		<result column="support_periods_" property="supportPeriods" />
+		<result column="del_flag_" property="delFlag" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+		<result column="description_" property="description" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="CourseType" >
+		SELECT * FROM course_type WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="CourseType">
+		SELECT * FROM course_type ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.CourseType" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO course_type (id_,organ_id_,name_,support_periods_,del_flag_,create_time_,update_time_,description_) VALUES(#{id},#{organId},#{name},#{supportPeriods},#{delFlag},#{createTime},#{updateTime},#{description})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.CourseType">
+		UPDATE course_type <set>
+<if test="delFlag != null">
+del_flag_ = #{delFlag},
+</if>
+<if test="organId != null">
+organ_id_ = #{organId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="description != null">
+description_ = #{description},
+</if>
+<if test="supportPeriods != null">
+support_periods_ = #{supportPeriods},
+</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 course_type WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="CourseType" parameterType="map">
+		SELECT * FROM course_type ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM course_type
+	</select>
+</mapper>

+ 88 - 0
mec-web/src/main/resources/config.mybatis/GoodsCategoryMapper.xml

@@ -0,0 +1,88 @@
+<?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.ym.mec.web.dal.dao.GoodsCategoryDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.GoodsCategory" id="GoodsCategory">
+		<result column="id_" property="id" />
+		<result column="name_" property="name" />
+		<result column="img_" property="img" />
+		<result column="parent_id_" property="parentId" />
+		<result column="order_no_" property="orderNo" />
+		<result column="status_" property="status" />
+		<result column="desc_" property="desc" />
+		<result column="update_time_" property="updateTime" />
+		<result column="create_time_" property="createTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="GoodsCategory" >
+		SELECT * FROM goods_category WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="GoodsCategory">
+		SELECT * FROM goods_category ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.GoodsCategory" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO goods_category (id_,name_,img_,parent_id_,order_no_,status_,desc_,update_time_,create_time_) VALUES(#{id},#{name},#{img},#{parentId},#{orderNo},#{status},#{desc},#{updateTime},#{createTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.GoodsCategory">
+		UPDATE goods_category <set>
+<if test="parentId != null">
+parent_id_ = #{parentId},
+</if>
+<if test="status != null">
+status_ = #{status},
+</if>
+<if test="orderNo != null">
+order_no_ = #{orderNo},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="img != null">
+img_ = #{img},
+</if>
+<if test="desc != null">
+desc_ = #{desc},
+</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 goods_category WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="GoodsCategory" parameterType="map">
+		SELECT * FROM goods_category ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM goods_category
+	</select>
+</mapper>

+ 136 - 0
mec-web/src/main/resources/config.mybatis/GoodsMapper.xml

@@ -0,0 +1,136 @@
+<?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.ym.mec.web.dal.dao.GoodsDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.Goods" id="Goods">
+		<result column="id_" property="id" />
+		<result column="goods_category_id_" property="goodsCategoryId" />
+		<result column="sn_" property="sn" />
+		<result column="name_" property="name" />
+		<result column="brand_" property="brand" />
+		<result column="specification_" property="specification" />
+		<result column="image_" property="image" />
+		<result column="stock_count_" property="stockCount" />
+		<result column="sell_count_" property="sellCount" />
+		<result column="market_price_" property="marketPrice" />
+		<result column="discount_price_" property="discountPrice" />
+		<result column="group_purchase_price_" property="groupPurchasePrice" />
+		<result column="brief_" property="brief" />
+		<result column="desc_" property="desc" />
+		<result column="is_new_" property="isNew" />
+		<result column="is_top_" property="isTop" />
+		<result column="status_" property="status" />
+		<result column="memo_" property="memo" />
+		<result column="publish_time_" property="publishTime" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="Goods" >
+		SELECT * FROM goods WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="Goods">
+		SELECT * FROM goods ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.Goods" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO goods (id_,goods_category_id_,sn_,name_,brand_,specification_,image_,stock_count_,sell_count_,market_price_,discount_price_,group_purchase_price_,brief_,desc_,is_new_,is_top_,status_,memo_,publish_time_,create_time_,update_time_) VALUES(#{id},#{goodsCategoryId},#{sn},#{name},#{brand},#{specification},#{image},#{stockCount},#{sellCount},#{marketPrice},#{discountPrice},#{groupPurchasePrice},#{brief},#{desc},#{isNew},#{isTop},#{status},#{memo},#{publishTime},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.Goods">
+		UPDATE goods <set>
+<if test="specification != null">
+specification_ = #{specification},
+</if>
+<if test="status != null">
+status_ = #{status},
+</if>
+<if test="isTop != null">
+is_top_ = #{isTop},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="sn != null">
+sn_ = #{sn},
+</if>
+<if test="marketPrice != null">
+market_price_ = #{marketPrice},
+</if>
+<if test="memo != null">
+memo_ = #{memo},
+</if>
+<if test="isNew != null">
+is_new_ = #{isNew},
+</if>
+<if test="groupPurchasePrice != null">
+group_purchase_price_ = #{groupPurchasePrice},
+</if>
+<if test="name != null">
+name_ = #{name},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+<if test="stockCount != null">
+stock_count_ = #{stockCount},
+</if>
+<if test="goodsCategoryId != null">
+goods_category_id_ = #{goodsCategoryId},
+</if>
+<if test="brand != null">
+brand_ = #{brand},
+</if>
+<if test="brief != null">
+brief_ = #{brief},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="discountPrice != null">
+discount_price_ = #{discountPrice},
+</if>
+<if test="sellCount != null">
+sell_count_ = #{sellCount},
+</if>
+<if test="image != null">
+image_ = #{image},
+</if>
+<if test="desc != null">
+desc_ = #{desc},
+</if>
+<if test="publishTime != null">
+publish_time_ = #{publishTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM goods WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="Goods" parameterType="map">
+		SELECT * FROM goods ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM goods
+	</select>
+</mapper>

Vissa filer visades inte eftersom för många filer har ändrats