Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
isoft_psa
Project
Project
Details
Activity
Releases
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
王飞
isoft_psa
Commits
e5bf24dd
Commit
e5bf24dd
authored
Mar 26, 2025
by
wangjiancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:项目管理修改
parent
9f37a550
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
ProjectManageController.java
.../ruoyi/web/controller/system/ProjectManageController.java
+11
-0
ProjectManageMapper.xml
...src/main/resources/mapper/project/ProjectManageMapper.xml
+5
-2
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/ProjectManageController.java
View file @
e5bf24dd
...
...
@@ -198,4 +198,15 @@ public class ProjectManageController extends BaseController
List
<
ProjectManage
>
projectManageList
=
projectManageService
.
selectProjectManageList
(
new
ProjectManage
());
return
AjaxResult
.
success
(
projectManageList
);
}
/*
* 获取草稿箱项目列表
* 下拉框
* */
@GetMapping
(
"/getDraftProjectList"
)
public
AjaxResult
getDraftProjectList
()
{
List
<
ProjectManage
>
projectManageList
=
projectManageService
.
selectProjectManageListDraft
(
new
ProjectManage
());
return
AjaxResult
.
success
(
projectManageList
);
}
}
ruoyi-system/src/main/resources/mapper/project/ProjectManageMapper.xml
View file @
e5bf24dd
...
...
@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"projectType != null and projectType != ''"
>
and project_type = #{projectType}
</if>
<if
test=
"departmentLeaderId!= null "
>
and pm.department_leader_id = #{departmentL}
</if>
and pm.department_leader_id = #{departmentL
eaderId
}
</if>
<if
test=
"projectManagerId!= null "
>
and pm.project_manager_id = #{projectManagerId}
</if>
<if
test=
"projectStatus != null and projectStatus != ''"
>
...
...
@@ -82,6 +82,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join project_member pmem on pmem.project_id = pm.id
left join sys_user su on su.user_id = pmem.user_id
where pm.del_flag = '0' and pm.draft = '0'
<if
test=
"id != null and id != ''"
>
and pm.id = #{id}
</if>
<if
test=
"projectNumber != null and projectNumber != ''"
>
and pm.project_number = #{projectNumber}
</if>
<if
test=
"projectName != null and projectName != ''"
>
...
...
@@ -89,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"projectType != null and projectType != ''"
>
and project_type = #{projectType}
</if>
<if
test=
"departmentLeaderId!= null "
>
and pm.department_leader_id = #{departmentL}
</if>
and pm.department_leader_id = #{departmentL
eaderId
}
</if>
<if
test=
"projectManagerId!= null "
>
and pm.project_manager_id = #{projectManagerId}
</if>
<if
test=
"projectStatus != null and projectStatus != ''"
>
...
...
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