龚焕茏
2024-05-14 c88e763c3a2c6a432189df33e567e71f30861e32
src/main/resources/mapper/ExamTemplatesMapper.xml
@@ -70,6 +70,9 @@
            <if test="userId != null">
                and u.user_id = #{userId}
            </if>
            <if test="deptId != null">
                and e.dept_id = #{deptId}
            </if>
            <if test="now !=null">
                and #{now} between e.start_time and e.end_time
            </if>
@@ -93,4 +96,4 @@
        where id = #{id}
    </delete>
</mapper>
</mapper>