记得上下班打卡 | 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
0f10db68
Commit
0f10db68
authored
Dec 20, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 保存接口
parent
9e8bfedd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
KylinPerformancesPartnerServiceImpl.java
...ime/service/impl/KylinPerformancesPartnerServiceImpl.java
+9
-9
PerformanceUtils.java
...va/com/liquidnet/service/slime/util/PerformanceUtils.java
+6
-2
No files found.
liquidnet-bus-service/liquidnet-service-slime/liquidnet-service-slime-impl/src/main/java/com/liquidnet/service/slime/service/impl/KylinPerformancesPartnerServiceImpl.java
View file @
0f10db68
...
@@ -235,11 +235,11 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
...
@@ -235,11 +235,11 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
String
performanceId
=
step2Param
.
getPerformancesId
();
String
performanceId
=
step2Param
.
getPerformancesId
();
// 获取 当前时间 -> 创建时间
// 获取 当前时间 -> 创建时间
LocalDateTime
createdAt
=
LocalDateTime
.
now
();
LocalDateTime
createdAt
=
LocalDateTime
.
now
();
//
String merchantId = step2Param.getMerchantId();
String
merchantId
=
step2Param
.
getMerchantId
();
//
boolean isExistsSubmit = mongoSlimeUtils.isExistsSubmitPerformancePartner(performanceId);
boolean
isExistsSubmit
=
mongoSlimeUtils
.
isExistsSubmitPerformancePartner
(
performanceId
);
//
if (isExistsSubmit) {
if
(
isExistsSubmit
)
{
//
return ResponseDto.failure(ErrorMapping.get(20112));
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
20112
));
//
}
}
//演出修改数据
//演出修改数据
PerformancePartnerVo
performancePartnerVo
=
PerformancePartnerVo
.
getNew
();
PerformancePartnerVo
performancePartnerVo
=
PerformancePartnerVo
.
getNew
();
...
@@ -330,10 +330,10 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
...
@@ -330,10 +330,10 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
LinkedList
<
Object
[]>
sqlsDataF
=
CollectionUtil
.
linkedListObjectArr
();
LinkedList
<
Object
[]>
sqlsDataF
=
CollectionUtil
.
linkedListObjectArr
();
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
// 获取 当前时间 -> 创建时间
// 获取 当前时间 -> 创建时间
//
boolean isExistsSubmit = mongoSlimeUtils.isExistsSubmitPerformancePartner(performanceId);
boolean
isExistsSubmit
=
mongoSlimeUtils
.
isExistsSubmitPerformancePartner
(
performanceId
);
//
if (isExistsSubmit) {
if
(
isExistsSubmit
)
{
//
return ResponseDto.failure(ErrorMapping.get(20112));
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
20112
));
//
}
}
//演出修改数据
//演出修改数据
PerformancePartnerVo
performancePartnerVo
=
PerformancePartnerVo
.
getNew
();
PerformancePartnerVo
performancePartnerVo
=
PerformancePartnerVo
.
getNew
();
performancePartnerVo
.
setPerformancesId
(
performanceId
);
performancePartnerVo
.
setPerformancesId
(
performanceId
);
...
...
liquidnet-bus-service/liquidnet-service-slime/liquidnet-service-slime-impl/src/main/java/com/liquidnet/service/slime/util/PerformanceUtils.java
View file @
0f10db68
...
@@ -193,8 +193,12 @@ public class PerformanceUtils {
...
@@ -193,8 +193,12 @@ public class PerformanceUtils {
StringList
.
sort
(
Comparator
.
naturalOrder
());
StringList
.
sort
(
Comparator
.
naturalOrder
());
kylinPerformanceMisVo
.
setDetails
(
performanceData
.
getDetails
());
kylinPerformanceMisVo
.
setDetails
(
performanceData
.
getDetails
());
if
(
floatList
.
size
()
!=
0
)
{
kylinPerformanceMisVo
.
setPrice
(
floatList
.
get
(
0
)
+
"起"
);
kylinPerformanceMisVo
.
setPrice
(
floatList
.
get
(
0
)
+
"起"
);
}
if
(
StringList
.
size
()
!=
0
)
{
kylinPerformanceMisVo
.
setStopSellTime
(
StringList
.
get
(
0
));
kylinPerformanceMisVo
.
setStopSellTime
(
StringList
.
get
(
0
));
}
kylinPerformanceMisVo
.
setTicketTimes
(
ticketTimesTicketCreatePartnerVoList
);
kylinPerformanceMisVo
.
setTicketTimes
(
ticketTimesTicketCreatePartnerVoList
);
kylinPerformanceMisVo
.
setIsDistribution
(
0
);
kylinPerformanceMisVo
.
setIsDistribution
(
0
);
...
...
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