学生端首页-日历查询方法 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,10 +229,10 @@
</select> </select>
<select id="getStudentRiliKclist" resultType="org.jeecg.modules.kc.ktgl.entity.KcKetangbiao"> <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} where a.KCAPZBBH = b.rwbh and a.xh = #{xh} and b.xnxq = #{xnxq}
and b.skrq like concat(DATE_FORMAT(NOW(),'%Y-%m'),'%') 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> </select>
<update id="updateSzkc"> <update id="updateSzkc">