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>