Эх сурвалжийг харах

【越加红】纷享销客 物料资料上传频率改为每5分钟200条

wub 3 жил өмнө
parent
commit
1507549c9a

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

@@ -34,7 +34,7 @@ public class ProductTask {
 
     @Scheduled(cron = "0 0/5 * * * ?")
     public void syncProducts() {
-        SqlRowList rs = baseDao.queryForRowSet("select * from (select * from product where nvl(pr_statuscode,' ')='AUDITED' and nvl(pr_sendstatus,' ')='待上传' order by pr_id) where rownum<=100");
+        SqlRowList rs = baseDao.queryForRowSet("select * from (select * from product where nvl(pr_statuscode,' ')='AUDITED' and nvl(pr_sendstatus,' ')='待上传' order by pr_id) where rownum<=200");
         while (rs.next()){
             List<Map<String,Object>> sku = new ArrayList<>();
             Map<String,Object> map = new HashMap<>();