|
|
@@ -2364,6 +2364,22 @@ public class Task {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ //同步当天未支付的支付明细
|
|
|
+ public void syncTodayNoPay(){
|
|
|
+ List<FsStorePayment> payments = storePaymentMapper.selectTodayNoPayList();
|
|
|
+ if (CollectionUtils.isNotEmpty(payments)) {
|
|
|
+ for (FsStorePayment storePayment : payments) {
|
|
|
+ try {
|
|
|
+ fsStorePaymentService.updateFsStorePaymentByDecryptForm(storePayment.getPaymentId());
|
|
|
+ Thread.sleep(1000);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.info("同步当天支付失败,订单号:{},{}", storePayment.getBusinessCode(),e.getMessage());
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 确定类型值
|
|
|
*/
|