Browse Source

add:新增表

yonge 5 years ago
parent
commit
37525be98f
41 changed files with 2015 additions and 4 deletions
  1. 4 4
      mec-web/src/main/java/com/ym/mec/web/dal/dao/CooperationOrganDao.java
  2. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/EmployeeDao.java
  3. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/MusicGroupPurchaseListDao.java
  4. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentRechargeDao.java
  5. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentWithdrawDao.java
  6. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/SysMessageConfigDao.java
  7. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/SysMessageDao.java
  8. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/SysSuggestionDao.java
  9. 9 0
      mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherLeaveRecordDao.java
  10. 169 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/Employee.java
  11. 81 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/MusicGroupPurchaseList.java
  12. 147 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentRecharge.java
  13. 147 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentWithdraw.java
  14. 158 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/SysMessage.java
  15. 81 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/SysMessageConfig.java
  16. 81 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/SysSuggestion.java
  17. 103 0
      mec-web/src/main/java/com/ym/mec/web/dal/entity/TeacherLeaveRecord.java
  18. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/EmployeeService.java
  19. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/MusicGroupPurchaseListService.java
  20. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/StudentRechargeService.java
  21. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/StudentWithdrawService.java
  22. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/SysMessageConfigService.java
  23. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/SysMessageService.java
  24. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/SysSuggestionService.java
  25. 8 0
      mec-web/src/main/java/com/ym/mec/web/service/TeacherLeaveRecordService.java
  26. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/EmployeeServiceImpl.java
  27. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/MusicGroupPurchaseListServiceImpl.java
  28. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/StudentRechargeServiceImpl.java
  29. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/StudentWithdrawServiceImpl.java
  30. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/SysMessageConfigServiceImpl.java
  31. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/SysMessageServiceImpl.java
  32. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/SysSuggestionServiceImpl.java
  33. 23 0
      mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherLeaveRecordServiceImpl.java
  34. 108 0
      mec-web/src/main/resources/config/mybatis/EmployeeMapper.xml
  35. 76 0
      mec-web/src/main/resources/config/mybatis/MusicGroupPurchaseListMapper.xml
  36. 100 0
      mec-web/src/main/resources/config/mybatis/StudentRechargeMapper.xml
  37. 100 0
      mec-web/src/main/resources/config/mybatis/StudentWithdrawMapper.xml
  38. 76 0
      mec-web/src/main/resources/config/mybatis/SysMessageConfigMapper.xml
  39. 104 0
      mec-web/src/main/resources/config/mybatis/SysMessageMapper.xml
  40. 76 0
      mec-web/src/main/resources/config/mybatis/SysSuggestionMapper.xml
  41. 84 0
      mec-web/src/main/resources/config/mybatis/TeacherLeaveRecordMapper.xml

+ 4 - 4
mec-web/src/main/java/com/ym/mec/web/dal/dao/CooperationOrganDao.java

@@ -1,11 +1,11 @@
 package com.ym.mec.web.dal.dao;
 
-import com.ym.mec.common.dal.BaseDAO;
-import com.ym.mec.web.dal.entity.CooperationOrgan;
-import com.ym.mec.web.dal.enums.YesOrNoEnum;
+import java.util.List;
+
 import org.apache.ibatis.annotations.Param;
 
