学生端首页-日历查询方法 sql增加字段 jgh等

This commit is contained in:
1378012178@qq.com 2024-12-19 16:54:41 +08:00
parent 6f5c2e2a27
commit 8895352a23
1 changed files with 3 additions and 3 deletions

View File

@ -229,13 +229,13 @@
</select>
<select id="getStudentRiliKclist" resultType="org.jeecg.modules.kc.ktgl.entity.KcKetangbiao">
select b.rwbh,b.kcmc,GROUP_CONCAT(DISTINCT b.skjs ) as skjs,b.skrq from xxhbxsxkb a , kc_ketangbiao b
select b.rwbh,b.kcmc,GROUP_CONCAT(DISTINCT b.skjs ) as skjs,b.skrq,b.jgh,b.xnxq from xxhbxsxkb a , kc_ketangbiao b
where a.KCAPZBBH = b.rwbh and a.xh = #{xh} and b.xnxq = #{xnxq}
and b.skrq like concat(DATE_FORMAT(NOW(),'%Y-%m'),'%')
GROUP BY b.rwbh,b.kcmc,b.skrq
GROUP BY b.rwbh,b.kcmc,b.skrq,b.jgh,b.xnxq
</select>
<update id="updateSzkc">
update kc_kechengbiao set szkc = '1' where kkdw = '马列教研室'
</update>
</mapper>
</mapper>