|
@@ -5,12 +5,10 @@ import com.fjhx.wms.entity.monthly.dto.MonthlyInventoryReportSelectDto;
|
|
import com.fjhx.wms.entity.monthly.vo.MonthlyInventoryReportVo;
|
|
import com.fjhx.wms.entity.monthly.vo.MonthlyInventoryReportVo;
|
|
import com.fjhx.wms.service.monthly.MonthlyInventoryReportService;
|
|
import com.fjhx.wms.service.monthly.MonthlyInventoryReportService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
+import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -37,6 +35,14 @@ public class MonthlyInventoryReportController {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * 获取日报已有年份列表
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/getYearList")
|
|
|
|
+ public List<String> getYearList() {
|
|
|
|
+ return monthlyInventoryReportService.getYearList();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
* Excel导出
|
|
* Excel导出
|
|
*/
|
|
*/
|
|
@PostMapping("/exportExcel")
|
|
@PostMapping("/exportExcel")
|