|
@ -241,12 +241,12 @@ public class ScreenProjectController { |
|
|
* @date 2021/11/4 3:38 下午 |
|
|
* @date 2021/11/4 3:38 下午 |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("selectcategoryprojectlist/export") |
|
|
@PostMapping("selectcategoryprojectlist/export") |
|
|
public void selectProjectCategoryExport(@RequestBody CategoryProjectListFormDTO formDTO,/*@LoginUser*/ TokenDto tokenDto, HttpServletResponse response) throws Exception { |
|
|
public void selectProjectCategoryExport(@RequestBody CategoryProjectListFormDTO formDTO,@LoginUser TokenDto tokenDto, HttpServletResponse response) throws Exception { |
|
|
tokenDto.setUserId("36bc0fb38565ecdebf8ab9b476b44548"); |
|
|
//tokenDto.setUserId("36bc0fb38565ecdebf8ab9b476b44548");
|
|
|
tokenDto.setCustomerId("45687aa479955f9d06204d415238f7cc"); |
|
|
//tokenDto.setCustomerId("45687aa479955f9d06204d415238f7cc");
|
|
|
formDTO.setIsPage(false); |
|
|
formDTO.setIsPage(false); |
|
|
formDTO.setStatus("all"); |
|
|
//formDTO.setStatus("all");
|
|
|
formDTO.setCategoryCode("0102"); |
|
|
//formDTO.setCategoryCode("0102");
|
|
|
ValidatorUtils.validateEntity(formDTO, ProjectCategoryFormDTO.CategoryProjectExportForm.class); |
|
|
ValidatorUtils.validateEntity(formDTO, ProjectCategoryFormDTO.CategoryProjectExportForm.class); |
|
|
PageCategoryProjectListResultDTO data = screenProjectService.selectCategoryProjectList(formDTO,tokenDto); |
|
|
PageCategoryProjectListResultDTO data = screenProjectService.selectCategoryProjectList(formDTO,tokenDto); |
|
|
String templatePath = "excel/project_temp.xlsx"; |
|
|
String templatePath = "excel/project_temp.xlsx"; |
|
|