| | |
| | | /** |
| | | * 查询邮件短信发送记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询邮件短信发送记录列表") |
| | | public AjaxResult list(@RequestParam(required = false) @ApiParam("体检号") String tjNum, |
| | |
| | | /** |
| | | * 导出邮件短信发送记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:export')") |
| | | @Log(title = "邮件短信发送记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出邮件短信发送记录列表") |
| | |
| | | /** |
| | | * 获取邮件短信发送记录详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "获取邮件短信发送记录详细信息") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | |
| | | * 新增邮件短信发送记录 |
| | | */ |
| | | @ApiOperation(value = "新增邮件短信发送记录") |
| | | @PreAuthorize("@ss.hasPermi('system:record:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:add')") |
| | | @Log(title = "邮件短信发送记录", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody TjSendRecord tjSendRecord) { |
| | |
| | | * 修改邮件短信发送记录 |
| | | */ |
| | | @ApiOperation(value = "修改邮件短信发送记录") |
| | | @PreAuthorize("@ss.hasPermi('system:record:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:edit')") |
| | | @Log(title = "邮件短信发送记录", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody TjSendRecord tjSendRecord) { |
| | |
| | | * 删除邮件短信发送记录 |
| | | */ |
| | | @ApiOperation(value = "删除邮件短信发送记录") |
| | | @PreAuthorize("@ss.hasPermi('system:record:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:remove')") |
| | | @Log(title = "邮件短信发送记录", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[] ids) { |