|
@@ -123,6 +123,9 @@
|
|
and product_category_id in (select id from product_category where product_category_name like
|
|
and product_category_id in (select id from product_category where product_category_name like
|
|
'%${productCategoryName}%')
|
|
'%${productCategoryName}%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="true">
|
|
|
|
+ and p.tenant_id = #{tenantId}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
order by
|
|
order by
|
|
<choose>
|
|
<choose>
|
|
@@ -301,6 +304,9 @@
|
|
<if test="true">
|
|
<if test="true">
|
|
and product_category_id = #{pci}
|
|
and product_category_id = #{pci}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="true">
|
|
|
|
+ and p.tenant_id = #{tenantId}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
order by
|
|
order by
|
|
<choose>
|
|
<choose>
|
|
@@ -399,9 +405,9 @@
|
|
<if test="true">
|
|
<if test="true">
|
|
and company_name = #{cn}
|
|
and company_name = #{cn}
|
|
</if>
|
|
</if>
|
|
- <if test="true">
|
|
|
|
- and p.tenant_id = #{tenantId}
|
|
|
|
- </if>
|
|
|
|
|
|
+ <if test="true">
|
|
|
|
+ and p.tenant_id = #{tenantId}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
order by
|
|
order by
|
|
<choose>
|
|
<choose>
|