Browse Source

【华信科】【调试】

wub 1 year ago
parent
commit
853276aff8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/uas/eis/task/SaleMonthDataTask.java

+ 1 - 1
src/main/java/com/uas/eis/task/SaleMonthDataTask.java

@@ -87,7 +87,7 @@ public class SaleMonthDataTask {
     }
 
     //@Scheduled(cron = "0 0 1 * * ?")
-    @Scheduled(cron = "0 0/20 0 * * ?")
+    @Scheduled(cron = "0 0/15 * * * ?")
     public void syncUpdateSaleMonthData() {
        // SqlRowList rs = baseDao.queryForRowSet("select * from saleMonthData left join customer on SM_CUSTCODE=CU_CODE where nvl(cu_fxxkid,' ')<>' ' and nvl(SM_ISUPDATE,0)=-1 and (SM_YEARMONTH=case when to_char(sysdate,'dd')='01' then to_char(add_months(sysdate,-1),'yyyymm') else to_char(add_months(sysdate,0),'yyyymm') end) order by sm_id");
         SqlRowList rs = baseDao.queryForRowSet("select * from saleMonthData left join customer on SM_CUSTCODE=CU_CODE where nvl(cu_fxxkid,' ')<>' ' and nvl(SM_ISUPDATE,0)=-1 and SM_YEARMONTH  in ('202401','202402') order by sm_id");