caiaa 1 년 전
부모
커밋
1235cb43ce

+ 2 - 0
src/main/java/com/dragon/tj/portal/service/impl/AppServiceImpl.java

@@ -150,6 +150,8 @@ public class AppServiceImpl implements AppService {
 
         //是否已安装
         QueryWrapper<InstallInfo> wrapper = new QueryWrapper<>();
+        wrapper.eq("del_flag", 0);
+        wrapper.eq("business_id", 0);
         wrapper.eq("app_id", appId);
         wrapper.eq("user_idcard", userIdcard);
         InstallInfo installed = installInfoMapper.selectOne(wrapper);

+ 1 - 0
src/main/java/com/dragon/tj/portal/service/impl/BusinessServiceImpl.java

@@ -157,6 +157,7 @@ public class BusinessServiceImpl implements BusinessService {
 
         //是否已安装
         QueryWrapper<InstallInfo> wrapper2 = new QueryWrapper<>();
+        wrapper2.eq("del_flag", 0);
         wrapper2.eq("app_id", appId);
         wrapper2.eq("business_id", businessId);
         wrapper2.eq("user_idcard", userIdcard);