无关风月
2 天以前 f431d9abcac90ea7ec3c351e311a85116d98e72b
ruoyi-system/src/main/resources/mapper/system/OaApprovalMapper.xml
@@ -20,5 +20,15 @@
    <sql id="Base_Column_List">
        id, approval_name, approval_category, status, dept_ids, create_time, create_by, update_time, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.vo.system.ApprovalVO">
select * from oa_approval
where 1=1
<if test="query.approvalName != null and query.approvalName != ''">
and approval_name like concat('%',#{query.approvalName},'%')
</if>
        AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        ORDER BY update_time DESC
    </select>
</mapper>