小么熊🐻 2 лет назад
Родитель
Сommit
b6a2f684a5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      nbjk-service/src/main/resources/mapper/order/OrderInfoMapper.xml

+ 1 - 1
nbjk-service/src/main/resources/mapper/order/OrderInfoMapper.xml

@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="total != null "> and total = #{total}</if>
             <if test="tradeType != null and tradeType != ''  "> and trade_type = #{tradeType}</if>
             <if test="unionId != null and unionId != ''  "> and union_id = #{unionId}</if>
-            <if test="goodsId != null "> and goods_id = #{goodsId}</if>
+            <if test="userId != null "> and user_id = #{userId}</if>
 
 
             <if test="startTime != null and startTime != '' ">