Просмотр исходного кода

更新文件 WechatScanLoginMapper.xml

陈士柏 2 лет назад
Родитель
Сommit
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>
 
     <!--用户总数-->