Commit cf742396 authored by hongguangwu's avatar hongguangwu

MVP1.7.7-暂时提交

parent 2004a412
......@@ -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 对象
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment