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

Commit b9d95beb authored by jiangxiulong's avatar jiangxiulong

批量改成单哥执行

parent 3d30665d
......@@ -515,7 +515,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
// @Async
public void batchPlaceOrder(String performanceId) {
int count;
int limitNum = 10;
int limitNum = 1;
int mid = 0;
do {
List<KylinOrderTickets> orderList = kylinOrderTicketsMapper.getCanPlaceOrderList(performanceId, mid, limitNum);
......@@ -538,7 +538,7 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
// @Async
public void batchCancelOrder(String performanceId) {
int count;
int limitNum = 10;
int limitNum = 1;
int mid = 0;
do {
List<KylinOrderTickets> orderList = kylinOrderTicketsMapper.getCanCancelOrderList(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