mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 19:29:52 +08:00
Merge branch 'dev' of codeup.aliyun.com:67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web into dev
This commit is contained in:
@@ -176,7 +176,7 @@ public class PaymentTestController {
|
||||
*/
|
||||
@Test
|
||||
public void refreshAdapayUnsplitRecordHandleFlagTestV2() {
|
||||
String paymentId = "002212025100511252110820751665557659648";
|
||||
String paymentId = "002212026021922271410870565370037276672";
|
||||
adapayUnsplitRecordHandleService.syncAndRefreshFlagsFromAdapay(paymentId, wechatAppId1);
|
||||
}
|
||||
|
||||
|
||||
@@ -759,5 +759,6 @@
|
||||
<!-- (refund_flag IS NULL OR refund_flag != 'SUCCESS')-->
|
||||
<!-- OR (split_flag IS NULL OR split_flag != 'SUCCESS')-->
|
||||
refund_flag IS NULL OR split_flag IS NULL
|
||||
order by pay_time
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@@ -23,14 +23,7 @@ import com.jsowell.pile.service.OrderBasicInfoService;
|
||||
import com.jsowell.pile.vo.AdapayUnsplitRecordVO;
|
||||
import com.jsowell.quartz.service.AdapayUnsplitRecordHandleService;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.apache.poi.ss.usermodel.Cell;
|
||||
import org.apache.poi.ss.usermodel.CellType;
|
||||
import org.apache.poi.ss.usermodel.DataFormatter;
|
||||
import org.apache.poi.ss.usermodel.DateUtil;
|
||||
import org.apache.poi.ss.usermodel.Row;
|
||||
import org.apache.poi.ss.usermodel.Sheet;
|
||||
import org.apache.poi.ss.usermodel.Workbook;
|
||||
import org.apache.poi.ss.usermodel.WorkbookFactory;
|
||||
import org.apache.poi.ss.usermodel.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -41,25 +34,14 @@ import java.math.BigDecimal;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@Service
|
||||
public class AdapayUnsplitRecordHandleServiceImpl implements AdapayUnsplitRecordHandleService {
|
||||
|
||||
private static final int IMPORT_BATCH_SIZE = 500;
|
||||
private static final int REFUND_WAIT_MAX_ATTEMPTS = 12;
|
||||
private static final int REFUND_WAIT_MAX_ATTEMPTS = 2;
|
||||
private static final long REFUND_WAIT_INTERVAL_MILLIS = 5000L;
|
||||
private static final int SYNC_THREAD_POOL_SIZE = 10;
|
||||
private static final String HANDLE_FLAG_SUCCESS = "SUCCESS";
|
||||
|
||||
Reference in New Issue
Block a user