| | |
| | | */ |
| | | @ApiOperation("导出患者满意度列表") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:satisfaction:export')") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @Log(title = "患者满意度", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatSatisfaction patSatisfaction) { |
| | | LoginUser loginUser = getLoginUser(); |
| | | String orgid = loginUser.getUser().getOrgid(); |
| | | String campusid = loginUser.getUser().getCampusid(); |
| | | patSatisfaction.setOrgid(orgid); |
| | | patSatisfaction.setCampusid(campusid); |
| | | |
| | | List<PatSatisfaction> list = patSatisfactionService.selectPatSatisfactionList(patSatisfaction); |
| | | ExcelUtil<PatSatisfaction> util = new ExcelUtil<PatSatisfaction>(PatSatisfaction.class); |
| | | util.exportExcel(response, list, "患者满意度数据"); |