diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetTaskController.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetTaskController.java index e87fd78..127aae4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetTaskController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetTaskController.java @@ -513,6 +513,7 @@ public class AssetTaskController extends BaseController { //已报废 assetMiniProgramsCpPo.setStatus(5); ac.setIsbf(2); + ac.setState("7"); ac.setId(assetMiniProgramsCpPo.getAssetId()); assetMiniProgramsService.updateById(ac); //已关停 @@ -547,6 +548,7 @@ public class AssetTaskController extends BaseController { //已报废 assetOfficialAccountCpPo.setStatus(5); ac.setIsbf(2); + ac.setGzhzt("7"); ac.setId(assetOfficialAccountCpPo.getAssetId()); assetOfficialAccountService.updateById(ac); //已关停 @@ -582,6 +584,7 @@ public class AssetTaskController extends BaseController { //已报废 assetAppCpPo.setStatus(5); ac.setIsbf(2); + ac.setAppState("7"); ac.setId(assetAppCpPo.getAssetId()); assetAppService.updateById(ac); //已关停 @@ -617,6 +620,7 @@ public class AssetTaskController extends BaseController { //已报废 assetEmailCpPo.setStatus(5); ac.setIsbf(2); + ac.setYjxtzc("2"); ac.setId(assetEmailCpPo.getAssetId()); assetEmailService.updateById(ac); //已关停 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/AssetApp.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/AssetApp.java index 6339693..3e4eaf9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/AssetApp.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/AssetApp.java @@ -142,4 +142,12 @@ public class AssetApp extends BaseClass implements Serializable { @ApiModelProperty("组织机构名称(部门名称)") @TableField(exist = false) private String deptName; + + + /** + * 状态 + */ + @ApiModelProperty("状态") + @Excel(name = "状态", dictType = "gzh_state",comboReadDict = true) + private String appState; } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppCpPo.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppCpPo.java index 8089e40..253dcd6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppCpPo.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppCpPo.java @@ -153,4 +153,7 @@ public class AssetAppCpPo extends BaseClass implements Serializable { @ApiModelProperty("不通过次数") private Integer count; + + @ApiModelProperty("app状态") + private Integer appState; } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppJyPo.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppJyPo.java index 7564427..6378e49 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppJyPo.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/po/AssetAppJyPo.java @@ -157,4 +157,6 @@ public class AssetAppJyPo extends BaseClass implements Serializable { private Integer count; + @ApiModelProperty("app状态") + private String appState; } 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 ac885d6..e8534ba 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 @@ -249,7 +249,6 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); - queryWrapper.eq("isbf", 0); 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() @@ -271,7 +270,6 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); - queryWrapper.eq("isbf", 0); 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() @@ -293,7 +291,6 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); - queryWrapper.eq("isbf", 0); queryWrapper.eq("del_flag", 0); List list = assetEmailService.lambdaQuery().eq(AssetEmail::getSsdw, part).eq(AssetEmail::getIsbf, 0).eq(AssetEmail::getDelFlag, 0).list(); ; @@ -316,7 +313,6 @@ public class AssetTaskServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); queryWrapper.eq("ssdw", part); - queryWrapper.eq("isbf", 0); 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() diff --git a/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml b/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml index 926338d..434ac29 100644 --- a/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml +++ b/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml @@ -200,7 +200,7 @@