|
|
@@ -1542,14 +1542,11 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
|
|
|
FsStorePayment queryParam = new FsStorePayment();
|
|
|
queryParam.setStatus(0);//未支付
|
|
|
queryParam.setBeginTime(DateUtils.addDateDays(-1));
|
|
|
- queryParam.setEndTime(DateUtils.getNowDate().toString());
|
|
|
+ queryParam.setEndTime(DateUtils.getDate());
|
|
|
List<FsStorePayment> list = selectFsStorePaymentList(queryParam);
|
|
|
if (list != null && !list.isEmpty()) {
|
|
|
List<CompletableFuture<Void>> futures = new ArrayList<>();
|
|
|
for (FsStorePayment fsStorePayment : list) {
|
|
|
- if (fsStorePayment.getPayCode().equals("1974233163920048128")){
|
|
|
- System.out.println(fsStorePayment.getPayCode());
|
|
|
- }
|
|
|
CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
|
|
|
updateFsStorePaymentByDecryptForm(fsStorePayment.getPaymentId());
|
|
|
logger.info("定时任务:同步支付状态,payment_id:{}",fsStorePayment.getPaymentId());
|