|
@@ -1,38 +1,19 @@
|
|
package com.diagbot.web;
|
|
package com.diagbot.web;
|
|
|
|
|
|
-import java.io.UnsupportedEncodingException;
|
|
|
|
-import java.text.SimpleDateFormat;
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
-import java.util.Date;
|
|
|
|
-import java.util.HashMap;
|
|
|
|
-import java.util.List;
|
|
|
|
-import java.util.Map;
|
|
|
|
-
|
|
|
|
-import javax.servlet.http.HttpServletRequest;
|
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
|
-
|
|
|
|
|
|
+import com.diagbot.annotation.SysLoggerExport;
|
|
|
|
+import com.diagbot.facade.UserFacade;
|
|
|
|
+import com.diagbot.vo.UserExportVO;
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
-import com.diagbot.annotation.SysLogger;
|
|
|
|
-import com.diagbot.dto.RespDTO;
|
|
|
|
-import com.diagbot.dto.UserInfoDTO;
|
|
|
|
-import com.diagbot.dto.UserInfoExportDTO;
|
|
|
|
-import com.diagbot.facade.UserFacade;
|
|
|
|
-import com.diagbot.util.DateUtil;
|
|
|
|
-import com.diagbot.util.ExportBeanExcelUtil;
|
|
|
|
-import com.diagbot.util.GsonUtil;
|
|
|
|
-import com.diagbot.vo.UserExportVO;
|
|
|
|
-
|
|
|
|
-import io.swagger.annotations.Api;
|
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author wangfeng
|
|
* @author wangfeng
|
|
@@ -50,7 +31,7 @@ public class ReportFormController {
|
|
|
|
|
|
@ApiOperation(value = "导出用户信息和机构信息:[by:wangfeng]", notes = "根据时间 导出用户信息和机构信息")
|
|
@ApiOperation(value = "导出用户信息和机构信息:[by:wangfeng]", notes = "根据时间 导出用户信息和机构信息")
|
|
@PostMapping("/exportUserInfo")
|
|
@PostMapping("/exportUserInfo")
|
|
- //@SysLogger("exportUserInfo")
|
|
|
|
|
|
+ @SysLoggerExport("exportUserInfo")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public void export(@RequestBody UserExportVO userExportVO,HttpServletRequest request,HttpServletResponse response)
|
|
public void export(@RequestBody UserExportVO userExportVO,HttpServletRequest request,HttpServletResponse response)
|
|
throws Exception {
|
|
throws Exception {
|