‘linchangsheng’ il y a 7 mois
Parent
commit
fe057990a4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main/resources/mapper/StockMapper.xml

+ 1 - 1
src/main/resources/mapper/StockMapper.xml

@@ -693,7 +693,7 @@
         JOIN stock_correspond sc on s.stock_id = sc.id
         left join admin_user_stock aus on sc.id = aus.correspond_id
         ${ex.query}
-        and scp.stock_id = s.stock_id
+        and sc.id = s.stock_id
         <if test="adminUserId != null and adminUserId!=''">
             and aus.admin_user_id = #{adminUserId}
         </if>