记得上下班打卡 | 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
b7d6d5f7
Commit
b7d6d5f7
authored
Jul 31, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 platform
parent
32c78e5b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
23 deletions
+13
-23
KylinPerformancesPartnerServiceImpl.java
...ice/impl/partner/KylinPerformancesPartnerServiceImpl.java
+3
-0
DataUtils.java
.../java/com/liquidnet/service/platform/utils/DataUtils.java
+10
-23
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/partner/KylinPerformancesPartnerServiceImpl.java
View file @
b7d6d5f7
...
@@ -364,6 +364,7 @@ public class KylinPerformancesPartnerServiceImpl extends ServiceImpl<KylinPerfor
...
@@ -364,6 +364,7 @@ public class KylinPerformancesPartnerServiceImpl extends ServiceImpl<KylinPerfor
}
else
{
}
else
{
KylinPerformanceMisVo
kylinPerformanceMisVo
=
performanceVoTask
.
getPerformanceMisVo
(
performanceId
);
KylinPerformanceMisVo
kylinPerformanceMisVo
=
performanceVoTask
.
getPerformanceMisVo
(
performanceId
);
HashMap
<
String
,
Object
>
mapSql
=
ObjectUtil
.
cloneHashMapStringAndObject
();
HashMap
<
String
,
Object
>
mapSql
=
ObjectUtil
.
cloneHashMapStringAndObject
();
mapSql
.
put
(
"rejectTxt"
,
""
);
mapSql
.
put
(
"rejectTxt"
,
""
);
mapSql
.
put
(
"status"
,
map
.
get
(
"status"
));
mapSql
.
put
(
"status"
,
map
.
get
(
"status"
));
...
@@ -378,6 +379,8 @@ public class KylinPerformancesPartnerServiceImpl extends ServiceImpl<KylinPerfor
...
@@ -378,6 +379,8 @@ public class KylinPerformancesPartnerServiceImpl extends ServiceImpl<KylinPerfor
performanceStatus
.
setLimitCount
(
step2Param
.
getLimitCount
());
performanceStatus
.
setLimitCount
(
step2Param
.
getLimitCount
());
performanceStatusMapper
.
update
(
performanceStatus
,
Wrappers
.
lambdaQuery
(
KylinPerformanceStatus
.
class
).
eq
(
KylinPerformanceStatus:
:
getPerformanceId
,
performanceId
));
performanceStatusMapper
.
update
(
performanceStatus
,
Wrappers
.
lambdaQuery
(
KylinPerformanceStatus
.
class
).
eq
(
KylinPerformanceStatus:
:
getPerformanceId
,
performanceId
));
dataUtils
.
setPerformanceIsTrueName
(
performanceId
,
step2Param
.
getIsTrueName
());
//提示:票种价格、售票时间、票种购票限制 直接生效 (演出购票限制,购票须知 演出是否实名 票种缺货登记 票种是否电子票 票种是否快递票 票种最低购买张数 票种是否显示二维码)
//提示:票种价格、售票时间、票种购票限制 直接生效 (演出购票限制,购票须知 演出是否实名 票种缺货登记 票种是否电子票 票种是否快递票 票种最低购买张数 票种是否显示二维码)
List
<
TicketTimesTicketCreatePartnerVo
>
timeList
=
kylinPerformanceMisVo
.
getTicketTimes
();
List
<
TicketTimesTicketCreatePartnerVo
>
timeList
=
kylinPerformanceMisVo
.
getTicketTimes
();
for
(
TicketTimesTicketCreatePartnerVo
timesItem
:
timeList
)
{
for
(
TicketTimesTicketCreatePartnerVo
timesItem
:
timeList
)
{
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/utils/DataUtils.java
View file @
b7d6d5f7
...
@@ -154,6 +154,16 @@ public class DataUtils {
...
@@ -154,6 +154,16 @@ public class DataUtils {
}
}
}
}
/**
* 演出是否实名
*
* @param performanceId
* @param isTrueName
*/
public
void
setPerformanceIsTrueName
(
String
performanceId
,
int
isTrueName
)
{
redisUtil
.
set
(
KylinRedisConst
.
PERFORMANCES_TRUE_NAME
+
performanceId
,
isTrueName
);
}
/**
/**
* 根据订单id 获取 订单vo 详情
* 根据订单id 获取 订单vo 详情
*
*
...
@@ -251,22 +261,6 @@ public class DataUtils {
...
@@ -251,22 +261,6 @@ public class DataUtils {
String
redisKey
;
String
redisKey
;
int
isTrueName
=
getPerformanceIsTrueName
(
performanceId
);
int
isTrueName
=
getPerformanceIsTrueName
(
performanceId
);
// String useTime = "";
// HashMap<String, ArrayList<String>> allTicketId = new HashMap<>();
// for (int x = 0; x < vo.getTicketTimeList().size(); x++) {
// KylinTicketTimesVo timeItem = vo.getTicketTimeList().get(x);
// ArrayList<String> ticketList = new ArrayList<>();
// for (int y = 0; y < timeItem.getTicketList().size(); y++) {
// KylinTicketVo ticketItem = timeItem.getTicketList().get(y);
// if (ticketItem.getType() == 1) {
// ticketList.add(ticketItem.getTicketsId());
// }
// if (ticketItem.getTicketsId().equals(ticketId)) {
// useTime = ticketItem.getUseStart();
// }
// }
// allTicketId.put(timeItem.getUseStart(), ticketList);
// }
if
(
0
==
isTrueName
)
{
if
(
0
==
isTrueName
)
{
redisKey
=
KylinRedisConst
.
USERID_BUY_INFO
+
userId
;
redisKey
=
KylinRedisConst
.
USERID_BUY_INFO
+
userId
;
...
@@ -276,8 +270,6 @@ public class DataUtils {
...
@@ -276,8 +270,6 @@ public class DataUtils {
String
performanceIdKey
=
redisKey
+
":"
+
KylinRedisConst
.
PERFORMANCE_ID
+
":"
+
performanceId
;
String
performanceIdKey
=
redisKey
+
":"
+
KylinRedisConst
.
PERFORMANCE_ID
+
":"
+
performanceId
;
String
ticketIdKey
=
redisKey
+
":"
+
KylinRedisConst
.
TICKET_ID
+
":"
+
ticketId
;
String
ticketIdKey
=
redisKey
+
":"
+
KylinRedisConst
.
TICKET_ID
+
":"
+
ticketId
;
// String ticketUseTimeKey = ticketIdKey + ":" + KylinRedisConst.USE_TIME;
// redisUtil.set(ticketUseTimeKey, useTime);
if
(
buyCount
>
0
)
{
if
(
buyCount
>
0
)
{
redisUtil
.
incr
(
ticketIdKey
,
buyCount
);
redisUtil
.
incr
(
ticketIdKey
,
buyCount
);
...
@@ -388,11 +380,6 @@ public class DataUtils {
...
@@ -388,11 +380,6 @@ public class DataUtils {
redisUtil
.
set
(
redisKey
,
kylinOrderExpressVo
);
redisUtil
.
set
(
redisKey
,
kylinOrderExpressVo
);
}
}
public
void
delOrderExpressRoute
(
String
orderTicketsId
)
{
// 删除
String
redisKey
=
KylinRedisConst
.
ORDER_ROUTE_INFO
.
concat
(
orderTicketsId
);
redisUtil
.
del
(
redisKey
);
}
/**
/**
* 演出订单快递路由
* 演出订单快递路由
*/
*/
...
...
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