소스 검색

优化查询速度

yumeng 3 년 전
부모
커밋
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>