瀏覽代碼

修改sql

hgw 3 年之前
父節點
當前提交
badde4e29e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mec-biz/src/main/resources/config/mybatis/PlatformProductMapper.xml

+ 1 - 0
mec-biz/src/main/resources/config/mybatis/PlatformProductMapper.xml

@@ -178,6 +178,7 @@
              GROUP BY a.`id_`) AS c
             ON b.`serve_id_` = c.serveId
         WHERE a.`pay_state_` = 1
+            and a.user_id_ is not null
         <if test="tenantId != null">
             and a.id_ = #{tenantId}
         </if>