xin
2025-07-10 fc1a066edd335345167df7573f9119ef8dd1689a
oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
@@ -22,8 +22,8 @@
        <include refid="Base_Column_List"/>
        from sh_order_operation_log
        <where>
            <if test="criteria.userId != null">
                and user_id = #{criteria.userId}
            <if test="criteria.username != null">
                and username like concat('%',#{criteria.username},'%')
            </if>
            <if test="criteria.userType != null">
                and user_type = #{criteria.userType}
@@ -37,4 +37,10 @@
        </where>
        order by log_id desc
    </select>
    <select id="getByOrderNum" resultMap="BaseResultMap">
        select
        <include refid="Base_Column_List"/>
        from sh_order_operation_log
        where order_num = #{orderNum} order by log_id desc
    </select>
</mapper>