Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
cf742396
Commit
cf742396
authored
Feb 25, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.7-暂时提交
parent
2004a412
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
TCompleteMonitorServiceImpl.java
...fu/archives/service/impl/TCompleteMonitorServiceImpl.java
+41
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TCompleteMonitorServiceImpl.java
View file @
cf742396
...
...
@@ -237,6 +237,47 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
this
.
saveBatch
(
list
);
}
/**
* @param deptNo 项目编码
* @param projectIdList 完整的项目
* @param projectNotIdList 不完整的项目
* @Description:
* @Author: hgw
* @Date: 2025/2/25 15:30
* @return: void
**/
/*private void judgeProjectCompleteCore(String deptNo, List<String> projectIdList, List<String> projectNotIdList) {
// 1 查找所有不完整的项目,代理的直接完整,员工合同类型为空的,直接不完整,
List<TCompleteMonitorFlagVo> flagList = baseMapper.checkEmpProjectCompleteFlag(deptNo);
// 2 根据完整度配置,取对应类型的分别查询各个表,一旦有字段为空,则不完整
// 3 更新项目档案是否完整
List<TCompleteMonitorFlagVo> flagList = baseMapper.checkEmpProjectCompleteFlag(deptNo);
if (!flagList.isEmpty()) {
String projectId;
for(TCompleteMonitorFlagVo flagVo : flagList) {
boolean flag = checkObjFieldIsNull(flagVo);
projectId = flagVo.getEmpProjectId();
if(!flag){
projectIdList.add(projectId);
} else {
projectNotIdList.add(projectId);
}
}
//批量更新
if (!projectIdList.isEmpty()) {
projectMapper.batchUpdateEmpProjectCompleteStatus(projectIdList, CommonConstants.ZERO_STRING);
}
if (!projectNotIdList.isEmpty()) {
projectMapper.batchUpdateEmpProjectCompleteStatus(projectNotIdList, CommonConstants.ONE_STRING);
}
}
}*/
/**
*
* @param obj 对象
...
...
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