大屏项目初始化
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user