-import java.util.List;
+import com.ym.mec.common.dal.BaseDAO;
+import com.ym.mec.web.dal.entity.CooperationOrgan;
 
 public interface CooperationOrganDao extends BaseDAO<Integer, CooperationOrgan> {
 

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/EmployeeDao.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.Employee;
+
+public interface EmployeeDao extends BaseDAO<Integer, Employee> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/MusicGroupPurchaseListDao.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.MusicGroupPurchaseList;
+
+public interface MusicGroupPurchaseListDao extends BaseDAO<Integer, MusicGroupPurchaseList> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentRechargeDao.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.StudentRecharge;
+
+public interface StudentRechargeDao extends BaseDAO<String, StudentRecharge> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/StudentWithdrawDao.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.StudentWithdraw;
+
+public interface StudentWithdrawDao extends BaseDAO<String, StudentWithdraw> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/SysMessageConfigDao.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.SysMessageConfig;
+
+public interface SysMessageConfigDao extends BaseDAO<Integer, SysMessageConfig> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/SysMessageDao.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.SysMessage;
+
+public interface SysMessageDao extends BaseDAO<Long, SysMessage> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/SysSuggestionDao.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.SysSuggestion;
+
+public interface SysSuggestionDao extends BaseDAO<Long, SysSuggestion> {
+
+	
+}

+ 9 - 0
mec-web/src/main/java/com/ym/mec/web/dal/dao/TeacherLeaveRecordDao.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.TeacherLeaveRecord;
+
+public interface TeacherLeaveRecordDao extends BaseDAO<Long, TeacherLeaveRecord> {
+
+	
+}

+ 169 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/Employee.java

@@ -0,0 +1,169 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(employee):
+ */
+public class Employee {
+
+	/**  */
+	private Integer userId;
+	
+	/**  */
+	private Integer organId;
+	
+	/** 工作性质(兼职、全职、临时) */
+	private String jobNature;
+	
+	/** 是否试用期(1-是 0-否) */
+	private String isProbationPeriod;
+	
+	/** 学历 */
+	private String educationBackground;
+	
+	/** 毕业学校 */
+	private String graduateSchool;
+	
+	/** 技术职称 */
+	private String technicalTitles;
+	
+	/** 入职时间 */
+	private java.util.Date entryDate;
+	
+	/** 证件类型 */
+	private String certificateType;
+	
+	/** 证件号码 */
+	private String certificateNum;
+	
+	/**  */
+	private java.util.Date updateTime;
+	
+	/**  */
+	private java.util.Date createTime;
+	
+	/** 介绍 */
+	private String introduction;
+	
+	/** 离职日期 */
+	private java.util.Date demissionDate;
+	
+	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 setJobNature(String jobNature){
+		this.jobNature = jobNature;
+	}
+	
+	public String getJobNature(){
+		return this.jobNature;
+	}
+			
+	public void setIsProbationPeriod(String isProbationPeriod){
+		this.isProbationPeriod = isProbationPeriod;
+	}
+	
+	public String getIsProbationPeriod(){
+		return this.isProbationPeriod;
+	}
+			
+	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 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 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;
+	}
+			
+	public void setIntroduction(String introduction){
+		this.introduction = introduction;
+	}
+	
+	public String getIntroduction(){
+		return this.introduction;
+	}
+			
+	public void setDemissionDate(java.util.Date demissionDate){
+		this.demissionDate = demissionDate;
+	}
+	
+	public java.util.Date getDemissionDate(){
+		return this.demissionDate;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

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

@@ -0,0 +1,81 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(music_group_purchase_list):
+ */
+public class MusicGroupPurchaseList {
+
+	/**  */
+	private Integer id;
+	
+	/**  */
+	private Integer musicGroupId;
+	
+	/**  */
+	private Integer goodsId;
+	
+	/** 采购数量 */
+	private Integer purchaseNum;
+	
+	/**  */
+	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 setGoodsId(Integer goodsId){
+		this.goodsId = goodsId;
+	}
+	
+	public Integer getGoodsId(){
+		return this.goodsId;
+	}
+			
+	public void setPurchaseNum(Integer purchaseNum){
+		this.purchaseNum = purchaseNum;
+	}
+	
+	public Integer getPurchaseNum(){
+		return this.purchaseNum;
+	}
+			
+	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);
+	}
+
+}

+ 147 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentRecharge.java

