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

Commit 0ce021e5 authored by jiangxiulong's avatar jiangxiulong

批量数量改成10

parent 765cf204
...@@ -531,7 +531,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres ...@@ -531,7 +531,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
// @Async // @Async
public void batchPlaceOrder(String performanceId) { public void batchPlaceOrder(String performanceId) {
int count; int count;
int limitNum = 1; int limitNum = 10; // 因单个那边判断了如果数量不大于1如果有错误直接返回 所以这里必须大于1
int mid = 0; int mid = 0;
do { do {
List<KylinOrderTickets> orderList = kylinOrderTicketsMapper.getCanPlaceOrderList(performanceId, mid, limitNum); List<KylinOrderTickets> orderList = kylinOrderTicketsMapper.getCanPlaceOrderList(performanceId, mid, limitNum);
...@@ -554,7 +554,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres ...@@ -554,7 +554,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
// @Async // @Async
public void batchCancelOrder(String performanceId) { public void batchCancelOrder(String performanceId) {
int count; int count;
int limitNum = 1; int limitNum = 10; // 因单个那边判断了如果数量不大于1如果有错误直接返回 所以这里必须大于1
int mid = 0; int mid = 0;
do { do {
List<KylinOrderExpress> expressList = kylinOrderExpressMapper.getCanCancelExpressList(performanceId, mid, limitNum); List<KylinOrderExpress> expressList = kylinOrderExpressMapper.getCanCancelExpressList(performanceId, mid, limitNum);
......
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