| | |
| | | import com.mzl.flower.service.flower.FlowerCategoryService; |
| | | import com.mzl.flower.service.menber.impl.GrowthValueDealService; |
| | | import com.mzl.flower.service.payment.*; |
| | | import com.mzl.flower.service.wallet.WalletBillRecordService; |
| | | import com.mzl.flower.thread.FlowerCategoryPriceThread; |
| | | import com.mzl.flower.utils.SmsUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections.CollectionUtils; |
| | | import org.apache.commons.lang3.time.DateFormatUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Profile; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private BaseService baseService; |
| | | |
| | | @Autowired |
| | | private WalletBillRecordService walletBillRecordService; |
| | | |
| | | |
| | | @Scheduled(cron = "1 1 0/2 * * ?") |
| | | public void calculateAvePrice() { |
| | |
| | | try { |
| | | paymentV3Service.checkTransferStatus(t); |
| | | settlementService.updateSettlementStatus(t.getId()); |
| | | //2024-10-24更新钱包提现信息 |
| | | walletBillRecordService.updateTransferStatus(t.getId()); |
| | | } catch (Exception e) { |
| | | log.error(e.getMessage(), e); |
| | | } |
| | |
| | | } |
| | | |
| | | @Scheduled(cron = "0 15 17 * * ?") |
| | | @Profile("prod") |
| | | public void DealSendMessageInfoBySupplier() { |
| | | log.info("供应商下单供货提示开始:" + DateFormatUtils.format(System.currentTimeMillis(), "yyyy-MM-dd HH:mm:ss")); |
| | | // 获取当前日期 |