|
@@ -146,15 +146,9 @@ public class crmUpgradeController extends BaseController {
|
|
|
* 导出档案入库列表
|
|
|
*/
|
|
|
@PreAuthorize("@ss.hasPermi('business:upgrade:workOrder:export')")
|
|
|
- @Log(title = "档案入库", businessType = BusinessType.EXPORT)
|
|
|
+ @Log(title = "基础版升级", businessType = BusinessType.EXPORT)
|
|
|
@RequestMapping("/export")
|
|
|
public void export(HttpServletResponse response, @RequestBody importCheckModelVo importCheckModelVo) throws NoSuchFieldException, IllegalAccessException, JsonProcessingException {
|
|
|
-// JSONObject jsonObject = new JSONObject();
|
|
|
-// ObjectMapper objectMapper = new ObjectMapper();
|
|
|
-// Map map = objectMapper.readValue(data,Map.class);
|
|
|
-//
|
|
|
-// jsonObject.put("data", data);
|
|
|
-// jsonObject.get("startMonth");
|
|
|
response.setHeader("Content-Disposition","attachment;filename"+"文件.xlsx");
|
|
|
ExcelUtil<exportModel> util = new ExcelUtil<>(exportModel.class);
|
|
|
if("1".equals(importCheckModelVo.getType())){
|