|
|
@@ -9,7 +9,6 @@ import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
@@ -34,7 +33,7 @@ public class SyncProductWIPTask {
|
|
|
|
|
|
//@Scheduled(cron = "0 0 2,8,14,20 * * ?")
|
|
|
//@Scheduled(cron = "0 0 2,8,14,20 * * ?")
|
|
|
- @Scheduled(cron = "0 0/2 * * * ?")
|
|
|
+ //@Scheduled(cron = "0 0/2 * * * ?")
|
|
|
public void SyncProductWIP() {
|
|
|
SqlRowList rs2 = baseDao.queryForRowSet("select TO_CHAR(SYSDATE,'HH24') v_hour,TO_CHAR(SYSDATE,'MI') v_mi from dual");
|
|
|
while(rs2.next()){
|