zjh
2024-12-12 5f4847d23506f10f76bc5ba493880bb3b87df12c
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSendTemplateController.java
@@ -37,7 +37,7 @@
    /**
     * 查询邮件短信模板列表
     */
    @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:list')")
    //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:list')")
    @GetMapping("/list")
    public TableDataInfo list(TjSendTemplate tjSendTemplate) {
        startPage();
@@ -48,7 +48,7 @@
    /**
     * 导出邮件短信模板列表
     */
    @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:export')")
    //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:export')")
    @Log(title = "邮件短信模板", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, TjSendTemplate tjSendTemplate) {
@@ -60,7 +60,7 @@
    /**
     * 获取邮件短信模板详细信息
     */
    @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:query')")
    //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(tjSendTemplateService.selectTjSendTemplateById(id));
@@ -69,7 +69,7 @@
    /**
     * 新增邮件短信模板
     */
    @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:add')")
    //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:add')")
    @Log(title = "邮件短信模板", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody TjSendTemplate tjSendTemplate) {
@@ -79,7 +79,7 @@
    /**
     * 修改邮件短信模板
     */
    @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:edit')")
    //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:edit')")
    @Log(title = "邮件短信模板", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody TjSendTemplate tjSendTemplate) {
@@ -89,7 +89,7 @@
    /**
     * 删除邮件短信模板
     */
    @PreAuthorize("@ss.hasPermi('hosp:sendTemplate:remove')")
    //@PreAuthorize("@ss.hasPermi('hosp:sendTemplate:remove')")
    @Log(title = "邮件短信模板", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {