修改查询sql
This commit is contained in:
parent
63070316c5
commit
d26d77b570
|
@ -477,7 +477,7 @@
|
||||||
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
|
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
|
||||||
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
|
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
|
||||||
from bl_teacher_answer
|
from bl_teacher_answer
|
||||||
where main_id = #{id} and POSITIONTYPE = '教学科研型' and POSITIONTYPE not in ('辅导员','教学科研型')
|
where main_id = #{id} and POSITIONTYPE = '教学科研型'
|
||||||
union ALL
|
union ALL
|
||||||
select '教学型' as lsname,
|
select '教学型' as lsname,
|
||||||
format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1,
|
format(round(sum(SPEND_RESEARCH)/count('x'),2),0) as tj1,
|
||||||
|
@ -487,7 +487,7 @@
|
||||||
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
|
format(round(sum(SPEND_MEETING)/count('x'),2),0) as tj5,
|
||||||
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
|
format(round(sum(SPEND_PARTTIME)/count('x'),2),0) as tj6
|
||||||
from bl_teacher_answer
|
from bl_teacher_answer
|
||||||
where main_id = #{id} and POSITIONTYPE = '教学型' and POSITIONTYPE not in ('辅导员','教学科研型')
|
where main_id = #{id} and POSITIONTYPE = '教学型'
|
||||||
</select>
|
</select>
|
||||||
<!-- 不同职称教师在各项工作上的平均时间投入-->
|
<!-- 不同职称教师在各项工作上的平均时间投入-->
|
||||||
<select id="getSelectBtzcjspjtrscTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
|
<select id="getSelectBtzcjspjtrscTjt" resultType="org.jeecg.modules.demo.blTeacherAnswer.entity.BlTeacherAnswer">
|
||||||
|
|
Loading…
Reference in New Issue