liusheng
2024-09-18 907641e56c2085aaa81f267946dc3e3e9fca73e7
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchivecontactController.java
@@ -35,7 +35,7 @@
     * 查询患者联系方式列表
     */
    @ApiOperation("查询患者联系方式列表")
    @PreAuthorize("@ss.hasPermi('system:archivecontact:list')")
    //@PreAuthorize("@ss.hasPermi('system:archivecontact:list')")
    @PostMapping("/selectPatArchivecontactList")
    public TableDataInfo selectPatArchivecontactlist(@RequestBody PatArchivecontact patArchivecontact) {
        PageUtils.startPageByPost(patArchivecontact.getPageNum(), patArchivecontact.getPageSize());
@@ -47,7 +47,7 @@
     * 导出患者联系方式列表
     */
    @ApiOperation("导出患者联系方式列表")
    @PreAuthorize("@ss.hasPermi('system:archivecontact:export')")
    //@PreAuthorize("@ss.hasPermi('system:archivecontact:export')")
    @Log(title = "患者联系方式", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, PatArchivecontact patArchivecontact) {
@@ -60,7 +60,7 @@
     * 获取患者联系方式详细信息
     */
    @ApiOperation("获取患者联系方式详细信息")
    @PreAuthorize("@ss.hasPermi('system:archivecontact:query')")
    //@PreAuthorize("@ss.hasPermi('system:archivecontact:query')")
    @GetMapping(value = "/getInfo/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return success(patArchivecontactService.selectPatArchivecontactById(id));
@@ -70,7 +70,7 @@
     * 新增患者联系方式
     */
    @ApiOperation("新增患者联系方式")
    @PreAuthorize("@ss.hasPermi('system:archivecontact:add')")
    //@PreAuthorize("@ss.hasPermi('system:archivecontact:add')")
    @Log(title = "患者联系方式", businessType = BusinessType.INSERT)
    @PostMapping("/add")
    public AjaxResult add(@RequestBody PatArchivecontact patArchivecontact) {
@@ -81,7 +81,7 @@
     * 修改患者联系方式
     */
    @ApiOperation("修改患者联系方式")
    @PreAuthorize("@ss.hasPermi('system:archivecontact:edit')")
    //@PreAuthorize("@ss.hasPermi('system:archivecontact:edit')")
    @Log(title = "患者联系方式", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    public AjaxResult edit(@RequestBody PatArchivecontact patArchivecontact) {
@@ -92,7 +92,7 @@
     * 删除患者联系方式
     */
    @ApiOperation("删除患者联系方式")
    @PreAuthorize("@ss.hasPermi('system:archivecontact:remove')")
    //@PreAuthorize("@ss.hasPermi('system:archivecontact:remove')")
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {
        return toAjax(patArchivecontactService.deletePatArchivecontactByIds(ids));