大屏项目初始化

This commit is contained in:
2026-03-11 23:02:40 +08:00
parent ed212d6757
commit 0763e1cc40

View File

@@ -26,10 +26,10 @@ public class erpJobs {
@Resource @Resource
private ErpTransactionFlowService flowService; private ErpTransactionFlowService flowService;
@Scheduled(cron = "0 0 */2 * * ?") @Scheduled(cron = "10 */5 * * * ?")
public void updateErpIndex() { public void updateErpIndex() {
try { try {
final BigDecimal BUDGET_AMOUNT = new BigDecimal("3000"); final BigDecimal BUDGET_AMOUNT = new BigDecimal("4000");
QueryWrapper<ErpTransactionFlow> query = new QueryWrapper<>(); QueryWrapper<ErpTransactionFlow> query = new QueryWrapper<>();
query.eq("year_date", DateUtils.getCurrentYear()) query.eq("year_date", DateUtils.getCurrentYear())
.eq("month_date", DateUtils.getCurrentMonth()); .eq("month_date", DateUtils.getCurrentMonth());