记得上下班打卡 | 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
19f487df
Commit
19f487df
authored
Jun 07, 2022
by
wanglele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兑换码导出和生成规则修改
parent
7ebe5bf2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
GoblinNftExCodeServiceImpl.java
...tform/service/impl/goblin/GoblinNftExCodeServiceImpl.java
+4
-4
GoblinNftExSkuServiceImpl.java
...atform/service/impl/goblin/GoblinNftExSkuServiceImpl.java
+2
-2
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/goblin/GoblinNftExCodeServiceImpl.java
View file @
19f487df
...
@@ -335,7 +335,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -335,7 +335,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
if
(
StringUtil
.
isNotBlank
(
gnc
.
getBoxSkuId
())
&&
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
if
(
StringUtil
.
isNotBlank
(
gnc
.
getBoxSkuId
())
&&
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
()))
{
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
())
&&
!
gnc
.
getState
().
equals
(
2
)
)
{
gnc
.
setState
(
3
);
gnc
.
setState
(
3
);
}
}
break
;
break
;
...
@@ -343,7 +343,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -343,7 +343,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
if
(
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
if
(
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
()))
{
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
())
&&
!
gnc
.
getState
().
equals
(
2
)
)
{
gnc
.
setState
(
3
);
gnc
.
setState
(
3
);
}
}
break
;
break
;
...
@@ -401,7 +401,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -401,7 +401,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
}
}
phonestr
.
append
(
data
.
getPhone
()).
append
(
","
);
phonestr
.
append
(
data
.
getPhone
()).
append
(
","
);
phoneList
.
add
(
data
.
getPhone
());
phoneList
.
add
(
data
.
getPhone
());
if
(
phoneList
.
size
()>
100
)
{
if
(
phoneList
.
size
()
>
100
)
{
break
;
break
;
}
}
}
}
...
@@ -412,7 +412,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -412,7 +412,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
return
ResponseDto
.
failure
(
"解析文件失败!"
);
return
ResponseDto
.
failure
(
"解析文件失败!"
);
}
}
if
(
phoneList
.
size
()>=
100
)
{
if
(
phoneList
.
size
()
>=
100
)
{
return
ResponseDto
.
failure
(
"批量空投暂时数量不能大于100"
);
return
ResponseDto
.
failure
(
"批量空投暂时数量不能大于100"
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/goblin/GoblinNftExSkuServiceImpl.java
View file @
19f487df
...
@@ -119,14 +119,14 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
...
@@ -119,14 +119,14 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
}
}
// 判断开售、停售时间
// 判断开售、停售时间
LocalDateTime
saleStartTime
=
goblinGoodsSku
.
getSaleStartTime
();
/*
LocalDateTime saleStartTime = goblinGoodsSku.getSaleStartTime();
LocalDateTime saleStopTime = goblinGoodsSku.getSaleStopTime();
LocalDateTime saleStopTime = goblinGoodsSku.getSaleStopTime();
LocalDateTime nowTime = LocalDateTime.now();
LocalDateTime nowTime = LocalDateTime.now();
if (nowTime.isBefore(saleStartTime)) {
if (nowTime.isBefore(saleStartTime)) {
continue;
continue;
} else if (null != saleStopTime && nowTime.isAfter(saleStopTime)) {
} else if (null != saleStopTime && nowTime.isAfter(saleStopTime)) {
continue;
continue;
}
}
*/
//是否购买
//是否购买
if
(!
goblinGoodsSku
.
getSkuCanbuy
().
equals
(
"1"
))
{
if
(!
goblinGoodsSku
.
getSkuCanbuy
().
equals
(
"1"
))
{
...
...
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