|  |  | 
 |  |  |  | 
 |  |  | import java.util.Arrays; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | import com.ruoyi.common.annotation.NotRepeatCommit; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import org.springframework.security.access.prepost.PreAuthorize; | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("新增费用申请主") | 
 |  |  |     @Log(title = "费用申请主", businessType = BusinessType.INSERT) | 
 |  |  |     @PostMapping | 
 |  |  |     @RepeatSubmit | 
 |  |  |     @PostMapping("/add") | 
 |  |  |     @NotRepeatCommit(key = "param:arg[1]", value = 30000) | 
 |  |  |     public AjaxResult add(@RequestBody ServiceExpertexpense serviceExpertexpense) | 
 |  |  |     { | 
 |  |  |         return toAjax(serviceExpertexpenseService.save(serviceExpertexpense)); | 
 |  |  |         boolean save = serviceExpertexpenseService.save(serviceExpertexpense); | 
 |  |  |         return AjaxResult.success(serviceExpertexpense); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** |