班级考勤部分代码

This commit is contained in:
sk1551
2020-09-25 13:45:20 +08:00
parent c5b8288bd4
commit 0a5400379e
3 changed files with 71 additions and 17 deletions

View File

@ -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