liusheng
2024-07-22 9e99e7e192c62c2274f8f5362b354cbf55c3d80f
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementdetailSharedController.java
@@ -42,7 +42,7 @@
     * 查询报销申请明细列表
     */
    @ApiOperation("查询报销申请明细列表")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:list')")
    // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:list')")
    @GetMapping("/list")
    public TableDataInfo list(ServiceReimbursementdetailShared serviceReimbursementdetailShared)
    {
@@ -55,7 +55,7 @@
     * 导出报销申请明细列表
     */
    @ApiOperation("导出报销申请明细列表")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:export')")
    // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:export')")
    @Log(title = "报销申请明细", businessType = BusinessType.EXPORT)
    @GetMapping("/export")
    public AjaxResult export(ServiceReimbursementdetailShared serviceReimbursementdetailShared)
@@ -69,7 +69,7 @@
     * 获取报销申请明细详细信息
     */
    @ApiOperation("获取报销申请明细详细信息")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:query')")
    // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
@@ -80,20 +80,21 @@
     * 新增报销申请明细
     */
    @ApiOperation("新增报销申请明细")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')")
    // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')")
    @Log(title = "报销申请明细", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    @RepeatSubmit
    public AjaxResult add(@RequestBody ServiceReimbursementdetailShared serviceReimbursementdetailShared)
    {
        return toAjax(serviceReimbursementdetailSharedService.save(serviceReimbursementdetailShared));
        boolean save = serviceReimbursementdetailSharedService.save(serviceReimbursementdetailShared);
        return AjaxResult.success(serviceReimbursementdetailShared);
    }
    /**
     * 修改报销申请明细
     */
    @ApiOperation("修改报销申请明细")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')")
    // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')")
    @Log(title = "报销申请明细", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    @RepeatSubmit    
@@ -106,7 +107,7 @@
     * 删除报销申请明细
     */
    @ApiOperation("删除报销申请明细")
    @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')")
    // @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')")
    @Log(title = "报销申请明细", businessType = BusinessType.DELETE)
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)