diff --git a/ruoyi/src/main/resources/mybatis/benyi/ByChildMapper.xml b/ruoyi/src/main/resources/mybatis/benyi/ByChildMapper.xml index b44572c7a..2d4ecf3ec 100644 --- a/ruoyi/src/main/resources/mybatis/benyi/ByChildMapper.xml +++ b/ruoyi/src/main/resources/mybatis/benyi/ByChildMapper.xml @@ -544,9 +544,9 @@ where c.status = '0' and c.classid = #{classid} --- ${dataScope} + -- ${dataScope} union all - select '','classid','小计','','', + select '','classid', '小计','','', CONCAT(convert(((select count(*) from by_child_checkin_detail where type='01' and date_format(create_time,'%Y-%m-%d')=concat(#{month},'-01') and classid=c.classid) / count(*)*100),decimal), '%') as day1, CONCAT(convert(((select count(*) from by_child_checkin_detail where @@ -613,7 +613,7 @@ where c.status = '0' and c.classid = #{classid} --- ${dataScope} + -- ${dataScope} \ No newline at end of file