Parcourir la source

更新文件 WechatScanLoginMapper.xml

陈士柏 il y a 2 ans
Parent
commit
6884113571
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>
 
     <!--用户总数-->