Redeem преди 1 година
родител
ревизия
1eed0a8259
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/main/java/com/steerinfo/dil/service/impl/AmsSaleOrderServiceImpl.java

+ 2 - 1
src/main/java/com/steerinfo/dil/service/impl/AmsSaleOrderServiceImpl.java

@@ -11,6 +11,7 @@ import com.steerinfo.dil.util.*;
 import com.steerinfo.framework.utils.base.StringUtils;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
@@ -3279,7 +3280,7 @@ public class AmsSaleOrderServiceImpl implements IAmsSaleOrderService {
     }
 
     @ApiOperation("定时获取制单日期")
-    //@Scheduled(fixedRate = 20 * 60 * 1000)
+    @Scheduled(fixedRate = 20 * 60 * 1000)
     public void getMakeDateTime() {
         Map<String, Object> Map = new HashMap<>();
         getEasPrimaryIds(Map);