Browse Source

过滤订单

Bob 1 year ago
parent
commit
171014e501

+ 1 - 1
pdf-tech-core/src/main/resources/sqlmap/ext/ExtSubscriptionMapper.xml

@@ -15,7 +15,7 @@
     select vod.id,p.code,p.name,vod.price,vod.created_at,vod.max_device_amount quantity,vod.end_date expiration_at from
     subscriptions vod
     left join products p on p.id = vod.product_id
-    where vod.company_id = #{companyId}
+    where vod.company_id = #{companyId} and p.code != 'com.brother.pdfreaderpro.combination.product'
     <if test="code != null and code != ''">
       and p.code = #{code}
     </if>