diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetTaskServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetTaskServiceImpl.java index 8bb1663..0a5a785 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetTaskServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/impl/AssetTaskServiceImpl.java @@ -250,7 +250,8 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); queryWrapper.eq("isbf", 0); - List list = assetMiniProgramsService.list(queryWrapper); + queryWrapper.eq("del_flag", 0); + List list = assetMiniProgramsService.lambdaQuery().eq(AssetMiniPrograms::getSsdw, part).eq(AssetMiniPrograms::getIsbf,0).eq(AssetMiniPrograms::getDelFlag,0).list(); List miniProgramsNewList = list.stream() .map(cpPo -> { AssetMiniProgramsCpPo assetMiniProgramsCpPo = new AssetMiniProgramsCpPo(); @@ -271,7 +272,8 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); queryWrapper.eq("isbf", 0); - List list = assetOfficialAccountService.list(queryWrapper); + queryWrapper.eq("del_flag", 0); + List list = assetOfficialAccountService.lambdaQuery().eq(AssetOfficialAccount::getSsdw, part).eq(AssetOfficialAccount::getIsbf,0).eq(AssetOfficialAccount::getDelFlag,0).list(); List officialAccountProgramsNewList = list.stream() .map(cpPo -> { AssetOfficialAccountCpPo assetOfficialAccountCpPo = new AssetOfficialAccountCpPo(); @@ -292,7 +294,8 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); queryWrapper.eq("isbf", 0); - List list = assetEmailService.list(queryWrapper); + queryWrapper.eq("del_flag", 0); + List list = assetEmailService.lambdaQuery().eq(AssetEmail::getSsdw, part).eq(AssetEmail::getIsbf,0).eq(AssetEmail::getDelFlag,0).list();; List emailCpNewList = list.stream() .map(cpPo -> { AssetEmailCpPo emailCpPo = new AssetEmailCpPo(); @@ -313,7 +316,8 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); queryWrapper.eq("isbf", 0); - List list = assetAppService.list(queryWrapper); + queryWrapper.eq("del_flag", 0); + List list = assetAppService.lambdaQuery().eq(AssetApp::getSsdw, part).eq(AssetApp::getIsbf,0).eq(AssetApp::getDelFlag,0).list(); List appCpNewList = list.stream() .map(cpPo -> { AssetAppCpPo appCpPo = new AssetAppCpPo(); diff --git a/ruoyi-admin/src/main/resources/mapper/AssetAppMapper.xml b/ruoyi-admin/src/main/resources/mapper/AssetAppMapper.xml index 1e847a5..c693384 100644 --- a/ruoyi-admin/src/main/resources/mapper/AssetAppMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/AssetAppMapper.xml @@ -36,7 +36,7 @@ diff --git a/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml b/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml index d1d6cc7..072a510 100644 --- a/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/AssetCurrentMapper.xml @@ -462,6 +462,6 @@ select count(*) from asset_current - where dwmc = #{part} and isbf=0 + where dwmc = #{part} and isbf=0 and del_flag=0 \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/AssetEmailMapper.xml b/ruoyi-admin/src/main/resources/mapper/AssetEmailMapper.xml index d7c82c5..cbfd6fb 100644 --- a/ruoyi-admin/src/main/resources/mapper/AssetEmailMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/AssetEmailMapper.xml @@ -36,7 +36,7 @@ diff --git a/ruoyi-admin/src/main/resources/mapper/AssetMiniProgramsMapper.xml b/ruoyi-admin/src/main/resources/mapper/AssetMiniProgramsMapper.xml index adf6d1b..80a65e2 100644 --- a/ruoyi-admin/src/main/resources/mapper/AssetMiniProgramsMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/AssetMiniProgramsMapper.xml @@ -37,7 +37,7 @@ diff --git a/ruoyi-admin/src/main/resources/mapper/AssetOfficialAccountMapper.xml b/ruoyi-admin/src/main/resources/mapper/AssetOfficialAccountMapper.xml index 8b56f72..7d70ba3 100644 --- a/ruoyi-admin/src/main/resources/mapper/AssetOfficialAccountMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/AssetOfficialAccountMapper.xml @@ -16,7 +16,7 @@