uat清单-49-认证进度的统计应默认为待开始状态

This commit is contained in:
wangzhijiang
2023-02-20 13:46:57 +08:00
parent 0d14076a58
commit 12adb40a61
3 changed files with 15 additions and 0 deletions
@@ -201,3 +201,12 @@ ADD COLUMN `msg_content_info_cn` text NULL COMMENT '消息内容(中文)' AF
-- 上报库-参数项查看页表头 责任领域更新为展示列表sql 2023-02-17 未同步生产环境
UPDATE `laws_weilai`.`onl_cgform_field` SET `is_show_list` = 1 WHERE `id` = 'c31d68e204960c073b1fb8126a443492';
-- 任务清单-初始化 认证进度状态sql 2023-02-20 未同步生产环境
UPDATE `laws_weilai`.`project_task_inventory`
SET `certification_progress` = 'Not start'
WHERE
`id` IN ( select temp.temp_id from (
SELECT id as temp_id FROM `laws_weilai`.`project_task_inventory` WHERE certification_progress IS NULL
) temp
);
@@ -348,6 +348,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
projectTaskInventoryEO.setId(projectTaskInventoryId);
projectTaskInventoryEO.setProjectLawsInventoryId(lawsInventory.getId());
projectTaskInventoryEO.setStandId(lawsInventory.getStandId());
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
projectTaskInventoryEOList.add(projectTaskInventoryEO);
});
@@ -420,6 +421,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
projectTaskInventoryEO.setId(projectTaskInventoryId);
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
projectTaskInventoryEO.setStandId(standId);
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
projectTaskInventoryEOList.add(projectTaskInventoryEO);
//添加权限
@@ -3450,6 +3452,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
projectTaskInventoryEO.setId(projectTaskInventoryId);
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
projectTaskInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
projectTaskInventoryEOList.add(projectTaskInventoryEO);
}
this.saveBatch(projectLawsInventoryEOList);
@@ -5743,6 +5746,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
projectTaskInventoryEO.setId(projectTaskInventoryId);
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventory.getId());
projectTaskInventoryEO.setStandId(projectLawsInventory.getStandId());
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
projectTaskInventoryEOList.add(projectTaskInventoryEO);
});
/*idList.forEach(id -> {
@@ -5837,6 +5841,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
projectTaskInventoryEO.setId(projectTaskInventoryId);
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
projectLawsInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
projectTaskInventoryEOList.add(projectTaskInventoryEO);
//设置权限
if (ObjectUtils.isNotEmpty(projectLawsInventoryEO.getRegulationOwnerId())) {
@@ -1807,6 +1807,7 @@ public class ProjectTaskInventoryEOServiceImpl extends ServiceImpl<ProjectTaskIn
projectTaskInventoryEO.setStandId(lawsInventoryEO.getStandId());
projectTaskInventoryEO.setCreateBy("admin");
projectTaskInventoryEO.setSysOrgCode("A01");
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
if(CollectionUtils.isNotEmpty(projectTaskInventoryDetailEOS)){
//获取当前法规清单数据 启动的符合性流程数据