瀏覽代碼

优化查询速度

yumeng 2 年之前
父節點
當前提交
089a341a92
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>