记得上下班打卡 | 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
7e15cb7c
Commit
7e15cb7c
authored
Apr 29, 2022
by
wanglele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间判断修改
parent
91df44b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
GoblinNftExCodeTaskServiceImpl.java
...m/service/impl/goblin/GoblinNftExCodeTaskServiceImpl.java
+8
-1
GoblinNftExSkuServiceImpl.java
...atform/service/impl/goblin/GoblinNftExSkuServiceImpl.java
+0
-5
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/goblin/GoblinNftExCodeTaskServiceImpl.java
View file @
7e15cb7c
...
...
@@ -201,7 +201,7 @@ public class GoblinNftExCodeTaskServiceImpl implements IGoblinNftExCodeTaskServi
exStartTime
=
rdExStartTime
;
}
if
(
rdExStopTime
.
isAfter
(
e
xStopTime
))
{
if
(
exStopTime
.
isBefore
(
rdE
xStopTime
))
{
exStopTime
=
rdExStopTime
;
}
}
...
...
@@ -223,7 +223,14 @@ public class GoblinNftExCodeTaskServiceImpl implements IGoblinNftExCodeTaskServi
// 修改定时
goblinNftExCodeTaskMapper
.
updateByTaskIds
(
updTaskIds
.
toString
());
log
.
debug
(
"MSQ耗时:ms"
,
System
.
currentTimeMillis
()
-
startm
);
}
public
static
void
main
(
String
[]
args
)
{
LocalDateTime
exStopTime
=
LocalDateTime
.
parse
(
"2024-06-26 19:00:00"
,
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
));
// "2019-06-26 19:00:00";
LocalDateTime
rdExStopTime
=
LocalDateTime
.
parse
(
"2066-06-26 19:00:00"
,
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
));
// "2019-06-26 19:00:00";
if
(
exStopTime
.
isBefore
(
rdExStopTime
)){
}
}
}
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/goblin/GoblinNftExSkuServiceImpl.java
View file @
7e15cb7c
...
...
@@ -66,7 +66,6 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
if
(
goblinNftExSkuParam
.
getUnbox
().
equals
(
"1"
))
{
bol
=
true
;
spuIds
.
append
(
goblinNftExSkuParam
.
getSpuId
()).
append
(
","
);
break
;
}
stockNumber
+=
goblinNftExSkuParam
.
getExStock
();
skuIds
.
append
(
goblinNftExSkuParam
.
getSkuId
()).
append
(
","
);
...
...
@@ -95,10 +94,6 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
return
ResponseDto
.
failure
(
"当前选中的sku不处于可售卖状态!"
);
}
if
(
goblinGoodsSkuListCheck
==
null
||
(
goblinGoodsSkuListCheck
.
size
()
!=
(
bol
?
goblinNftExSkuParams
.
size
()
-
1
:
goblinNftExSkuParams
.
size
())))
{
return
ResponseDto
.
failure
(
"sku数据异常!"
);
}
Map
<
String
,
BigDecimal
>
map
=
new
HashMap
<>();
if
(
bol
)
{
...
...
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