记得上下班打卡 | 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
6cf901ef
Commit
6cf901ef
authored
Dec 22, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂时提交一部分
parent
2c670cdd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
PerformancePartnerVo.java
...quidnet/service/kylin/dto/param/PerformancePartnerVo.java
+2
-1
KylinTicketsPartnerServiceImpl.java
...ce/slime/service/impl/KylinTicketsPartnerServiceImpl.java
+14
-8
No files found.
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/dto/param/PerformancePartnerVo.java
View file @
6cf901ef
...
@@ -131,7 +131,7 @@ public class PerformancePartnerVo implements Serializable, Cloneable {
...
@@ -131,7 +131,7 @@ public class PerformancePartnerVo implements Serializable, Cloneable {
}
}
}
}
public
PerformancePartnerVo
copy
(
KylinPerformances
performances
,
KylinPerformanceStatus
performanceStatus
,
KylinPerformanceRelations
kylinPerformanceRelations
,
String
fieldName
)
{
public
PerformancePartnerVo
copy
(
KylinPerformances
performances
,
KylinPerformanceStatus
performanceStatus
,
KylinPerformanceRelations
kylinPerformanceRelations
,
String
fieldName
)
{
this
.
setPerformancesId
(
performances
.
getPerformancesId
());
this
.
setPerformancesId
(
performances
.
getPerformancesId
());
this
.
setImgPoster
(
performances
.
getImgPoster
());
this
.
setImgPoster
(
performances
.
getImgPoster
());
this
.
setTitle
(
performances
.
getTitle
());
this
.
setTitle
(
performances
.
getTitle
());
...
@@ -158,6 +158,7 @@ public class PerformancePartnerVo implements Serializable, Cloneable {
...
@@ -158,6 +158,7 @@ public class PerformancePartnerVo implements Serializable, Cloneable {
this
.
setRoadShowId
(
kylinPerformanceRelations
.
getRoadShowId
());
this
.
setRoadShowId
(
kylinPerformanceRelations
.
getRoadShowId
());
this
.
setRejectTxt
(
performances
.
getRejectTxt
());
this
.
setRejectTxt
(
performances
.
getRejectTxt
());
this
.
setAuditStatus
(
performanceStatus
.
getAuditStatus
());
this
.
setAuditStatus
(
performanceStatus
.
getAuditStatus
());
this
.
setFieldAuditStatus
(
performanceStatus
.
getFieldAuditStatus
());
this
.
setIsShow
(
performanceStatus
.
getIsShow
());
this
.
setIsShow
(
performanceStatus
.
getIsShow
());
this
.
setProjectId
(
kylinPerformanceRelations
.
getProjectId
());
this
.
setProjectId
(
kylinPerformanceRelations
.
getProjectId
());
this
.
setCreatedAt
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
format
(
performances
.
getCreatedAt
()));
this
.
setCreatedAt
(
DateUtil
.
Formatter
.
yyyyMMddHHmmss
.
format
(
performances
.
getCreatedAt
()));
...
...
liquidnet-bus-service/liquidnet-service-slime/liquidnet-service-slime-impl/src/main/java/com/liquidnet/service/slime/service/impl/KylinTicketsPartnerServiceImpl.java
View file @
6cf901ef
...
@@ -228,6 +228,8 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
...
@@ -228,6 +228,8 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
kylinTicketPartnerVo
.
setDefault
();
kylinTicketPartnerVo
.
setDefault
();
if
(
ticketCreateParam
.
getIsExpress
()
==
1
)
{
if
(
ticketCreateParam
.
getIsExpress
()
==
1
)
{
kylinTicketPartnerVo
.
setTimeEndExpress
(
ticketCreateParam
.
getTimeEndExpress
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
kylinTicketPartnerVo
.
setTimeEndExpress
(
ticketCreateParam
.
getTimeEndExpress
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
}
else
{
kylinTicketPartnerVo
.
setTimeEndExpress
(
null
);
}
}
if
(
ticketCreateParam
.
getExpressType
()
==
null
)
{
if
(
ticketCreateParam
.
getExpressType
()
==
null
)
{
ticketCreateParam
.
setExpressType
(
0
);
ticketCreateParam
.
setExpressType
(
0
);
...
@@ -258,6 +260,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
...
@@ -258,6 +260,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
KylinPerformanceVo
vo
=
redisSlimeUtils
.
getPerformanceVo
(
performanceId
);
KylinPerformanceVo
vo
=
redisSlimeUtils
.
getPerformanceVo
(
performanceId
);
KylinTicketTimesVo
ticketTimesData
;
KylinTicketTimesVo
ticketTimesData
;
KylinTicketVo
ticketData
=
null
;
KylinTicketVo
ticketData
=
null
;
if
(
vo
!=
null
)
{
for
(
int
x
=
0
;
x
<
vo
.
getTicketTimeList
().
size
();
x
++)
{
for
(
int
x
=
0
;
x
<
vo
.
getTicketTimeList
().
size
();
x
++)
{
ticketTimesData
=
vo
.
getTicketTimeList
().
get
(
x
);
ticketTimesData
=
vo
.
getTicketTimeList
().
get
(
x
);
for
(
int
y
=
0
;
y
<
ticketTimesData
.
getTicketList
().
size
();
y
++)
{
for
(
int
y
=
0
;
y
<
ticketTimesData
.
getTicketList
().
size
();
y
++)
{
...
@@ -269,6 +272,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
...
@@ -269,6 +272,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
}
}
break
;
break
;
}
}
}
if
(
ticketData
==
null
)
{
if
(
ticketData
==
null
)
{
mongoSlimeUtils
.
deleteTicketPartnerVo
(
ticketsId
);
mongoSlimeUtils
.
deleteTicketPartnerVo
(
ticketsId
);
return
ResponseDto
.
success
(
"删除成功"
);
return
ResponseDto
.
success
(
"删除成功"
);
...
@@ -393,6 +397,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
...
@@ -393,6 +397,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
ticketPartnerVo
.
setStatus
(
9
);
ticketPartnerVo
.
setStatus
(
9
);
mongoSlimeUtils
.
updateTicketPartnerVo
(
ticketPartnerVo
);
mongoSlimeUtils
.
updateTicketPartnerVo
(
ticketPartnerVo
);
performanceUtils
.
performanceVoStatus
(
performancesId
,
null
);
performanceUtils
.
performanceVoStatus
(
performancesId
,
null
);
redisSlimeUtils
.
delPerformanceVo
(
performancesId
);
log
.
info
(
UserPathDto
.
setPartnerData
(
"0"
,
"onLine"
,
"performancesId="
+
performancesId
+
",ticketsId="
+
ticketsId
,
"上线成功"
));
log
.
info
(
UserPathDto
.
setPartnerData
(
"0"
,
"onLine"
,
"performancesId="
+
performancesId
+
",ticketsId="
+
ticketsId
,
"上线成功"
));
return
ResponseDto
.
success
(
"上线成功"
);
return
ResponseDto
.
success
(
"上线成功"
);
}
else
{
}
else
{
...
@@ -443,6 +448,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
...
@@ -443,6 +448,7 @@ public class KylinTicketsPartnerServiceImpl implements IKylinTicketsPartnerServi
ticketPartnerVo
.
setStatus
(
7
);
ticketPartnerVo
.
setStatus
(
7
);
mongoSlimeUtils
.
updateTicketPartnerVo
(
ticketPartnerVo
);
mongoSlimeUtils
.
updateTicketPartnerVo
(
ticketPartnerVo
);
performanceUtils
.
performanceVoStatus
(
performancesId
,
null
);
performanceUtils
.
performanceVoStatus
(
performancesId
,
null
);
redisSlimeUtils
.
delPerformanceVo
(
performancesId
);
log
.
info
(
UserPathDto
.
setPartnerData
(
"0"
,
"outLine"
,
"performancesId="
+
performancesId
+
",ticketsId="
+
ticketsId
,
"下线成功"
));
log
.
info
(
UserPathDto
.
setPartnerData
(
"0"
,
"outLine"
,
"performancesId="
+
performancesId
+
",ticketsId="
+
ticketsId
,
"下线成功"
));
return
ResponseDto
.
success
(
"下线成功"
);
return
ResponseDto
.
success
(
"下线成功"
);
}
else
{
}
else
{
...
...
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