Selaa lähdekoodia

优化查询速度

yumeng 2 vuotta sitten
vanhempi
commit
089a341a92

+ 1 - 1
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -643,7 +643,7 @@
         group by t1.user_id) t
         group by t1.user_id) t
         where 1 =1
         where 1 =1
         <if test="userId != null and userId != ''">
         <if test="userId != null and userId != ''">
-            and t.user_id = #{userId}
+            and t.userId = #{userId}
         </if>
         </if>
         order by t.orderNum desc
         order by t.orderNum desc
     </select>
     </select>