记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
9c09363e
Commit
9c09363e
authored
Jun 28, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改会员 子账号列表
parent
421996f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
16 deletions
+21
-16
KylinCheckUserPerformancesMapper.xml
...service.kylin.mapper/KylinCheckUserPerformancesMapper.xml
+9
-8
MongoVoUtils.java
.../java/com/liquidnet/service/kylin/utils/MongoVoUtils.java
+12
-8
No files found.
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/resources/com.liquidnet.service.kylin.mapper/KylinCheckUserPerformancesMapper.xml
View file @
9c09363e
...
...
@@ -34,17 +34,18 @@
<!-- 第三方 验票员未配置 演出 -->
<select
id=
"unChildPerformanceList"
parameterType=
"java.util.Map"
resultMap=
"childPerformanceDaoResult"
>
SELECT p.performances_id,
p.title,
p.time_start,
p.time_end
p.title,
p.time_start,
p.time_end
DATE_SUB(p.time_start,INTERVAL -3 DAY) as 'can_dwon_time'
FROM kylin_performances AS p
LEFT JOIN kylin_performance_relations AS pr ON pr.performance_id = p.performances_id
LEFT JOIN kylin_performance_relations AS pr ON pr.performance_id = p.performances_id
WHERE p.performances_id NOT IN (
SELECT performance_id
FROM kylin_check_user_performances
WHERE check_user_id = #{checkUserId}
SELECT performance_id
FROM kylin_check_user_performances
WHERE check_user_id = #{checkUserId}
)
AND pr.merchant_id = #{merchantId}
AND pr.merchant_id = #{merchantId}
<if
test=
"name!=''"
>
AND title LIKE concat('%', #{name}, '%')
</if>
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/utils/MongoVoUtils.java
View file @
9c09363e
...
...
@@ -117,6 +117,10 @@ public class MongoVoUtils {
if
(
kylinTicketVo
.
getIsExclusive
()
==
1
)
{
isExclusive
=
1
;
}
if
(
isAdvance
==
0
&&
isDiscount
==
0
&&
isExclusive
==
0
)
{
isMember
=
0
;
}
}
if
(
kylinTicketVo
.
getIsLackRegister
()
==
1
)
{
isLackRegister
=
1
;
...
...
@@ -141,12 +145,12 @@ public class MongoVoUtils {
}
// if(ticketList.size()>0) {
KylinTicketTimesVo
kylinTicketTimesVo
=
new
KylinTicketTimesVo
();
kylinTicketTimesVo
.
setTicketTimes
(
tt1
);
kylinTicketTimesVo
.
setPerformanceId
(
times
.
getPerformanceId
());
kylinTicketTimesVo
.
setTimeId
(
times
.
getTimesId
());
kylinTicketTimesVo
.
setTicketList
(
ticketList
);
timeList
.
add
(
kylinTicketTimesVo
);
KylinTicketTimesVo
kylinTicketTimesVo
=
new
KylinTicketTimesVo
();
kylinTicketTimesVo
.
setTicketTimes
(
tt1
);
kylinTicketTimesVo
.
setPerformanceId
(
times
.
getPerformanceId
());
kylinTicketTimesVo
.
setTimeId
(
times
.
getTimesId
());
kylinTicketTimesVo
.
setTicketList
(
ticketList
);
timeList
.
add
(
kylinTicketTimesVo
);
// }
}
...
...
@@ -154,7 +158,7 @@ public class MongoVoUtils {
voData
.
setPerformanceStatus
(
p2
);
voData
.
setPerformanceRelations
(
p3
);
voData
.
setFieldsData
(
fields
,
cityName
);
voData
.
setTimePriceVipAndLack
(
isLackRegister
,
isMember
,
isExclusive
,
price
,
stopSellTime
,
sellMemberTime
,
sellTime
,
isAdvance
,
isDiscount
,
payCountdownMinute
);
voData
.
setTimePriceVipAndLack
(
isLackRegister
,
isMember
,
isExclusive
,
price
,
stopSellTime
,
sellMemberTime
,
sellTime
,
isAdvance
,
isDiscount
,
payCountdownMinute
);
voData
.
setTicketTimeList
(
timeList
);
voData
.
setAppStatus
(
p2
.
getStatus
());
return
voData
;
...
...
@@ -181,7 +185,7 @@ public class MongoVoUtils {
}
BeanUtils
.
copyProperties
(
data
,
voItem
);
List
<
KylinOrderListVo
>
redisData
=
dataUtils
.
getOrderList
(
userId
);
if
(
type
==
1
)
{
if
(
type
==
1
)
{
redisVo
.
add
(
voItem
);
if
(
redisData
.
size
()
>
0
)
{
if
(
redisData
.
get
(
0
).
getOrderTicketsId
().
equals
(
orderId
))
{
...
...
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