|
@@ -52,6 +52,7 @@ import org.apache.poi.ss.util.CellRangeAddress;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.mock.web.MockMultipartFile;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
@@ -249,7 +250,7 @@ public class WarehousingOrderServiceImpl extends ServiceImpl<WarehousingOrderMap
|
|
|
* 每天16.30点更新
|
|
|
*/
|
|
|
@Transactional
|
|
|
-// @Scheduled(cron = "0 30 16 * * ?")
|
|
|
+ @Scheduled(cron = "0 30 16 * * ?")
|
|
|
public String addInfo() {
|
|
|
//当天零点
|
|
|
SimpleDateFormat now = new SimpleDateFormat("yyyy-MM-dd 16:30:00");
|