@@ -0,0 +1,147 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(student_recharge):
+ */
+public class StudentRecharge {
+
+	/** 充值流水号 */
+	private String id;
+	
+	/** 用户编号 */
+	private Long userId;
+	
+	/** 交易流水号,第三方支付机构返回的 */
+	private String transNo;
+	
+	/** 1,交易中;2,成功交易;3,交易失败;4,交易关闭 */
+	private Integer status;
+	
+	/** 充值金额 */
+	private long amount;
+	
+	/** 用户承担的充值费用(单位:分) */
+	private long feeUser;
+	
+	/** 平台承担的费用(单位:分) */
+	private long feePlatform;
+	
+	/** 第三方支付平台名称(用拼音简称代替) */
+	private String payPlatform;
+	
+	/** 描述 */
+	private String description;
+	
+	/** 后台备注 */
+	private String comment;
+	
+	/** 创建时间 */
+	private java.util.Date createTime;
+	
+	/** 最后修改时间 */
+	private java.util.Date modifyTime;
+	
+	public void setId(String id){
+		this.id = id;
+	}
+	
+	public String getId(){
+		return this.id;
+	}
+			
+	public void setUserId(Long userId){
+		this.userId = userId;
+	}
+	
+	public Long getUserId(){
+		return this.userId;
+	}
+			
+	public void setTransNo(String transNo){
+		this.transNo = transNo;
+	}
+	
+	public String getTransNo(){
+		return this.transNo;
+	}
+			
+	public void setStatus(Integer status){
+		this.status = status;
+	}
+	
+	public Integer getStatus(){
+		return this.status;
+	}
+			
+	public void setAmount(long amount){
+		this.amount = amount;
+	}
+	
+	public long getAmount(){
+		return this.amount;
+	}
+			
+	public void setFeeUser(long feeUser){
+		this.feeUser = feeUser;
+	}
+	
+	public long getFeeUser(){
+		return this.feeUser;
+	}
+			
+	public void setFeePlatform(long feePlatform){
+		this.feePlatform = feePlatform;
+	}
+	
+	public long getFeePlatform(){
+		return this.feePlatform;
+	}
+			
+	public void setPayPlatform(String payPlatform){
+		this.payPlatform = payPlatform;
+	}
+	
+	public String getPayPlatform(){
+		return this.payPlatform;
+	}
+			
+	public void setDescription(String description){
+		this.description = description;
+	}
+	
+	public String getDescription(){
+		return this.description;
+	}
+			
+	public void setComment(String comment){
+		this.comment = comment;
+	}
+	
+	public String getComment(){
+		return this.comment;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setModifyTime(java.util.Date modifyTime){
+		this.modifyTime = modifyTime;
+	}
+	
+	public java.util.Date getModifyTime(){
+		return this.modifyTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 147 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/StudentWithdraw.java

@@ -0,0 +1,147 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(student_withdraw):
+ */
+public class StudentWithdraw {
+
+	/** 提现流水号 */
+	private String id;
+	
+	/** 用户编号 */
+	private Long userId;
+	
+	/** 银行卡号 */
+	private String bankCardNo;
+	
+	/** 银行流水号 */
+	private String transNo;
+	
+	/** 交易状态(1,交易中;2,成功交易;3,交易失败;4,交易关闭) */
+	private Integer status;
+	
+	/** 提现金额 */
+	private long amount;
+	
+	/** 用户承担的费用(单位:分) */
+	private long feeUser;
+	
+	/** 平台承担的费用(单位:分) */
+	private long feePlatform;
+	
+	/** 描述 */
+	private String description;
+	
+	/** 备注 */
+	private String comment;
+	
+	/** 创建时间 */
+	private java.util.Date createTime;
+	
+	/** 修改时间 */
+	private java.util.Date modifyTime;
+	
+	public void setId(String id){
+		this.id = id;
+	}
+	
+	public String getId(){
+		return this.id;
+	}
+			
+	public void setUserId(Long userId){
+		this.userId = userId;
+	}
+	
+	public Long getUserId(){
+		return this.userId;
+	}
+			
+	public void setBankCardNo(String bankCardNo){
+		this.bankCardNo = bankCardNo;
+	}
+	
+	public String getBankCardNo(){
+		return this.bankCardNo;
+	}
+			
+	public void setTransNo(String transNo){
+		this.transNo = transNo;
+	}
+	
+	public String getTransNo(){
+		return this.transNo;
+	}
+			
+	public void setStatus(Integer status){
+		this.status = status;
+	}
+	
+	public Integer getStatus(){
+		return this.status;
+	}
+			
+	public void setAmount(long amount){
+		this.amount = amount;
+	}
+	
+	public long getAmount(){
+		return this.amount;
+	}
+			
+	public void setFeeUser(long feeUser){
+		this.feeUser = feeUser;
+	}
+	
+	public long getFeeUser(){
+		return this.feeUser;
+	}
+			
+	public void setFeePlatform(long feePlatform){
+		this.feePlatform = feePlatform;
+	}
+	
+	public long getFeePlatform(){
+		return this.feePlatform;
+	}
+			
+	public void setDescription(String description){
+		this.description = description;
+	}
+	
+	public String getDescription(){
+		return this.description;
+	}
+			
+	public void setComment(String comment){
+		this.comment = comment;
+	}
+	
+	public String getComment(){
+		return this.comment;
+	}
+			
+	public void setCreateTime(java.util.Date createTime){
+		this.createTime = createTime;
+	}
+	
+	public java.util.Date getCreateTime(){
+		return this.createTime;
+	}
+			
+	public void setModifyTime(java.util.Date modifyTime){
+		this.modifyTime = modifyTime;
+	}
+	
+	public java.util.Date getModifyTime(){
+		return this.modifyTime;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 158 - 0
mec-web/src/main/java/com/ym/mec/web/dal/entity/SysMessage.java

@@ -0,0 +1,158 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(sys_message):
+ */
+public class SysMessage {
+
+	/** 主键 */
+	private Long id;
+	
+	/** 标题 */
+	private String title;
+	
+	/** 消息内容 */
+	private String content;
+	
+	/** 消息类型;1,表示短信;2,表示邮件; 3,app推送消息 */
+	private Integer type;
+	
+	/** 状态,-1,发送失败;0,待发送;1,发送中;2,发送完成 */
+	private Integer status;
+	
+	/** 接收人(多个人用逗号分隔) */
+	private String receiver;
+	
+	/** 发送时间 */
+	private java.util.Date sendTime;
+	
+	/** 错误信息 */
+	private String errorMsg;
+	
+	/** 创建时间 */
+	private java.util.Date createOn;
+	
+	/** 修改时间 */
+	private java.util.Date modifyOn;
+	
+	/** 用户编号 */
+	private Long userId;
+	
+	/** 备注 */
+	private String memo;
+	
+	/** 是否已读 */
+	private String readStatus;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setTitle(String title){
+		this.title = title;
+	}
+	
+	public String getTitle(){
+		return this.title;
+	}
+			
+	public void setContent(String content){
+		this.content = content;
+	}
+	
+	public String getContent(){
+		return this.content;
+	}
+			
+	public void setType(Integer type){
+		this.type = type;
+	}
+	
+	public Integer getType(){
+		return this.type;
+	}
+			
+	public void setStatus(Integer status){
+		this.status = status;
+	}
+	
+	public Integer getStatus(){
+		return this.status;
+	}
+			
+	public void setReceiver(String receiver){
+		this.receiver = receiver;
+	}
+	
+	public String getReceiver(){
+		return this.receiver;
+	}
+			
+	public void setSendTime(java.util.Date sendTime){
+		this.sendTime = sendTime;
+	}
+	
+	public java.util.Date getSendTime(){
+		return this.sendTime;
+	}
+			
+	public void setErrorMsg(String errorMsg){
+		this.errorMsg = errorMsg;
+	}
+	
+	public String getErrorMsg(){
+		return this.errorMsg;
+	}
+			
+	public void setCreateOn(java.util.Date createOn){
+		this.createOn = createOn;
+	}
+	
+	public java.util.Date getCreateOn(){
+		return this.createOn;
+	}
+			
+	public void setModifyOn(java.util.Date modifyOn){
+		this.modifyOn = modifyOn;
+	}
+	
+	public java.util.Date getModifyOn(){
+		return this.modifyOn;
+	}
+			
+	public void setUserId(Long userId){
+		this.userId = userId;
+	}
+	
+	public Long getUserId(){
+		return this.userId;
+	}
+			
+	public void setMemo(String memo){
+		this.memo = memo;
+	}
+	
+	public String getMemo(){
+		return this.memo;
+	}
+			
+	public void setReadStatus(String readStatus){
+		this.readStatus = readStatus;
+	}
+	
+	public String getReadStatus(){
+		return this.readStatus;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

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

@@ -0,0 +1,81 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(sys_message_config):
+ */
+public class SysMessageConfig {
+
+	/**  */
+	private Integer id;
+	
+	/** 消息类型 */
+	private String messageType;
+	
+	/** 消息内容 */
+	private String content;
+	
+	/** 描述 */
+	private String description;
+	
+	/** 最后修改时间 */
+	private java.util.Date modifyOn;
+	
+	/** 跳转url */
+	private String url;
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return this.id;
+	}
+			
+	public void setMessageType(String messageType){
+		this.messageType = messageType;
+	}
+	
+	public String getMessageType(){
+		return this.messageType;
+	}
+			
+	public void setContent(String content){
+		this.content = content;
+	}
+	
+	public String getContent(){
+		return this.content;
+	}
+			
+	public void setDescription(String description){
+		this.description = description;
+	}
+	
+	public String getDescription(){
+		return this.description;
+	}
+			
+	public void setModifyOn(java.util.Date modifyOn){
+		this.modifyOn = modifyOn;
+	}
+	
+	public java.util.Date getModifyOn(){
+		return this.modifyOn;
+	}
+			
+	public void setUrl(String url){
+		this.url = url;
+	}
+	
+	public String getUrl(){
+		return this.url;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

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

@@ -0,0 +1,81 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(sys_suggestion):
+ */
+public class SysSuggestion {
+
+	/** 编号 */
+	private Long id;
+	
+	/** 联系方式 */
+	private String mobileNo;
+	
+	/** 标题 */
+	private String title;
+	
+	/** 内容 */
+	private String content;
+	
+	/** 用户编号 */
+	private Long userId;
+	
+	/** 提交时间 */
+	private java.util.Date createTime;
+	
+	public void setId(Long id){
+		this.id = id;
+	}
+	
+	public Long getId(){
+		return this.id;
+	}
+			
+	public void setMobileNo(String mobileNo){
+		this.mobileNo = mobileNo;
+	}
+	
+	public String getMobileNo(){
+		return this.mobileNo;
+	}
+			
+	public void setTitle(String title){
+		this.title = title;
+	}
+	
+	public String getTitle(){
+		return this.title;
+	}
+			
+	public void setContent(String content){
+		this.content = content;
+	}
+	
+	public String getContent(){
+		return this.content;
+	}
+			
+	public void setUserId(Long userId){
+		this.userId = userId;
+	}
+	
+	public Long 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);
+	}
+
+}

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

@@ -0,0 +1,103 @@
+package com.ym.mec.web.dal.entity;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
+/**
+ * 对应数据库表(teacher_leave_record):
+ */
+public class TeacherLeaveRecord {
+
+	/**  */
+	private Long id;
+	
+	/**  */
+	private Integer userId;
+	
+	/** 请假天数 */
+	private Integer days;
+	
+	/** 请假类型 */
+	private String type;
+	
+	/** 请假状态(审批中、拒绝、通过) */
+	private String status;
+	
+	/** 备注 */
+	private String remark;
+	
+	/**  */
+	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 setUserId(Integer userId){
+		this.userId = userId;
+	}
+	
+	public Integer getUserId(){
+		return this.userId;
+	}
+			
+	public void setDays(Integer days){
+		this.days = days;
+	}
+	
+	public Integer getDays(){
+		return this.days;
+	}
+			
+	public void setType(String type){
+		this.type = type;
+	}
+	
+	public String getType(){
+		return this.type;
+	}
+			
+	public void setStatus(String status){
+		this.status = status;
+	}
+	
+	public String getStatus(){
+		return this.status;
+	}
+			
+	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;
+	}
+			
+	@Override
+	public String toString() {
+		return ToStringBuilder.reflectionToString(this);
+	}
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/EmployeeService.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.Employee;
+
+public interface EmployeeService extends BaseService<Integer, Employee> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/MusicGroupPurchaseListService.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.MusicGroupPurchaseList;
+
+public interface MusicGroupPurchaseListService extends BaseService<Integer, MusicGroupPurchaseList> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/StudentRechargeService.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.StudentRecharge;
+
+public interface StudentRechargeService extends BaseService<String, StudentRecharge> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/StudentWithdrawService.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.StudentWithdraw;
+
+public interface StudentWithdrawService extends BaseService<String, StudentWithdraw> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/SysMessageConfigService.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.SysMessageConfig;
+
+public interface SysMessageConfigService extends BaseService<Integer, SysMessageConfig> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/SysMessageService.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.SysMessage;
+
+public interface SysMessageService extends BaseService<Long, SysMessage> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/SysSuggestionService.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.SysSuggestion;
+
+public interface SysSuggestionService extends BaseService<Long, SysSuggestion> {
+
+}

+ 8 - 0
mec-web/src/main/java/com/ym/mec/web/service/TeacherLeaveRecordService.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.TeacherLeaveRecord;
+
+public interface TeacherLeaveRecordService extends BaseService<Long, TeacherLeaveRecord> {
+
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/EmployeeServiceImpl.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.EmployeeDao;
+import com.ym.mec.web.dal.entity.Employee;
+import com.ym.mec.web.service.EmployeeService;
+
+@Service
+public class EmployeeServiceImpl extends BaseServiceImpl<Integer, Employee>  implements EmployeeService {
+	
+	@Autowired
+	private EmployeeDao employeeDao;
+
+	@Override
+	public BaseDAO<Integer, Employee> getDAO() {
+		return employeeDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/MusicGroupPurchaseListServiceImpl.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.MusicGroupPurchaseListDao;
+import com.ym.mec.web.dal.entity.MusicGroupPurchaseList;
+import com.ym.mec.web.service.MusicGroupPurchaseListService;
+
+@Service
+public class MusicGroupPurchaseListServiceImpl extends BaseServiceImpl<Integer, MusicGroupPurchaseList>  implements MusicGroupPurchaseListService {
+	
+	@Autowired
+	private MusicGroupPurchaseListDao musicGroupPurchaseListDao;
+
+	@Override
+	public BaseDAO<Integer, MusicGroupPurchaseList> getDAO() {
+		return musicGroupPurchaseListDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/StudentRechargeServiceImpl.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.StudentRechargeDao;
+import com.ym.mec.web.dal.entity.StudentRecharge;
+import com.ym.mec.web.service.StudentRechargeService;
+
+@Service
+public class StudentRechargeServiceImpl extends BaseServiceImpl<String, StudentRecharge>  implements StudentRechargeService {
+	
+	@Autowired
+	private StudentRechargeDao studentRechargeDao;
+
+	@Override
+	public BaseDAO<String, StudentRecharge> getDAO() {
+		return studentRechargeDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/StudentWithdrawServiceImpl.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.StudentWithdrawDao;
+import com.ym.mec.web.dal.entity.StudentWithdraw;
+import com.ym.mec.web.service.StudentWithdrawService;
+
+@Service
+public class StudentWithdrawServiceImpl extends BaseServiceImpl<String, StudentWithdraw>  implements StudentWithdrawService {
+	
+	@Autowired
+	private StudentWithdrawDao studentWithdrawDao;
+
+	@Override
+	public BaseDAO<String, StudentWithdraw> getDAO() {
+		return studentWithdrawDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/SysMessageConfigServiceImpl.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.SysMessageConfigDao;
+import com.ym.mec.web.dal.entity.SysMessageConfig;
+import com.ym.mec.web.service.SysMessageConfigService;
+
+@Service
+public class SysMessageConfigServiceImpl extends BaseServiceImpl<Integer, SysMessageConfig>  implements SysMessageConfigService {
+	
+	@Autowired
+	private SysMessageConfigDao sysMessageConfigDao;
+
+	@Override
+	public BaseDAO<Integer, SysMessageConfig> getDAO() {
+		return sysMessageConfigDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/SysMessageServiceImpl.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.SysMessageDao;
+import com.ym.mec.web.dal.entity.SysMessage;
+import com.ym.mec.web.service.SysMessageService;
+
+@Service
+public class SysMessageServiceImpl extends BaseServiceImpl<Long, SysMessage>  implements SysMessageService {
+	
+	@Autowired
+	private SysMessageDao sysMessageDao;
+
+	@Override
+	public BaseDAO<Long, SysMessage> getDAO() {
+		return sysMessageDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/SysSuggestionServiceImpl.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.SysSuggestionDao;
+import com.ym.mec.web.dal.entity.SysSuggestion;
+import com.ym.mec.web.service.SysSuggestionService;
+
+@Service
+public class SysSuggestionServiceImpl extends BaseServiceImpl<Long, SysSuggestion>  implements SysSuggestionService {
+	
+	@Autowired
+	private SysSuggestionDao sysSuggestionDao;
+
+	@Override
+	public BaseDAO<Long, SysSuggestion> getDAO() {
+		return sysSuggestionDao;
+	}
+	
+}

+ 23 - 0
mec-web/src/main/java/com/ym/mec/web/service/impl/TeacherLeaveRecordServiceImpl.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.TeacherLeaveRecordDao;
+import com.ym.mec.web.dal.entity.TeacherLeaveRecord;
+import com.ym.mec.web.service.TeacherLeaveRecordService;
+
+@Service
+public class TeacherLeaveRecordServiceImpl extends BaseServiceImpl<Long, TeacherLeaveRecord>  implements TeacherLeaveRecordService {
+	
+	@Autowired
+	private TeacherLeaveRecordDao teacherLeaveRecordDao;
+
+	@Override
+	public BaseDAO<Long, TeacherLeaveRecord> getDAO() {
+		return teacherLeaveRecordDao;
+	}
+	
+}

+ 108 - 0
mec-web/src/main/resources/config/mybatis/EmployeeMapper.xml

@@ -0,0 +1,108 @@
+<?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.EmployeeDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.Employee" id="Employee">
+		<result column="user_id_" property="userId" />
+		<result column="organ_id_" property="organId" />
+		<result column="job_nature_" property="jobNature" />
+		<result column="is_probation_period_" property="isProbationPeriod" />
+		<result column="education_background_" property="educationBackground" />
+		<result column="graduate_school_" property="graduateSchool" />
+		<result column="technical_titles_" property="technicalTitles" />
+		<result column="entry_date_" property="entryDate" />
+		<result column="certificate_type_" property="certificateType" />
+		<result column="certificate_num_" property="certificateNum" />
+		<result column="update_time_" property="updateTime" />
+		<result column="create_time_" property="createTime" />
+		<result column="introduction_" property="introduction" />
+		<result column="demission_date_" property="demissionDate" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="Employee" >
+		SELECT * FROM employee WHERE user_id_ = #{userId} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="Employee">
+		SELECT * FROM employee ORDER BY user_id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.Employee" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO employee (user_id_,organ_id_,job_nature_,is_probation_period_,education_background_,graduate_school_,technical_titles_,entry_date_,certificate_type_,certificate_num_,update_time_,create_time_,introduction_,demission_date_) VALUES(#{userId},#{organId},#{jobNature},#{isProbationPeriod},#{educationBackground},#{graduateSchool},#{technicalTitles},#{entryDate},#{certificateType},#{certificateNum},#{updateTime},#{createTime},#{introduction},#{demissionDate})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.Employee">
+		UPDATE employee <set>
+<if test="isProbationPeriod != null">
+is_probation_period_ = #{isProbationPeriod},
+</if>
+<if test="graduateSchool != null">
+graduate_school_ = #{graduateSchool},
+</if>
+<if test="organId != null">
+organ_id_ = #{organId},
+</if>
+<if test="introduction != null">
+introduction_ = #{introduction},
+</if>
+<if test="technicalTitles != null">
+technical_titles_ = #{technicalTitles},
+</if>
+<if test="entryDate != null">
+entry_date_ = #{entryDate},
+</if>
+<if test="jobNature != null">
+job_nature_ = #{jobNature},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+<if test="userId != null">
+user_id_ = #{userId},
+</if>
+<if test="certificateType != null">
+certificate_type_ = #{certificateType},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="educationBackground != null">
+education_background_ = #{educationBackground},
+</if>
+<if test="certificateNum != null">
+certificate_num_ = #{certificateNum},
+</if>
+<if test="demissionDate != null">
+demission_date_ = #{demissionDate},
+</if>
+</set> WHERE user_id_ = #{userId} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM employee WHERE user_id_ = #{userId} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="Employee" parameterType="map">
+		SELECT * FROM employee ORDER BY user_id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM employee
+	</select>
+</mapper>

+ 76 - 0
mec-web/src/main/resources/config/mybatis/MusicGroupPurchaseListMapper.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.MusicGroupPurchaseListDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.MusicGroupPurchaseList" id="MusicGroupPurchaseList">
+		<result column="id_" property="id" />
+		<result column="music_group_id_" property="musicGroupId" />
+		<result column="goods_id_" property="goodsId" />
+		<result column="purchase_num_" property="purchaseNum" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="MusicGroupPurchaseList" >
+		SELECT * FROM music_group_purchase_list WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="MusicGroupPurchaseList">
+		SELECT * FROM music_group_purchase_list ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.MusicGroupPurchaseList" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO music_group_purchase_list (id_,music_group_id_,goods_id_,purchase_num_,create_time_,update_time_) VALUES(#{id},#{musicGroupId},#{goodsId},#{purchaseNum},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.MusicGroupPurchaseList">
+		UPDATE music_group_purchase_list <set>
+<if test="purchaseNum != null">
+purchase_num_ = #{purchaseNum},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="musicGroupId != null">
+music_group_id_ = #{musicGroupId},
+</if>
+<if test="goodsId != null">
+goods_id_ = #{goodsId},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM music_group_purchase_list WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="MusicGroupPurchaseList" parameterType="map">
+		SELECT * FROM music_group_purchase_list ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM music_group_purchase_list
+	</select>
+</mapper>

+ 100 - 0
mec-web/src/main/resources/config/mybatis/StudentRechargeMapper.xml

@@ -0,0 +1,100 @@
+<?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.StudentRechargeDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.StudentRecharge" id="StudentRecharge">
+		<result column="id_" property="id" />
+		<result column="user_id_" property="userId" />
+		<result column="trans_no_" property="transNo" />
+		<result column="status_" property="status" />
+		<result column="amount_" property="amount" />
+		<result column="fee_user_" property="feeUser" />
+		<result column="fee_platform_" property="feePlatform" />
+		<result column="pay_platform_" property="payPlatform" />
+		<result column="description_" property="description" />
+		<result column="comment_" property="comment" />
+		<result column="create_time_" property="createTime" />
+		<result column="modify_time_" property="modifyTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="StudentRecharge" >
+		SELECT * FROM student_recharge WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="StudentRecharge">
+		SELECT * FROM student_recharge ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.StudentRecharge" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO student_recharge (id_,user_id_,trans_no_,status_,amount_,fee_user_,fee_platform_,pay_platform_,description_,comment_,create_time_,modify_time_) VALUES(#{id},#{userId},#{transNo},#{status},#{amount},#{feeUser},#{feePlatform},#{payPlatform},#{description},#{comment},#{createTime},#{modifyTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.StudentRecharge">
+		UPDATE student_recharge <set>
+<if test="status != null">
+status_ = #{status},
+</if>
+<if test="userId != null">
+user_id_ = #{userId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="modifyTime != null">
+modify_time_ = #{modifyTime},
+</if>
+<if test="feePlatform != null">
+fee_platform_ = #{feePlatform},
+</if>
+<if test="comment != null">
+comment_ = #{comment},
+</if>
+<if test="amount != null">
+amount_ = #{amount},
+</if>
+<if test="feeUser != null">
+fee_user_ = #{feeUser},
+</if>
+<if test="description != null">
+description_ = #{description},
+</if>
+<if test="transNo != null">
+trans_no_ = #{transNo},
+</if>
+<if test="payPlatform != null">
+pay_platform_ = #{payPlatform},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM student_recharge WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="StudentRecharge" parameterType="map">
+		SELECT * FROM student_recharge ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM student_recharge
+	</select>
+</mapper>

+ 100 - 0
mec-web/src/main/resources/config/mybatis/StudentWithdrawMapper.xml

@@ -0,0 +1,100 @@
+<?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.StudentWithdrawDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.StudentWithdraw" id="StudentWithdraw">
+		<result column="id_" property="id" />
+		<result column="user_id_" property="userId" />
+		<result column="bank_card_no_" property="bankCardNo" />
+		<result column="trans_no_" property="transNo" />
+		<result column="status_" property="status" />
+		<result column="amount_" property="amount" />
+		<result column="fee_user_" property="feeUser" />
+		<result column="fee_platform_" property="feePlatform" />
+		<result column="description_" property="description" />
+		<result column="comment_" property="comment" />
+		<result column="create_time_" property="createTime" />
+		<result column="modify_time_" property="modifyTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="StudentWithdraw" >
+		SELECT * FROM student_withdraw WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="StudentWithdraw">
+		SELECT * FROM student_withdraw ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.StudentWithdraw" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO student_withdraw (id_,user_id_,bank_card_no_,trans_no_,status_,amount_,fee_user_,fee_platform_,description_,comment_,create_time_,modify_time_) VALUES(#{id},#{userId},#{bankCardNo},#{transNo},#{status},#{amount},#{feeUser},#{feePlatform},#{description},#{comment},#{createTime},#{modifyTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.StudentWithdraw">
+		UPDATE student_withdraw <set>
+<if test="status != null">
+status_ = #{status},
+</if>
+<if test="userId != null">
+user_id_ = #{userId},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="modifyTime != null">
+modify_time_ = #{modifyTime},
+</if>
+<if test="feePlatform != null">
+fee_platform_ = #{feePlatform},
+</if>
+<if test="comment != null">
+comment_ = #{comment},
+</if>
+<if test="amount != null">
+amount_ = #{amount},
+</if>
+<if test="feeUser != null">
+fee_user_ = #{feeUser},
+</if>
+<if test="bankCardNo != null">
+bank_card_no_ = #{bankCardNo},
+</if>
+<if test="description != null">
+description_ = #{description},
+</if>
+<if test="transNo != null">
+trans_no_ = #{transNo},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM student_withdraw WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="StudentWithdraw" parameterType="map">
+		SELECT * FROM student_withdraw ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM student_withdraw
+	</select>
+</mapper>

+ 76 - 0
mec-web/src/main/resources/config/mybatis/SysMessageConfigMapper.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.SysMessageConfigDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.SysMessageConfig" id="SysMessageConfig">
+		<result column="id_" property="id" />
+		<result column="message_type_" property="messageType" />
+		<result column="content_" property="content" />
+		<result column="description_" property="description" />
+		<result column="modify_on_" property="modifyOn" />
+		<result column="url_" property="url" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="SysMessageConfig" >
+		SELECT * FROM sys_message_config WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="SysMessageConfig">
+		SELECT * FROM sys_message_config ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.SysMessageConfig" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO sys_message_config (id_,message_type_,content_,description_,modify_on_,url_) VALUES(#{id},#{messageType},#{content},#{description},#{modifyOn},#{url})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.SysMessageConfig">
+		UPDATE sys_message_config <set>
+<if test="modifyOn != null">
+modify_on_ = #{modifyOn},
+</if>
+<if test="messageType != null">
+message_type_ = #{messageType},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="url != null">
+url_ = #{url},
+</if>
+<if test="content != null">
+content_ = #{content},
+</if>
+<if test="description != null">
+description_ = #{description},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM sys_message_config WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="SysMessageConfig" parameterType="map">
+		SELECT * FROM sys_message_config ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM sys_message_config
+	</select>
+</mapper>

+ 104 - 0
mec-web/src/main/resources/config/mybatis/SysMessageMapper.xml

@@ -0,0 +1,104 @@
+<?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.SysMessageDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.SysMessage" id="SysMessage">
+		<result column="id_" property="id" />
+		<result column="title_" property="title" />
+		<result column="content_" property="content" />
+		<result column="type_" property="type" />
+		<result column="status_" property="status" />
+		<result column="receiver_" property="receiver" />
+		<result column="send_time_" property="sendTime" />
+		<result column="error_msg_" property="errorMsg" />
+		<result column="create_on_" property="createOn" />
+		<result column="modify_on_" property="modifyOn" />
+		<result column="user_id_" property="userId" />
+		<result column="memo_" property="memo" />
+		<result column="read_status_" property="readStatus" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="SysMessage" >
+		SELECT * FROM sys_message WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="SysMessage">
+		SELECT * FROM sys_message ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.SysMessage" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO sys_message (id_,title_,content_,type_,status_,receiver_,send_time_,error_msg_,create_on_,modify_on_,user_id_,memo_,read_status_) VALUES(#{id},#{title},#{content},#{type},#{status},#{receiver},#{sendTime},#{errorMsg},#{createOn},#{modifyOn},#{userId},#{memo},#{readStatus})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.SysMessage">
+		UPDATE sys_message <set>
+<if test="status != null">
+status_ = #{status},
+</if>
+<if test="receiver != null">
+receiver_ = #{receiver},
+</if>
+<if test="modifyOn != null">
+modify_on_ = #{modifyOn},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="sendTime != null">
+send_time_ = #{sendTime},
+</if>
+<if test="readStatus != null">
+read_status_ = #{readStatus},
+</if>
+<if test="content != null">
+content_ = #{content},
+</if>
+<if test="memo != null">
+memo_ = #{memo},
+</if>
+<if test="userId != null">
+user_id_ = #{userId},
+</if>
+<if test="errorMsg != null">
+error_msg_ = #{errorMsg},
+</if>
+<if test="title != null">
+title_ = #{title},
+</if>
+<if test="createOn != null">
+create_on_ = #{createOn},
+</if>
+<if test="type != null">
+type_ = #{type},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM sys_message WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="SysMessage" parameterType="map">
+		SELECT * FROM sys_message ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM sys_message
+	</select>
+</mapper>

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

+ 84 - 0
mec-web/src/main/resources/config/mybatis/TeacherLeaveRecordMapper.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.TeacherLeaveRecordDao">
+	
+	<resultMap type="com.ym.mec.web.dal.entity.TeacherLeaveRecord" id="TeacherLeaveRecord">
+		<result column="id_" property="id" />
+		<result column="user_id_" property="userId" />
+		<result column="days_" property="days" />
+		<result column="type_" property="type" />
+		<result column="status_" property="status" />
+		<result column="remark_" property="remark" />
+		<result column="create_time_" property="createTime" />
+		<result column="update_time_" property="updateTime" />
+	</resultMap>
+	
+	<!-- 根据主键查询一条记录 -->
+	<select id="get" resultMap="TeacherLeaveRecord" >
+		SELECT * FROM teacher_leave_record WHERE id_ = #{id} 
+	</select>
+	
+	<!-- 全查询 -->
+	<select id="findAll" resultMap="TeacherLeaveRecord">
+		SELECT * FROM teacher_leave_record ORDER BY id_
+	</select>
+	
+	<!-- 向数据库增加一条记录 -->
+	<insert id="insert" parameterType="com.ym.mec.web.dal.entity.TeacherLeaveRecord" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
+		<!--
+		<selectKey resultClass="int" keyProperty="id" > 
+		SELECT SEQ_WSDEFINITION_ID.nextval AS ID FROM DUAL 
+		</selectKey>
+		-->
+		INSERT INTO teacher_leave_record (id_,user_id_,days_,type_,status_,remark_,create_time_,update_time_) VALUES(#{id},#{userId},#{days},#{type},#{status},#{remark},#{createTime},#{updateTime})
+	</insert>
+	
+	<!-- 根据主键查询一条记录 -->
+	<update id="update" parameterType="com.ym.mec.web.dal.entity.TeacherLeaveRecord">
+		UPDATE teacher_leave_record <set>
+<if test="status != null">
+status_ = #{status},
+</if>
+<if test="userId != null">
+user_id_ = #{userId},
+</if>
+<if test="remark != null">
+remark_ = #{remark},
+</if>
+<if test="id != null">
+id_ = #{id},
+</if>
+<if test="days != null">
+days_ = #{days},
+</if>
+<if test="updateTime != null">
+update_time_ = #{updateTime},
+</if>
+<if test="type != null">
+type_ = #{type},
+</if>
+<if test="createTime != null">
+create_time_ = #{createTime},
+</if>
+</set> WHERE id_ = #{id} 
+	</update>
+	
+	<!-- 根据主键删除一条记录 -->
+	<delete id="delete" >
+		DELETE FROM teacher_leave_record WHERE id_ = #{id} 
+	</delete>
+	
+	<!-- 分页查询 -->
+	<select id="queryPage" resultMap="TeacherLeaveRecord" parameterType="map">
+		SELECT * FROM teacher_leave_record ORDER BY id_ <include refid="global.limit"/>
+	</select>
+	
+	<!-- 查询当前表的总记录数 -->
+	<select id="queryCount" resultType="int">
+		SELECT COUNT(*) FROM teacher_leave_record
+	</select>
+</mapper>