记得上下班打卡 | 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
d0c817f3
Commit
d0c817f3
authored
May 05, 2022
by
wanglele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间处理优化
parent
d0b28c65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
GoblinNftExSkuServiceImpl.java
...atform/service/impl/goblin/GoblinNftExSkuServiceImpl.java
+5
-5
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/goblin/GoblinNftExSkuServiceImpl.java
View file @
d0c817f3
...
@@ -259,19 +259,19 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
...
@@ -259,19 +259,19 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
Map
<
String
,
Map
<
String
,
Object
>>
mapMap
=
new
HashMap
<>();
Map
<
String
,
Map
<
String
,
Object
>>
mapMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
objectMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
objectMap
=
new
HashMap
<>();
objectMap
.
put
(
"hitRatio"
,
10
);
objectMap
.
put
(
"hitRatio"
,
33.33
);
objectMap
.
put
(
"stock"
,
5
);
objectMap
.
put
(
"stock"
,
5
);
mapMap
.
put
(
"1"
,
objectMap
);
mapMap
.
put
(
"1"
,
objectMap
);
Map
<
String
,
Object
>
objectMap1
=
new
HashMap
<>();
Map
<
String
,
Object
>
objectMap1
=
new
HashMap
<>();
objectMap1
.
put
(
"hitRatio"
,
20
);
objectMap1
.
put
(
"hitRatio"
,
33.33
);
objectMap1
.
put
(
"stock"
,
100
);
objectMap1
.
put
(
"stock"
,
100
);
mapMap
.
put
(
"2"
,
objectMap1
);
mapMap
.
put
(
"2"
,
objectMap1
);
Map
<
String
,
Object
>
objectMap2
=
new
HashMap
<>();
Map
<
String
,
Object
>
objectMap2
=
new
HashMap
<>();
objectMap2
.
put
(
"hitRatio"
,
3
0
);
objectMap2
.
put
(
"hitRatio"
,
3
3.33
);
objectMap2
.
put
(
"stock"
,
100
);
objectMap2
.
put
(
"stock"
,
100
);
mapMap
.
put
(
"3"
,
objectMap2
);
mapMap
.
put
(
"3"
,
objectMap2
);
Map
<
String
,
Integer
>
stockMap
=
new
HashMap
<>();
Map
<
String
,
Integer
>
stockMap
=
new
HashMap
<>();
getStock
(
1
20
,
new
BigDecimal
(
60
),
mapMap
,
stockMap
);
getStock
(
1
0
,
new
BigDecimal
(
99.99
),
mapMap
,
stockMap
);
System
.
out
.
println
(
"kkk"
);
System
.
out
.
println
(
"kkk"
);
}
}
...
@@ -368,7 +368,7 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
...
@@ -368,7 +368,7 @@ public class GoblinNftExSkuServiceImpl implements IGoblinNftExSkuService {
&&
info
.
getSkuType
()
==
1
&&
info
.
getSkuType
()
==
1
&&
info
.
getStatus
().
equals
(
"3"
)
&&
info
.
getStatus
().
equals
(
"3"
)
&&
info
.
getShelvesStatus
().
equals
(
"3"
)
&&
info
.
getShelvesStatus
().
equals
(
"3"
)
&&
(
info
.
getSkuAppear
()
==
null
||
info
.
getSkuAppear
().
equals
(
"0"
))
//
&& (info.getSkuAppear() == null || info.getSkuAppear().equals("0"))
&&
info
.
getDelFlg
().
equals
(
"0"
)
&&
info
.
getDelFlg
().
equals
(
"0"
)
&&
info
.
getSkuCanbuy
().
equals
(
1
))
{
&&
info
.
getSkuCanbuy
().
equals
(
1
))
{
return
true
;
return
true
;
...
...
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