Explorar o código

优化查询速度

yumeng %!s(int64=2) %!d(string=hai) anos
pai
achega
089a341a92

+ 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>