浏览代码

更新文件 WechatScanLoginMapper.xml

陈士柏 2 年之前
父节点
当前提交
6884113571
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/template/WechatScanLoginMapper.xml

+ 1 - 1
src/main/resources/mapper/template/WechatScanLoginMapper.xml

@@ -50,7 +50,7 @@
         left join (
             select identity_id,COUNT(*) as num from `smart_user`
             where is_cancel=0 and deleted=0 group by identity_id ) b
-        on a.id=b.identity_id
+        on a.id=b.identity_id where a.`deleted`=0
     </select>
 
     <!--用户总数-->