记得上下班打卡 | 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
b3164e8e
Commit
b3164e8e
authored
Nov 30, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 场地审核演出相关
parent
de716bb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
RedisUtil.java
...java/com.liquidnet.common.cache/redis/util/RedisUtil.java
+3
-4
MongoMerchantUtils.java
...m/liquidnet/service/merchant/util/MongoMerchantUtils.java
+2
-2
No files found.
liquidnet-bus-common/liquidnet-common-cache/liquidnet-common-cache-redis/src/main/java/com.liquidnet.common.cache/redis/util/RedisUtil.java
View file @
b3164e8e
...
...
@@ -34,10 +34,9 @@ public final class RedisUtil extends AbstractRedisUtil{
public
static
void
main
(
String
[]
args
)
{
String
[]
keys
=
{
"kylin:performances_inventory:ticket:id:549879610247536644974635:surplusGeneral"
,
"kylin:performances_inventory:ticket:id:549884198197207048081342:surplusGeneral"
,
"kylin:performances_inventory:ticket:id:549881492273684485996036:surplusGeneral"
,
"kylin:performances_inventory:ticket:id:549885632271687689854215:surplusGeneral"
,
"kylin:performances_inventory:ticket:id:545532380412108806781770:surplusGeneral"
,
"kylin:performances_inventory:ticket:id:571907440470466561438090:surplusGeneral"
,
"kylin:performances_inventory:ticket:id:571910454067650563092295:surplusGeneral"
,
};
for
(
String
key
:
keys
)
{
long
value
=
key
.
hashCode
();
...
...
liquidnet-bus-service/liquidnet-service-merchant/liquidnet-service-merchant-impl/src/main/java/com/liquidnet/service/merchant/util/MongoMerchantUtils.java
View file @
b3164e8e
...
...
@@ -263,7 +263,7 @@ public class MongoMerchantUtils {
MerchantAuthorizationConst
.
PerformancePermission
.
READ
.
getId
(),
MerchantAuthorizationConst
.
PerformancePermission
.
SALES
.
getId
(),
MerchantAuthorizationConst
.
PerformancePermission
.
LINE
.
getId
())
)
.
with
(
Sort
.
by
(
orderBy
,
performancePartnerListParam
.
getOrderItem
()))
)
.
skip
(((
performancePartnerListParam
.
getPage
()
-
1
)
*
performancePartnerListParam
.
getSize
()))
.
limit
(
performancePartnerListParam
.
getSize
()),
MerchantAuthorizationPerformanceVo
.
class
,
MerchantAuthorizationPerformanceVo
.
class
.
getSimpleName
());
...
...
@@ -287,7 +287,7 @@ public class MongoMerchantUtils {
}
}
List
<
KylinPerformanceVo
>
performanceVos
=
mongoTemplate
.
find
(
Query
.
query
(
criteria
),
Query
.
query
(
criteria
.
orOperator
(
Criteria
.
where
(
"uid"
).
is
(
performancePartnerListParam
.
getMerchantId
()))).
with
(
Sort
.
by
(
orderBy
,
performancePartnerListParam
.
getOrderItem
())
),
KylinPerformanceVo
.
class
,
KylinPerformanceVo
.
class
.
getSimpleName
());
//查询销量
Aggregation
aggregation
=
Aggregation
.
newAggregation
(
...
...
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