Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
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
曲欣亮
shop
Commits
772a8443
Commit
772a8443
authored
Oct 07, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
cf3ce8df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
ActivityServiceImpl.java
...java/com/egolm/shop/service/impl/ActivityServiceImpl.java
+11
-11
No files found.
src/main/java/com/egolm/shop/service/impl/ActivityServiceImpl.java
View file @
772a8443
...
@@ -35,17 +35,17 @@ public class ActivityServiceImpl implements ActivityService {
...
@@ -35,17 +35,17 @@ public class ActivityServiceImpl implements ActivityService {
String
sql
=
projectSql
(
orgNo
,
""
);
String
sql
=
projectSql
(
orgNo
,
""
);
List
<
Map
<
String
,
Object
>>
list
=
jdbcTemplate
.
limit
(
sql
,
page
);
List
<
Map
<
String
,
Object
>>
list
=
jdbcTemplate
.
limit
(
sql
,
page
);
if
(
list
!=
null
&&
list
.
size
()>
0
)
{
//
if(list != null && list.size()>0) {
for
(
Map
<
String
,
Object
>
map:
list
)
{
//
for(Map<String,Object> map:list) {
String
projectId
=
map
.
get
(
"ProjectID"
)+
""
;
//
String projectId = map.get("ProjectID")+"";
String
orderSql
=
orderSql
(
projectId
);
//
String orderSql = orderSql(projectId);
Map
<
String
,
Object
>
orderMap
=
jdbcTemplate
.
queryForMap
(
orderSql
);
//
Map<String,Object> orderMap = jdbcTemplate.queryForMap(orderSql);
System
.
out
.
println
(
orderMap
);
//
System.out.println(orderMap);
if
(
orderMap
!=
null
)
{
//
if(orderMap != null) {
map
.
putAll
(
orderMap
);
//
map.putAll(orderMap);
}
//
}
}
//
}
}
//
}
return
list
;
return
list
;
}
}
...
...
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