记得上下班打卡 | git大法好,push需谨慎

Commit b3164e8e authored by 胡佳晨's avatar 胡佳晨

修改 场地审核演出相关

parent de716bb8
......@@ -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();
......
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment