xin
2025-07-10 09ac251a089f5bb79d59a12bf2f932dda12c4ca2
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>