Commit 3ad13fed by fudahua

企业绑定门店

parent 50497566
......@@ -142,7 +142,7 @@ public class StoreRangeServiceImpl implements StoreRangeService {
* @param storeRelations
*/
private void insertStoreRelationBatch(List<TabStoreRelation> storeRelations) {
int batchSize = 500;
int batchSize = 1000;
int sumSize = storeRelations.size();
int count = (sumSize / batchSize) + ((sumSize % batchSize > 0) ? 1 : 0);
for (int i = 0; i < count; i++) {
......
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