uat清单-49-认证进度的统计应默认为待开始状态
This commit is contained in:
@@ -201,3 +201,12 @@ ADD COLUMN `msg_content_info_cn` text NULL COMMENT '消息内容(中文)' AF
|
|||||||
|
|
||||||
-- 上报库-参数项查看页表头 责任领域更新为展示列表sql 2023-02-17 未同步生产环境
|
-- 上报库-参数项查看页表头 责任领域更新为展示列表sql 2023-02-17 未同步生产环境
|
||||||
UPDATE `laws_weilai`.`onl_cgform_field` SET `is_show_list` = 1 WHERE `id` = 'c31d68e204960c073b1fb8126a443492';
|
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
|
||||||
|
);
|
||||||
|
|||||||
+5
@@ -348,6 +348,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(lawsInventory.getId());
|
projectTaskInventoryEO.setProjectLawsInventoryId(lawsInventory.getId());
|
||||||
projectTaskInventoryEO.setStandId(lawsInventory.getStandId());
|
projectTaskInventoryEO.setStandId(lawsInventory.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -420,6 +421,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
||||||
projectTaskInventoryEO.setStandId(standId);
|
projectTaskInventoryEO.setStandId(standId);
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
|
|
||||||
//添加权限
|
//添加权限
|
||||||
@@ -3450,6 +3452,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryId);
|
||||||
projectTaskInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
projectTaskInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
}
|
}
|
||||||
this.saveBatch(projectLawsInventoryEOList);
|
this.saveBatch(projectLawsInventoryEOList);
|
||||||
@@ -5743,6 +5746,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventory.getId());
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventory.getId());
|
||||||
projectTaskInventoryEO.setStandId(projectLawsInventory.getStandId());
|
projectTaskInventoryEO.setStandId(projectLawsInventory.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
});
|
});
|
||||||
/*idList.forEach(id -> {
|
/*idList.forEach(id -> {
|
||||||
@@ -5837,6 +5841,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
projectTaskInventoryEO.setId(projectTaskInventoryId);
|
||||||
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
projectTaskInventoryEO.setProjectLawsInventoryId(projectLawsInventoryEO.getId());
|
||||||
projectLawsInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
projectLawsInventoryEO.setStandId(projectLawsInventoryEO.getStandId());
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
projectTaskInventoryEOList.add(projectTaskInventoryEO);
|
||||||
//设置权限
|
//设置权限
|
||||||
if (ObjectUtils.isNotEmpty(projectLawsInventoryEO.getRegulationOwnerId())) {
|
if (ObjectUtils.isNotEmpty(projectLawsInventoryEO.getRegulationOwnerId())) {
|
||||||
|
|||||||
+1
@@ -1807,6 +1807,7 @@ public class ProjectTaskInventoryEOServiceImpl extends ServiceImpl<ProjectTaskIn
|
|||||||
projectTaskInventoryEO.setStandId(lawsInventoryEO.getStandId());
|
projectTaskInventoryEO.setStandId(lawsInventoryEO.getStandId());
|
||||||
projectTaskInventoryEO.setCreateBy("admin");
|
projectTaskInventoryEO.setCreateBy("admin");
|
||||||
projectTaskInventoryEO.setSysOrgCode("A01");
|
projectTaskInventoryEO.setSysOrgCode("A01");
|
||||||
|
projectTaskInventoryEO.setCertificationProgress(CertificationProgressEnum.NOT_START.getValue());
|
||||||
|
|
||||||
if(CollectionUtils.isNotEmpty(projectTaskInventoryDetailEOS)){
|
if(CollectionUtils.isNotEmpty(projectTaskInventoryDetailEOS)){
|
||||||
//获取当前法规清单数据 启动的符合性流程数据
|
//获取当前法规清单数据 启动的符合性流程数据
|
||||||
|
|||||||
Reference in New Issue
Block a user