|
@@ -24,7 +24,6 @@ import com.fjhx.wms.service.stock.StockService;
|
|
|
import com.fjhx.wms.service.warehouse.WarehouseService;
|
|
|
import com.ruoyi.common.utils.wrapper.IWrapper;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
@@ -88,7 +87,7 @@ public class MonthlyInventoryReportServiceImpl extends ServiceImpl<MonthlyInvent
|
|
|
/**
|
|
|
* 每月1号的0:10:00执行自动生成上月报表
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 10 0 1 * ?")
|
|
|
+// @Scheduled(cron = "0 10 0 1 * ?")
|
|
|
@Transactional
|
|
|
public void generateReport() {
|
|
|
List<MonthlyInventoryReport> monthlyInventoryReportList = new ArrayList<>();
|