chendayu 2 gadi atpakaļ
vecāks
revīzija
bb6c452d9c
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      PAS/src/main/resources/mapper/ProductMapper.xml

+ 4 - 1
PAS/src/main/resources/mapper/ProductMapper.xml

@@ -369,7 +369,7 @@
         product_name,
         market_time,
         company_name,
-        tenant_id,
+        p.tenant_id,
         product_explain,
         product_category_id,
         p.license_rate,
@@ -399,6 +399,9 @@
             <if test="true">
                 and company_name = #{cn}
             </if>
+        <if test="true">
+            and p.tenant_id = #{tenantId}
+        </if>
         </where>
         order by
         <choose>