|
@@ -54,18 +54,6 @@ public class InformRemindController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 导出提醒设置列表
|
|
|
- */
|
|
|
- @ApiOperation("导出提醒设置列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:remind:export')")
|
|
|
- @Log(title = "提醒设置", businessType = BusinessType.EXPORT)
|
|
|
- @GetMapping("/export")
|
|
|
- public AjaxResult<InformRemindVo> export(InformRemindQueryBo bo) {
|
|
|
- List<InformRemindVo> list = iInformRemindService.queryList(bo);
|
|
|
- ExcelUtil<InformRemindVo> util = new ExcelUtil<InformRemindVo>(InformRemindVo.class);
|
|
|
- return util.exportExcel(list, "提醒设置");
|
|
|
- }
|
|
|
|
|
|
/**
|
|
|
* 获取提醒设置详细信息
|
|
@@ -94,19 +82,9 @@ public class InformRemindController extends BaseController {
|
|
|
@ApiOperation("修改提醒设置")
|
|
|
@PreAuthorize("@ss.hasPermi('system:remind:edit')")
|
|
|
@Log(title = "提醒设置", businessType = BusinessType.UPDATE)
|
|
|
- @PutMapping()
|
|
|
+ @PostMapping("/edit")
|
|
|
public AjaxResult<Void> edit(@RequestBody InformRemindEditBo bo) {
|
|
|
return toAjax(iInformRemindService.updateByEditBo(bo) ? 1 : 0);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 删除提醒设置
|
|
|
- */
|
|
|
- @ApiOperation("删除提醒设置")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:remind:remove')")
|
|
|
- @Log(title = "提醒设置" , businessType = BusinessType.DELETE)
|
|
|
- @DeleteMapping("/{ids}")
|
|
|
- public AjaxResult<Void> remove(@PathVariable Long[] ids) {
|
|
|
- return toAjax(iInformRemindService.deleteWithValidByIds(Arrays.asList(ids), true) ? 1 : 0);
|
|
|
- }
|
|
|
}
|