Преглед изворни кода

更新文件 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>
 
     <!--用户总数-->