首页考勤统计
This commit is contained in:
@ -110,6 +110,12 @@ public class ByClass extends BaseEntity {
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createtime;
|
||||
|
||||
/***
|
||||
* 幼儿总数
|
||||
*/
|
||||
private Long childcount;
|
||||
private Long childcheckincount;
|
||||
|
||||
public String getMonth() {
|
||||
return month;
|
||||
}
|
||||
@ -529,6 +535,22 @@ public class ByClass extends BaseEntity {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public Long getChildcount() {
|
||||
return childcount;
|
||||
}
|
||||
|
||||
public void setChildcount(Long childcount) {
|
||||
this.childcount = childcount;
|
||||
}
|
||||
|
||||
public Long getChildcheckincount() {
|
||||
return childcheckincount;
|
||||
}
|
||||
|
||||
public void setChildcheckincount(Long childcheckincount) {
|
||||
this.childcheckincount = childcheckincount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
@ -548,6 +570,8 @@ public class ByClass extends BaseEntity {
|
||||
.append("zljsxm", getZljsxm())
|
||||
.append("isdel", getIsdel())
|
||||
.append("createtime", getCreatetime())
|
||||
.append("childcount", getChildcount())
|
||||
.append("childcheckincount", getChildcheckincount())
|
||||
.append("month", getMonth())
|
||||
.append("day1", getDay1())
|
||||
.append("day2", getDay2())
|
||||
|
@ -9,6 +9,9 @@ spring:
|
||||
url: jdbc:mysql://120.53.14.147:3306/benyi-vue-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: tsbz2020!
|
||||
# url: jdbc:mysql://192.144.133.123:3306/benyi-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
# username: root
|
||||
# password: msd5Ysql$%123
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
|
@ -19,6 +19,8 @@
|
||||
<result property="pbjsxm" column="pbjsxm"/>
|
||||
<result property="zljs" column="zljs"/>
|
||||
<result property="zljsxm" column="zljsxm"/>
|
||||
<result property="childcount" column="childcount"/>
|
||||
<result property="childcheckincount" column="childcheckincount"/>
|
||||
<result property="isdel" column="isdel"/>
|
||||
<result property="createtime" column="createtime"/>
|
||||
<result property="month" column="month"/>
|
||||
@ -61,6 +63,8 @@
|
||||
zbjs, (select nick_name from sys_user where sys_user.user_id=zbjs) zbjsxm,
|
||||
pbjs, (select nick_name from sys_user where sys_user.user_id=pbjs) pbjsxm,
|
||||
zljs, (select nick_name from sys_user where sys_user.user_id=zljs) zljsxm,
|
||||
(select count(*) from by_child WHERE by_child.classid=d.bjbh) childcount,
|
||||
(select count(*) from by_child_checkin_detail WHERE by_child_checkin_detail.classid=d.bjbh and type='01' and date_format(by_child_checkin_detail.create_time,'%Y-%m-%d')=date_format(sysdate(),'%Y-%m-%d')) childcheckincount,
|
||||
isdel, createtime from by_class d
|
||||
</sql>
|
||||
|
||||
|
Reference in New Issue
Block a user