班级考勤部分代码
This commit is contained in:
		| @@ -297,6 +297,8 @@ public class ByChild extends BaseEntity { | ||||
|     private String day29; | ||||
|     private String day30; | ||||
|     private String day31; | ||||
|     private String bjmc; | ||||
|     private String zbjsmc; | ||||
|  | ||||
|     public String getDay1() { | ||||
|         return day1; | ||||
| @@ -958,6 +960,8 @@ public class ByChild extends BaseEntity { | ||||
|                 .append("day29", getDay29()) | ||||
|                 .append("day30", getDay30()) | ||||
|                 .append("day31", getDay31()) | ||||
|                 .append("bjmc", getBjmc()) | ||||
|                 .append("zbjsmc", getZbjsmc()) | ||||
|                 .toString(); | ||||
|     } | ||||
|  | ||||
| @@ -968,4 +972,21 @@ public class ByChild extends BaseEntity { | ||||
|     public void setByChildContactpeople(ByChildContactpeople byChildContactpeople) { | ||||
|         this.byChildContactpeople = byChildContactpeople; | ||||
|     } | ||||
|  | ||||
|     public String getBjmc() { | ||||
|         return bjmc; | ||||
|     } | ||||
|  | ||||
|     public void setBjmc(String bjmc) { | ||||
|         this.bjmc = bjmc; | ||||
|     } | ||||
|  | ||||
|  | ||||
|     public String getZbjsmc() { | ||||
|         return zbjsmc; | ||||
|     } | ||||
|  | ||||
|     public void setZbjsmc(String zbjsmc) { | ||||
|         this.zbjsmc = zbjsmc; | ||||
|     } | ||||
| } | ||||
| @@ -78,6 +78,8 @@ | ||||
|         <result property="day29" column="day29"/> | ||||
|         <result property="day30" column="day30"/> | ||||
|         <result property="day31" column="day31"/> | ||||
|         <result property="bjmc" column="bjmc"/> | ||||
|         <result property="zbjsmc" column="zbjsmc"/> | ||||
|         <association property="byChildContactpeople"    column="childid" javaType="ByChildContactpeople" resultMap="ByChildContactpeopleResult" /> | ||||
|     </resultMap> | ||||
|  | ||||
| @@ -413,6 +415,10 @@ | ||||
|             resultMap="ByChildResult"> | ||||
|         select c.id, c.classid, c.name, | ||||
|  | ||||
|         (select bjmc from by_class where bjbh=c.classid) as bjmc, | ||||
|  | ||||
|         (select nick_name from sys_user where user_id in (select zbjs from by_class where bjbh=c.classid)) as zbjsmc, | ||||
|  | ||||
|         (select  (select dict_label from sys_dict_data | ||||
|         where dict_type='sys_dm_cqzt' and dict_value= type) | ||||
|         from by_child_checkin_detail where childid=c.id | ||||
|   | ||||
		Reference in New Issue
	
	Block a user