Commit 5ff380ec authored by cq990612's avatar cq990612

优化代码结构

parent 6e0041ef
......@@ -317,7 +317,7 @@ public class WorkProjectServiceImpl implements WorkProjectService {
throw new BaseCustomException(BASE_RESP_CODE_ENUM.WORK_PROJECT_IS_NULL);
}
for (WorkProject workProject1 : workProjects) {
if (workProject1.getId().equals(workProject.getId())) {
if (workProject1.getId().equals(modifyProjectVo.getProjectId())) {
continue;
}
if (modifyProjectVo.getOaProjectId().equals(workProject.getOaProjectId())) {
......
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