班级考勤部分代码

This commit is contained in:
sk1551 2020-09-24 08:50:56 +08:00
parent b2811387f8
commit fc9da12e16

View File

@ -410,7 +410,7 @@
</delete> </delete>
<select id="selectststicstClassList" parameterType="ByChild" <select id="selectststicstClassList" parameterType="ByChild"
resultMap="ByClassResult"> resultMap="ByChildResult">
select c.id,c.classid,c.name, select c.id,c.classid,c.name,
(select count(*) from by_child where id=c.id) as childcount, (select count(*) from by_child where id=c.id) as childcount,
((select count(*) from by_child_checkin_detail where classid=d.bjbh and ((select count(*) from by_child_checkin_detail where classid=d.bjbh and