Bläddra i källkod

优化查询速度

yumeng 2 år sedan
förälder
incheckning
089a341a92
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

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

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