20200514-zlp-1
有个冲突
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| package com.ruoyi.project.benyi.domain; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import com.ruoyi.project.system.domain.ByClass; | ||||
| import org.apache.commons.lang3.builder.ToStringBuilder; | ||||
| import org.apache.commons.lang3.builder.ToStringStyle; | ||||
| import com.ruoyi.framework.aspectj.lang.annotation.Excel; | ||||
| @@ -65,6 +66,8 @@ public class BySchoolcalendarClass extends BaseEntity | ||||
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||||
|     private Date createtime; | ||||
|  | ||||
|     private ByClass byClass; | ||||
|  | ||||
|  | ||||
|  | ||||
|     public void setId(Long id) | ||||
| @@ -126,9 +129,14 @@ public class BySchoolcalendarClass extends BaseEntity | ||||
|         this.activitytime = activitytime; | ||||
|     } | ||||
|  | ||||
|     public Date getActivitytime() | ||||
|     { | ||||
|         return activitytime; | ||||
|     } | ||||
|     public void setActivityendtime(Date activityendtime) { | ||||
|         this.activityendtime = activityendtime; | ||||
|     } | ||||
|  | ||||
|     public Date getActivityendtime() { | ||||
|         return activityendtime; | ||||
|     } | ||||
| @@ -136,14 +144,10 @@ public class BySchoolcalendarClass extends BaseEntity | ||||
|     public void setStylecolor(String stylecolor) { | ||||
|         this.stylecolor = stylecolor; | ||||
|     } | ||||
|  | ||||
|     public String getStylecolor() { | ||||
|         return stylecolor; | ||||
|     } | ||||
|  | ||||
|     public Date getActivitytime() | ||||
|     { | ||||
|         return activitytime; | ||||
|     } | ||||
|     public void setCreateuserid(Long createuserid) | ||||
|     { | ||||
|         this.createuserid = createuserid; | ||||
| @@ -159,18 +163,19 @@ public class BySchoolcalendarClass extends BaseEntity | ||||
|     @Override | ||||
|     public String toString() { | ||||
|         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||||
|             .append("id", getId()) | ||||
|             .append("name", getName()) | ||||
|             .append("type", getType()) | ||||
|             .append("classid", getClassid()) | ||||
|             .append("xnxq", getXnxq()) | ||||
|             .append("deptid", getDeptid()) | ||||
|             .append("activitytime", getActivitytime()) | ||||
|             .append("activityendtime", getActivityendtime()) | ||||
|             .append("stylecolor", getStylecolor()) | ||||
|             .append("createuserid", getCreateuserid()) | ||||
|             .append("createtime", getCreatetime()) | ||||
|             .toString(); | ||||
|                 .append("id", getId()) | ||||
|                 .append("name", getName()) | ||||
|                 .append("type", getType()) | ||||
|                 .append("classid", getClassid()) | ||||
|                 .append("xnxq", getXnxq()) | ||||
|                 .append("deptid", getDeptid()) | ||||
|                 .append("activitytime", getActivitytime()) | ||||
|                 .append("activityendtime", getActivityendtime()) | ||||
|                 .append("stylecolor", getStylecolor()) | ||||
|                 .append("createuserid", getCreateuserid()) | ||||
|                 .append("createtime", getCreatetime()) | ||||
|                 .append("byClass", getByClass()) | ||||
|                 .toString(); | ||||
|     } | ||||
|  | ||||
|     public Date getCreatetime() { | ||||
| @@ -180,4 +185,12 @@ public class BySchoolcalendarClass extends BaseEntity | ||||
|     public void setCreatetime(Date createtime) { | ||||
|         this.createtime = createtime; | ||||
|     } | ||||
|  | ||||
|     public ByClass getByClass() { | ||||
|         return byClass; | ||||
|     } | ||||
|  | ||||
|     public void setByClass(ByClass byClass) { | ||||
|         this.byClass = byClass; | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -16,6 +16,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||
|         <result property="stylecolor"    column="stylecolor"    /> | ||||
|         <result property="createuserid"    column="createuserid"    /> | ||||
|         <result property="createtime"    column="createtime"    /> | ||||
|         <association property="byClass"    column="bjbh" javaType="ByClass" resultMap="ByClassResult" /> | ||||
|     </resultMap> | ||||
|  | ||||
|     <resultMap type="ByClass" id="ByClassResult"> | ||||
|         <result property="bjbh" column="bjbh"/> | ||||
|         <result property="deptId" column="dept_id"/> | ||||
|         <result property="bjtype" column="bjtype"/> | ||||
|         <result property="bhxh" column="bhxh"/> | ||||
|         <result property="xn" column="xn"/> | ||||
|         <result property="bjmc" column="bjmc"/> | ||||
|         <result property="bjrych" column="bjrych"/> | ||||
|         <result property="jbny" column="jbny"/> | ||||
|         <result property="zbjs" column="zbjs"/> | ||||
|         <result property="zbjsxm" column="zbjsxm"/> | ||||
|         <result property="pbjs" column="pbjs"/> | ||||
|         <result property="pbjsxm" column="pbjsxm"/> | ||||
|         <result property="zljs" column="zljs"/> | ||||
|         <result property="zljsxm" column="zljsxm"/> | ||||
|         <result property="isdel" column="isdel"/> | ||||
|         <result property="createtime" column="createtime"/> | ||||
|     </resultMap> | ||||
|  | ||||
|     <sql id="selectBySchoolcalendarClassVo"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user