| | |
| | | return zfDoctorService.selectDoctorList(zfDoctor, pageNum, pageSize); |
| | | } |
| | | |
| | | @GetMapping("/type") |
| | | public AjaxResult listType(){ |
| | | return zfDoctorService.listType(); |
| | | } |
| | | |
| | | /** |
| | | * 获取导入模板 |
| | | */ |
| | |
| | | } |
| | | |
| | | |
| | | // /** |
| | | // * 导出家庭小医生记录列表 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | // @Log(title = "家庭小医生记录", businessType = BusinessType.EXPORT) |
| | | // @PostMapping("/export") |
| | | // public void export(HttpServletResponse response, ZfDoctor zfDoctor) |
| | | // { |
| | | // List<ZfDoctor> list = zfDoctorService.selectByCondition(zfDoctor); |
| | | // log.info("导出记录为:{}",list); |
| | | // ExcelUtil<ZfDoctor> util = new ExcelUtil<>(ZfDoctor.class); |
| | | // util.exportExcel(response, list, "家庭小医生记录数据"); |
| | | // } |
| | | /** |
| | | * 导出家庭小医生记录列表 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | @Log(title = "家庭小医生记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export/{ids}") |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ZfDoctor zfDoctor) |
| | | { |
| | | List<ZfDoctor> list = zfDoctorService.selectByCondition(zfDoctor); |
| | | log.info("导出记录为:{}",list); |
| | | ExcelUtil<ZfDoctor> util = new ExcelUtil<>(ZfDoctor.class); |
| | | util.exportExcel(response, list, "家庭小医生记录数据"); |
| | | } |
| | | /** |
| | | * 导出家庭小医生记录列表 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | @Log(title = "家庭小医生记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export1/{ids}") |
| | | public void export(HttpServletResponse response, @PathVariable Long[] ids) |
| | | { |
| | | List<ZfDoctor> list = zfDoctorService.selectByIds(ids); |