记得上下班打卡 | 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
3b6716a1
Commit
3b6716a1
authored
Jul 18, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_bd_rm_consumer_od' into dev_bd_rm_consumer_od
parents
8130ebdd
59dedcaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
AbstractOrderCloseReceiver.java
...e/consumer/order/receiver/AbstractOrderCloseReceiver.java
+2
-4
No files found.
liquidnet-bus-service/liquidnet-service-consumer-all/liquidnet-service-consumer-order/src/main/java/com/liquidnet/service/consumer/order/receiver/AbstractOrderCloseReceiver.java
View file @
3b6716a1
...
@@ -48,8 +48,6 @@ public abstract class AbstractOrderCloseReceiver implements StreamListener<Strin
...
@@ -48,8 +48,6 @@ public abstract class AbstractOrderCloseReceiver implements StreamListener<Strin
StringRedisTemplate
stringRedisTemplate
;
StringRedisTemplate
stringRedisTemplate
;
@Autowired
@Autowired
RedisDataSourceUtil
redisDataSourceUtil
;
RedisDataSourceUtil
redisDataSourceUtil
;
// @Autowired
// private RedisUtil redisUtil;
@Autowired
@Autowired
private
KylinOrderUtils
kylinOrderUtils
;
private
KylinOrderUtils
kylinOrderUtils
;
@Autowired
@Autowired
...
@@ -413,7 +411,7 @@ public abstract class AbstractOrderCloseReceiver implements StreamListener<Strin
...
@@ -413,7 +411,7 @@ public abstract class AbstractOrderCloseReceiver implements StreamListener<Strin
public
HashMap
<
String
,
String
[]>
getMixMasterCode
(
String
masterCode
)
{
public
HashMap
<
String
,
String
[]>
getMixMasterCode
(
String
masterCode
)
{
String
redisKey
=
GoblinRedisConst
.
REDIS_GOBLIN_ORDER_MIX_MASTER
.
concat
(
masterCode
);
String
redisKey
=
GoblinRedisConst
.
REDIS_GOBLIN_ORDER_MIX_MASTER
.
concat
(
masterCode
);
Object
obj
=
redis
Util
.
get
(
redisKey
);
Object
obj
=
redis
DataSourceUtil
.
getRedisKylinUtil
()
.
get
(
redisKey
);
if
(
obj
==
null
)
{
if
(
obj
==
null
)
{
return
null
;
return
null
;
}
else
{
}
else
{
...
@@ -544,7 +542,7 @@ public abstract class AbstractOrderCloseReceiver implements StreamListener<Strin
...
@@ -544,7 +542,7 @@ public abstract class AbstractOrderCloseReceiver implements StreamListener<Strin
//混合售限购减少
//混合售限购减少
public
int
decrMixLimit
(
String
mixId
,
String
uid
)
{
public
int
decrMixLimit
(
String
mixId
,
String
uid
)
{
String
rdk
=
GoblinRedisConst
.
GOBLIN_MIX_LIMIT
.
concat
(
mixId
).
concat
(
":"
).
concat
(
uid
);
String
rdk
=
GoblinRedisConst
.
GOBLIN_MIX_LIMIT
.
concat
(
mixId
).
concat
(
":"
).
concat
(
uid
);
return
(
int
)
redis
Util
.
decr
(
rdk
,
1
);
return
(
int
)
redis
DataSourceUtil
.
getRedisKylinUtil
()
.
decr
(
rdk
,
1
);
}
}
public
Boolean
changeCouponVos
(
String
ucouponId
,
GoblinUserCouponVo
vo
)
{
public
Boolean
changeCouponVos
(
String
ucouponId
,
GoblinUserCouponVo
vo
)
{
...
...
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