Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
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
徐少华
midjourney-proxy
Commits
b4fd0ed5
Commit
b4fd0ed5
authored
Feb 26, 2020
by
吴博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-1021161' into 'master'
fix order See merge request rays/pcloud-book!478
parents
a088d841
ff49d74c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
GroupSet.java
...ook/src/main/java/com/pcloud/book/group/set/GroupSet.java
+1
-1
TimeControlSelfPlanMapper.xml
...esources/mapper/timecontrol/TimeControlSelfPlanMapper.xml
+2
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/set/GroupSet.java
View file @
b4fd0ed5
...
...
@@ -832,7 +832,7 @@ public class GroupSet {
selfPlanUserDto
.
setWxUserId
(
wechatUserId
);
selfPlanUserDto
.
setNickName
(
userDTO
.
getNickName
());
selfPlanUserDto
.
setSex
(
userDTO
.
getSex
());
if
(
MapUtils
.
isEmpty
(
selfPlanUserDtoMap
)
&&
selfPlanUserDtoMap
.
containsKey
(
wechatUserId
)
&&
if
(
!
MapUtils
.
isEmpty
(
selfPlanUserDtoMap
)
&&
selfPlanUserDtoMap
.
containsKey
(
wechatUserId
)
&&
null
!=
selfPlanUserDtoMap
.
get
(
wechatUserId
)){
selfPlanUserDto
.
setSlefPlanCount
(
selfPlanUserDtoMap
.
get
(
wechatUserId
).
getSlefPlanCount
());
selfPlanUserDto
.
setOrderCount
(
selfPlanUserDtoMap
.
get
(
wechatUserId
).
getOrderCount
());
...
...
pcloud-service-book/src/main/resources/mapper/timecontrol/TimeControlSelfPlanMapper.xml
View file @
b4fd0ed5
...
...
@@ -120,7 +120,7 @@
where id = #{planId}
</update>
<select
id=
"getSelfPlanUserDtoMap"
parameterType=
"list"
resultType=
"
java.util.Map
"
>
<select
id=
"getSelfPlanUserDtoMap"
parameterType=
"list"
resultType=
"
com.pcloud.book.timecontrol.dto.SelfPlanUserDto
"
>
SELECT
wx_id wxUserId,
count(id) slefPlanCount,
...
...
@@ -135,6 +135,7 @@
</foreach>
</if>
</where>
group by wx_id
</select>
<update
id=
"updateServiceState"
parameterType=
"com.pcloud.book.timecontrol.entity.TimeControlSelfPlan"
>
...
...
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