chendayu 2 年之前
父节点
当前提交
bb6c452d9c
共有 1 个文件被更改,包括 4 次插入1 次删除
  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>