fix:管理后台-订单记录,按订单查询报错

This commit is contained in:
yys 2026-04-14 11:49:33 +08:00
parent f31e4c38c6
commit 1bedde7fa7
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectAiOrderList" parameterType="AiOrder" resultMap="AiOrderResult"> <select id="selectAiOrderList" parameterType="AiOrder" resultMap="AiOrderResult">
<include refid="selectAiOrderVo"/> <include refid="selectAiOrderVo"/>
<where> <where>
<if test="orderNum != null and orderNum != ''"> and ao.orderNum like concat('%', #{orderNum}, '%')</if> <if test="orderNum != null and orderNum != ''"> and ao.order_num like concat('%', #{orderNum}, '%')</if>
<if test="text != null and text != ''"> and ao.text like concat('%', #{text}, '%')</if> <if test="text != null and text != ''"> and ao.text like concat('%', #{text}, '%')</if>
<if test="userId != null "> and ao.user_id = #{userId}</if> <if test="userId != null "> and ao.user_id = #{userId}</if>
<if test="uuid != null "> and au.user_id = #{uuid}</if> <if test="uuid != null "> and au.user_id = #{uuid}</if>