Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhny
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
王夏晖
zhny
Commits
6109c59e
Commit
6109c59e
authored
May 23, 2018
by
王夏晖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
晚上项目信息列表
parent
2b2e87a1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ProjectRepository.java
...va/org/rcisoft/business/manage/dao/ProjectRepository.java
+5
-1
BusProjectServiceImpl.java
...t/business/manage/service/impl/BusProjectServiceImpl.java
+1
-1
No files found.
src/main/java/org/rcisoft/business/manage/dao/ProjectRepository.java
View file @
6109c59e
...
...
@@ -39,16 +39,20 @@ public interface ProjectRepository extends BaseMapper<BusProject> {
* @return
*/
@Select
(
"<script>SELECT\n"
+
"\ta.*,e.SYS_NM,b.BLD_TP_NM,c.OWN_NM,d1.TEAM_NM TEAM_NM_ON,d2.TEAM_NM TEAM_NM_OFF\n"
+
"\ta.*,e.SYS_NM,b.BLD_TP_NM,c.OWN_NM,d1.TEAM_NM TEAM_NM_ON,d2.TEAM_NM TEAM_NM_OFF,"
+
"s1.EXAMINER SAVEING_COST_NM,s2.EXAMINER SAVEING_ENERGY_NM\n"
+
"FROM bus_project a \n"
+
"LEFT JOIN bus_build_tp b ON a.BLD_TP_ID = b.BLD_TP_ID\n"
+
"LEFT JOIN sys_owner c ON a.OWN_ID = c.OWN_ID\n"
+
"LEFT JOIN bus_team d1 on a.TEAM_ID_ON = d1.TEAM_ID\n"
+
"LEFT JOIN bus_team d2 on a.TEAM_ID_OFF = d2.TEAM_ID\n"
+
"LEFT JOIN bus_system e on a.PRO_ID = e.PRO_ID\n"
+
"LEFT JOIN bus_saving s1 on a.SAVEING_COST = s1.ID\n"
+
"LEFT JOIN bus_saving s2 on a.SAVEING_ENERGY = s2.ID\n"
+
"where 1=1 "
+
"<if test =' proId != null '> and a.pro_id = #{proId}</if>"
+
"<if test =' jwnum != null '> and a.jwnum = #{jwnum}</if>"
+
"<if test =' saveFlag != null '> and a.SAVE_FLAG = #{saveFlag}</if>"
+
"</script>"
)
List
<
Map
<
String
,
Object
>>
queryBusProjects
(
BusProject
busProject
);
}
...
...
src/main/java/org/rcisoft/business/manage/service/impl/BusProjectServiceImpl.java
View file @
6109c59e
...
...
@@ -194,7 +194,7 @@ public class BusProjectServiceImpl implements BusProjectService {
*/
public
List
<
Map
<
String
,
Object
>>
findAllByPagination
(
PageUtil
<
BusProject
>
paginationUtility
,
BusProject
busProject
){
return
projectRepository
.
queryBusProjects
(
null
);
return
projectRepository
.
queryBusProjects
(
busProject
);
}
@Override
...
...
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