记得上下班打卡 | 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
4b5185ab
Commit
4b5185ab
authored
Aug 03, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sweet
parent
6897a6dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
23 deletions
+26
-23
SweetAppletController.java
...idnet/service/sweet/controller/SweetAppletController.java
+26
-23
No files found.
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetAppletController.java
View file @
4b5185ab
...
@@ -73,8 +73,8 @@ public class SweetAppletController {
...
@@ -73,8 +73,8 @@ public class SweetAppletController {
@ApiOperation
(
"时间表"
)
@ApiOperation
(
"时间表"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"dateTime"
,
value
=
"时间 全部
传 \"\"
"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"dateTime"
,
value
=
"时间 全部
不传
"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stage"
,
value
=
"舞台 全部
传 \"\"
"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stage"
,
value
=
"舞台 全部
不传
"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"isSign"
,
value
=
"是否签名(1是0否)"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"isSign"
,
value
=
"是否签名(1是0否)"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
false
),
...
@@ -103,7 +103,7 @@ public class SweetAppletController {
...
@@ -103,7 +103,7 @@ public class SweetAppletController {
endPosition
=
(
page
)
*
size
;
endPosition
=
(
page
)
*
size
;
}
}
if
(
page
!=
null
&&
dateTime
==
null
)
{
if
(
page
==
null
&&
dateTime
==
null
)
{
try
{
try
{
dateTime
=
data
.
getDate
().
get
(
0
);
dateTime
=
data
.
getDate
().
get
(
0
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
@@ -112,25 +112,25 @@ public class SweetAppletController {
...
@@ -112,25 +112,25 @@ public class SweetAppletController {
}
}
for
(
SweetManualArtistListDto
item
:
artistData
)
{
for
(
SweetManualArtistListDto
item
:
artistData
)
{
boolean
isSave
=
fals
e
;
boolean
isSave
=
tru
e
;
if
(
isSign
==
1
)
{
if
(
isSign
==
1
)
{
if
(
item
.
getSignatureStart
()
!
=
null
)
{
if
(
item
.
getSignatureStart
()
=
=
null
)
{
//保留
//
不
保留
isSave
=
tru
e
;
isSave
=
fals
e
;
}
}
}
}
if
(
dateTime
!=
null
)
{
if
(
dateTime
!=
null
)
{
if
(
item
.
getPerformanceStart
().
contains
(
dateTime
))
{
if
(
!
item
.
getPerformanceStart
().
contains
(
dateTime
))
{
//保留
//
不
保留
isSave
=
tru
e
;
isSave
=
fals
e
;
}
}
}
}
if
(
stage
!=
null
)
{
if
(
stage
!=
null
)
{
if
(
item
.
getTitle
().
equalsIgnoreCase
(
stage
))
{
if
(
!
item
.
getTitle
().
equalsIgnoreCase
(
stage
))
{
//保留
//保留
isSave
=
tru
e
;
isSave
=
fals
e
;
}
}
}
}
...
@@ -146,19 +146,22 @@ public class SweetAppletController {
...
@@ -146,19 +146,22 @@ public class SweetAppletController {
item
.
setIsWatch
(
0
);
item
.
setIsWatch
(
0
);
item
.
setIsSign
(
0
);
item
.
setIsSign
(
0
);
if
(
relationData
.
getWatchList
()
!=
null
)
{
for
(
String
artistsId
:
relationData
.
getWatchList
())
{
for
(
String
artistsId
:
relationData
.
getWatchList
())
{
if
(
artistsId
.
equalsIgnoreCase
(
item
.
getArtistId
()))
{
if
(
artistsId
.
equalsIgnoreCase
(
item
.
getArtistId
()))
{
item
.
setIsWatch
(
1
);
item
.
setIsWatch
(
1
);
break
;
break
;
}
}
}
}
}
if
(
relationData
.
getSignList
()
!=
null
)
{
for
(
String
artistsId
:
relationData
.
getSignList
())
{
for
(
String
artistsId
:
relationData
.
getSignList
())
{
if
(
artistsId
.
equalsIgnoreCase
(
item
.
getArtistId
()))
{
if
(
artistsId
.
equalsIgnoreCase
(
item
.
getArtistId
()))
{
item
.
setIsSign
(
1
);
item
.
setIsSign
(
1
);
break
;
break
;
}
}
}
}
}
returnArtist
.
add
(
item
);
returnArtist
.
add
(
item
);
}
}
...
...
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