diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetAppCpMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetAppCpMapper.java index 48bba95..d705ba5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetAppCpMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetAppCpMapper.java @@ -53,7 +53,7 @@ public interface AssetAppCpMapper extends BaseMapper { * @param taskId 任务id * @param btgyy 不通过原因 */ - @Update("update asset_mini_programs_cp set btgyy=#{btgyy} where asset_id=#{assetId} and task_id =#{taskId} ") + @Update("update asset_app_cp set btgyy=#{btgyy} where asset_id=#{assetId} and task_id =#{taskId} ") void updateByAssetId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId, @Param("btgyy")String btgyy); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailCpMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailCpMapper.java index a3218e3..08a1f6d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailCpMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetEmailCpMapper.java @@ -45,7 +45,7 @@ public interface AssetEmailCpMapper extends BaseMapper { * @param taskId 任务id * @param btgyy 不通过原因 */ - @Update("update asset_mini_programs_cp set btgyy=#{btgyy} where asset_id=#{assetId} and task_id =#{taskId} ") + @Update("update asset_email_cp set btgyy=#{btgyy} where asset_id=#{assetId} and task_id =#{taskId} ") void updateByAssetId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId, @Param("btgyy")String btgyy); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetOfficialAccountCpMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetOfficialAccountCpMapper.java index a9e4b26..2c67231 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetOfficialAccountCpMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/mapper/AssetOfficialAccountCpMapper.java @@ -46,7 +46,7 @@ public interface AssetOfficialAccountCpMapper extends BaseMapper 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(); @@ -554,7 +558,7 @@ public class AssetTaskServiceImpl extends ServiceImpl emailNewList = appList.stream() + List emailNewList = emailCpPoListList.stream() .map(cpPo -> { AssetEmail current = new AssetEmail(); BeanUtils.copyProperties(cpPo, current); // 复制属性 @@ -572,7 +576,7 @@ public class AssetTaskServiceImpl extends ServiceImpl miniNewList = appList.stream() + List miniNewList = miniProgramsCpPoListList.stream() .map(cpPo -> { AssetMiniPrograms current = new AssetMiniPrograms(); BeanUtils.copyProperties(cpPo, current); // 复制属性 @@ -591,7 +595,7 @@ public class AssetTaskServiceImpl extends ServiceImpl officialNewList = appList.stream() + List officialNewList = officialAccountCpPoListList.stream() .map(cpPo -> { AssetOfficialAccount current = new AssetOfficialAccount(); BeanUtils.copyProperties(cpPo, current); // 复制属性 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 @@