From 291a72bf35e2d39b816abc0ebf085cfa9da3ee06 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 23 九月 2025 14:11:40 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationsMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationsMapper.xml index 48c25e7..768b50d 100644 --- a/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationsMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/OaApprovalApplicationsMapper.xml @@ -27,5 +27,12 @@ <sql id="Base_Column_List"> id, application_code, approval_id, applicant_user_id, applicant_name, dept_id, dept_name, application_date, application_reason, approval_status, attachment_url, current_flow_node_id, create_time, create_by, update_time, update_by, disabled </sql> + <select id="pageListAudit" resultType="com.ruoyi.system.model.OaApprovalApplications"> + select * from oa_approval_applications + where 1=1 + <if test="query.userId != null "> + and applicant_user_id like concat('%',#{query.userId},'%') + </if> + </select> </mapper> -- Gitblit v1.7.1