Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
operation-control-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王锦盛
operation-control-platform
Commits
7fe5642e
Commit
7fe5642e
authored
Apr 13, 2022
by
王锦盛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求修改test5
parent
88f49968
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
65 deletions
+1
-65
src/main/java/com/pms/ocp/common/DataProcessUtil.java
src/main/java/com/pms/ocp/common/DataProcessUtil.java
+0
-65
src/main/java/com/pms/ocp/model/entity/ModelRequirementApproval.java
...va/com/pms/ocp/model/entity/ModelRequirementApproval.java
+1
-0
No files found.
src/main/java/com/pms/ocp/common/DataProcessUtil.java
deleted
100644 → 0
View file @
88f49968
//package com.pms.ocp.common;
//
//import com.pms.ocp.mapper.ModelRelationMapper;
//import com.pms.ocp.model.entity.ModelRelation;
//import com.pms.ocp.model.vo.ModelRelationInputMultiVO;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.stereotype.Component;
//
//import java.util.List;
//
///**
// * @Auther: wangjian
// * @Date: 2022/4/12 14:28
// * @Description:
// */
//
//@Component
//public class DataProcessUtil {
//
// private static final Logger logger = LoggerFactory.getLogger(DataProcessUtil.class);
//
// /**
// * 生成单根树结构
// *
// * @param modelRelationMapper 数据查询Mapper
// * @param modelCode 区域id
// * @return 单根树
// */
// public ModelRelation recursiveTree(ModelRelationMapper modelRelationMapper, String modelCode) {
// /**
// * 查询:父节点
// */
// ModelRelation fatherNode = modelRelationMapper.queryRegionById(modelCode);
//
// /**
// * 查询:子节点
// */
// List<ModelRelation> childNodeList = modelRelationMapper.queryRegionByParentId(modelCode);
//
// for (ModelRelation child : childNodeList) {
// ModelRelation childNode = recursiveTree(modelRelationMapper, child.getModelCode());
//// fatherNode.getModelRelationList().add(childNode);
// }
// logger.info("区域树:{}", fatherNode);
// return fatherNode;
// }
//
// /**
// * 生成多根树结构
// *
// * @param modelRelationMapper
// * @param regionInputMultiVO
// * @return 多根数
// */
// public List<ModelRelation> recursiveTreeList(ModelRelationMapper modelRelationMapper, ModelRelationInputMultiVO regionInputMultiVO) {
// List<ModelRelation> regionTreeOutputVOS = modelRelationMapper.queryRegionByRegionIdList(regionInputMultiVO);
// for (ModelRelation modelRelation : regionTreeOutputVOS) {
// ModelRelation child = recursiveTree(modelRelationMapper, modelRelation.getModelCode());
// modelRelation.getModelRelationList().add(child);
// }
// return regionTreeOutputVOS;
// }
//
//}
src/main/java/com/pms/ocp/model/entity/ModelRequirementApproval.java
View file @
7fe5642e
...
...
@@ -81,6 +81,7 @@ public class ModelRequirementApproval {
*/
private
String
approvalComment
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment