记得上下班打卡 | 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
Show 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
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
p.title,
p.title,
p.time_start,
p.time_start,
p.time_end
p.time_end
DATE_SUB(p.time_start,INTERVAL -3 DAY) as 'can_dwon_time'
FROM kylin_performances AS p
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 (
WHERE p.performances_id NOT IN (
...
...
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 {
...
@@ -117,6 +117,10 @@ public class MongoVoUtils {
if
(
kylinTicketVo
.
getIsExclusive
()
==
1
)
{
if
(
kylinTicketVo
.
getIsExclusive
()
==
1
)
{
isExclusive
=
1
;
isExclusive
=
1
;
}
}
if
(
isAdvance
==
0
&&
isDiscount
==
0
&&
isExclusive
==
0
)
{
isMember
=
0
;
}
}
}
if
(
kylinTicketVo
.
getIsLackRegister
()
==
1
)
{
if
(
kylinTicketVo
.
getIsLackRegister
()
==
1
)
{
isLackRegister
=
1
;
isLackRegister
=
1
;
...
@@ -154,7 +158,7 @@ public class MongoVoUtils {
...
@@ -154,7 +158,7 @@ public class MongoVoUtils {
voData
.
setPerformanceStatus
(
p2
);
voData
.
setPerformanceStatus
(
p2
);
voData
.
setPerformanceRelations
(
p3
);
voData
.
setPerformanceRelations
(
p3
);
voData
.
setFieldsData
(
fields
,
cityName
);
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
.
setTicketTimeList
(
timeList
);
voData
.
setAppStatus
(
p2
.
getStatus
());
voData
.
setAppStatus
(
p2
.
getStatus
());
return
voData
;
return
voData
;
...
@@ -181,7 +185,7 @@ public class MongoVoUtils {
...
@@ -181,7 +185,7 @@ public class MongoVoUtils {
}
}
BeanUtils
.
copyProperties
(
data
,
voItem
);
BeanUtils
.
copyProperties
(
data
,
voItem
);
List
<
KylinOrderListVo
>
redisData
=
dataUtils
.
getOrderList
(
userId
);
List
<
KylinOrderListVo
>
redisData
=
dataUtils
.
getOrderList
(
userId
);
if
(
type
==
1
)
{
if
(
type
==
1
)
{
redisVo
.
add
(
voItem
);
redisVo
.
add
(
voItem
);
if
(
redisData
.
size
()
>
0
)
{
if
(
redisData
.
size
()
>
0
)
{
if
(
redisData
.
get
(
0
).
getOrderTicketsId
().
equals
(
orderId
))
{
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