记得上下班打卡 | 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
f57d4e16
Commit
f57d4e16
authored
Sep 14, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin 增加 库存
parent
c06219b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
26 deletions
+18
-26
PerformanceVoTask.java
...m/liquidnet/service/platform/utils/PerformanceVoTask.java
+18
-26
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/utils/PerformanceVoTask.java
View file @
f57d4e16
...
...
@@ -385,41 +385,41 @@ public class PerformanceVoTask {
KylinPerformanceMisVo
misVo
=
getPerformanceMisVo
(
performanceId
);
KylinPerformanceVo
mongoVo
=
mongoVoUtils
.
combinePerformanceVoData
(
performanceId
);
if
(!
misVo
.
getTitle
().
equals
(
mongoVo
.
getTitle
()))
{
log
.
debug
(
"
NEED CHANGE TITLE"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE TITLE"
);
return
true
;
}
if
(!
misVo
.
getImgPoster
().
equals
(
mongoVo
.
getImgPoster
()))
{
log
.
debug
(
"
NEED CHANGE IMGPOSTER"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE IMGPOSTER"
);
return
true
;
}
else
if
(!
misVo
.
getType
().
equals
(
mongoVo
.
getType
()))
{
log
.
debug
(
"
NEED CHANGE TYPE"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE TYPE"
);
return
true
;
}
else
if
(!
misVo
.
getTimeStart
().
equals
(
mongoVo
.
getTimeStart
()))
{
log
.
debug
(
"
NEED CHANGE TIMESTART"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE TIMESTART"
);
return
true
;
}
else
if
(!
misVo
.
getTimeEnd
().
equals
(
mongoVo
.
getTimeEnd
()))
{
log
.
debug
(
"
NEED CHANGE TIMEEND"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE TIMEEND"
);
return
true
;
}
else
if
(!
misVo
.
getFieldId
().
equals
(
mongoVo
.
getFieldId
()))
{
log
.
debug
(
"
NEED CHANGE FIELDID"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE FIELDID"
);
return
true
;
}
else
if
(!
misVo
.
getNotice
().
equals
(
mongoVo
.
getNotice
()))
{
log
.
debug
(
"
NEED CHANGE NOTICE"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE NOTICE"
);
return
true
;
}
else
if
(!
misVo
.
getDetails
().
equals
(
mongoVo
.
getDetails
()))
{
log
.
debug
(
"
NEED CHANGE DETAILS"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE DETAILS"
);
return
true
;
}
else
if
(!
misVo
.
getApprovalUrl
().
equals
(
mongoVo
.
getApprovalUrl
()))
{
log
.
debug
(
"
NEED CHANGE APPROVALURL"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE APPROVALURL"
);
return
true
;
}
else
if
(!
misVo
.
getPayCountdownMinute
().
equals
(
mongoVo
.
getPayCountdownMinute
()))
{
log
.
debug
(
"
NEED CHANGE PAYCOUTDOWN"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE PAYCOUTDOWN"
);
return
true
;
}
boolean
exists
=
mongoTemplate
.
exists
(
Query
.
query
(
Criteria
.
where
(
"status"
).
is
(-
1
).
and
(
"performancesId"
).
is
(
performanceId
)),
KylinTicketTimesPartnerVo
.
class
,
KylinTicketTimesPartnerVo
.
class
.
getSimpleName
());
if
(
exists
)
{
log
.
debug
(
"
NEED CHANGE NEW TIMES"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE NEW TIMES"
);
return
true
;
}
...
...
@@ -428,27 +428,25 @@ public class PerformanceVoTask {
KylinTicketTimesVo
timesVo
=
mongoVo
.
getTicketTimeList
().
get
(
i
);
if
(!
times
.
getUseStart
().
equals
(
timesVo
.
getUseStart
())){
log
.
debug
(
"
NEED CHANGE TIMES USE_START"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE TIMES USE_START"
);
return
true
;
}
if
(!
times
.
getUseEnd
().
equals
(
timesVo
.
getUseEnd
())){
log
.
debug
(
"
NEED CHANGE TIMES USE_END"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE TIMES USE_END"
);
return
true
;
}
boolean
exists2
=
mongoTemplate
.
exists
(
Query
.
query
(
Criteria
.
where
(
"status"
).
is
(-
2
).
and
(
"timesId"
).
is
(
times
.
getTicketTimesId
())),
KylinTicketPartnerVo
.
class
,
KylinTicketPartnerVo
.
class
.
getSimpleName
());
if
(
exists2
)
{
log
.
debug
(
"
NEED CHANGE NEW TICKET"
);
log
.
info
(
"performanceId = "
+
performanceId
+
"
NEED CHANGE NEW TICKET"
);
return
true
;
}
for
(
KylinTicketPartnerVo
ticketPartnerVo
:
times
.
getTicket
())
{
for
(
KylinTicketVo
ticketVo
:
timesVo
.
getTicketList
())
{
if
(
ticketVo
.
getTicketsId
().
equals
(
ticketPartnerVo
.
getTicketsId
()))
{
if
(!
ticketVo
.
getTitle
().
equals
(
ticketPartnerVo
.
getTitle
()))
{
log
.
debug
(
"NEED CHANGE TICKET TITLE"
);
log
.
debug
(
"ticketVo.getTitle() = "
+
ticketVo
.
getTitle
());
log
.
debug
(
"ticketPartnerVo.getTitle() = "
+
ticketPartnerVo
.
getTitle
());
log
.
info
(
"performanceId = "
+
performanceId
+
" ticketId = "
+
ticketVo
.
getTicketsId
()+
" NEED CHANGE TICKET TITLE"
);
return
true
;
}
// else if (!ticketVo.getQrCodeShowTime().equals(ticketPartnerVo.getQrCodeShowTime())) {
...
...
@@ -456,20 +454,14 @@ public class PerformanceVoTask {
// return true;
// }
else
if
(!
ticketVo
.
getDescribeElectronic
().
equals
(
ticketPartnerVo
.
getDescribeElectronic
()))
{
log
.
debug
(
"NEED CHANGE TICKET DESCRIBEELECTRONIC"
);
log
.
debug
(
"ticketVo.getDescribeElectronic() ="
+
ticketVo
.
getDescribeElectronic
());
log
.
debug
(
"ticketPartnerVo.getDescribeElectronic() ="
+
ticketPartnerVo
.
getDescribeElectronic
());
log
.
info
(
"performanceId = "
+
performanceId
+
" ticketId = "
+
ticketVo
.
getTicketsId
()+
" NEED CHANGE TICKET DESCRIBEELECTRONIC"
);
return
true
;
}
else
if
(!
ticketVo
.
getDescribeExpress
().
equals
(
ticketPartnerVo
.
getDescribeExpress
()))
{
log
.
debug
(
"NEED CHANGE TICKET DESCRIBEELEXPRESS"
);
log
.
debug
(
"ticketVo.getDescribeExpress() ="
+
ticketVo
.
getDescribeExpress
());
log
.
debug
(
"ticketPartnerVo.getDescribeExpress() ="
+
ticketPartnerVo
.
getDescribeExpress
());
log
.
info
(
"performanceId = "
+
performanceId
+
" ticketId = "
+
ticketVo
.
getTicketsId
()+
" NEED CHANGE TICKET DESCRIBEELEXPRESS"
);
return
true
;
}
if
(!
ticketVo
.
getDescribes
().
equals
(
ticketPartnerVo
.
getDescribes
()))
{
log
.
debug
(
"NEED CHANGE TICKET DESCRIBES"
);
log
.
debug
(
"ticketVo.getDescribes() ="
+
ticketVo
.
getDescribes
());
log
.
debug
(
"ticketPartnerVo.getDescribes() ="
+
ticketPartnerVo
.
getDescribes
());
log
.
info
(
"performanceId = "
+
performanceId
+
" NEED CHANGE TICKET DESCRIBES"
);
return
true
;
}
break
;
...
...
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