liusheng
2024-05-22 9b44e841586ce281e4e3e9d7296d74b29939418b
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateflowchartController.java
@@ -43,7 +43,7 @@
     * 查询捐献流程列表
     */
    @ApiOperation("查询捐献流程")
    //@PreAuthorize("@ss.hasPermi('system:donateflowchart:list')")
    //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:list')")
    @GetMapping("/list")
    public TableDataInfo list(ServiceDonateflowchart serviceDonateflowchart) {
        startPage();
@@ -56,7 +56,7 @@
     * 导出捐献流程列表
     */
    @ApiOperation("导出捐献流程")
    //@PreAuthorize("@ss.hasPermi('system:donateflowchart:export')")
    //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:export')")
    @Log(title = "捐献流程", businessType = BusinessType.EXPORT)
    @GetMapping("/export")
    public AjaxResult export(ServiceDonateflowchart serviceDonateflowchart) {
@@ -69,7 +69,7 @@
     * 获取捐献流程详细信息
     */
    @ApiOperation("通过id获取捐献流程")
    //@PreAuthorize("@ss.hasPermi('system:donateflowchart:query')")
    //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return AjaxResult.success(serviceDonateflowchartService.getById(id));
@@ -79,19 +79,20 @@
     * 新增捐献流程
     */
    @ApiOperation("新增捐献流程")
    //@PreAuthorize("@ss.hasPermi('system:donateflowchart:add')")
    //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:add')")
    @Log(title = "捐献流程", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    @RepeatSubmit
    public AjaxResult add(@RequestBody ServiceDonateflowchart serviceDonateflowchart) {
        return toAjax(serviceDonateflowchartService.save(serviceDonateflowchart));
        boolean save = serviceDonateflowchartService.save(serviceDonateflowchart);
        return AjaxResult.success(serviceDonateflowchart);
    }
    /**
     * 修改捐献流程
     */
    @ApiOperation("修改捐献流程")
    //@PreAuthorize("@ss.hasPermi('system:donateflowchart:edit')")
    //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:edit')")
    @Log(title = "捐献流程", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    @RepeatSubmit
@@ -110,7 +111,7 @@
     * 删除捐献流程
     */
    @ApiOperation("删除捐献流程")
    //@PreAuthorize("@ss.hasPermi('system:donateflowchart:remove')")
    //// @PreAuthorize("@ss.hasPermi('system:donateflowchart:remove')")
    @Log(title = "捐献流程", businessType = BusinessType.DELETE)
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {