无关风月
5 天以前 d114c6ac8e3846309b4d1fb64f163f5cf22c56ce
ruoyi-system/src/main/resources/mapper/system/OaApprovalTodoMapper.xml
@@ -31,5 +31,15 @@
        group by application_id
        order by create_time desc
    </select>
    <select id="pageListAudit" resultType="com.ruoyi.system.model.OaApprovalTodo">
        select * from oa_approval_todo
        where 1=1
        <if test="query.userId != null">
            and user_id = #{query.userId}
        </if>
        and status = 1
        group by application_id
        order by create_time desc
    </select>
</mapper>