Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-spark-tag-4.0
Overview
Overview
Details
Activity
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
wangxiaokang
gic-spark-tag-4.0
Commits
53178bd6
Commit
53178bd6
authored
Sep 03, 2020
by
guos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签4.0
parent
d73205a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
TagCouponRequest.java
...n/java/com/gic/spark/entity/request/TagCouponRequest.java
+3
-3
TagValueParser.java
src/main/java/com/gic/spark/tag/TagValueParser.java
+2
-2
No files found.
src/main/java/com/gic/spark/entity/request/TagCouponRequest.java
View file @
53178bd6
...
...
@@ -13,15 +13,15 @@ import java.util.List;
*/
public
class
TagCouponRequest
extends
AbstractFilterRequestInteger
{
private
List
<
Integer
>
couponList
;
private
List
<
Long
>
couponList
;
private
CouponType
couponType
;
public
List
<
Integer
>
getCouponList
()
{
public
List
<
Long
>
getCouponList
()
{
return
couponList
;
}
public
void
setCouponList
(
List
<
Integer
>
couponList
)
{
public
void
setCouponList
(
List
<
Long
>
couponList
)
{
this
.
couponList
=
couponList
;
}
...
...
src/main/java/com/gic/spark/tag/TagValueParser.java
View file @
53178bd6
...
...
@@ -416,11 +416,11 @@ public class TagValueParser {
break
;
default
:
break
;
}
List
<
Integer
>
couponList
=
new
ArrayList
();
List
<
Long
>
couponList
=
new
ArrayList
();
if
(
StringUtils
.
isNotEmpty
(
conditionValDTO
.
getVal
())){
String
[]
couponIds
=
conditionValDTO
.
getVal
().
split
(
","
);
for
(
String
couponId
:
couponIds
)
{
couponList
.
add
(
Integer
.
valueOf
(
couponId
));
couponList
.
add
(
Long
.
valueOf
(
couponId
));
}
}
request
.
setCouponList
(
couponList
);
...
...
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