| | |
| | | * 查询费用申请主列表 |
| | | */ |
| | | @ApiOperation("查询费用申请主列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceFund serviceFund) { |
| | | startPage(); |
| | |
| | | } |
| | | |
| | | @ApiOperation("查询费用申请主列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:list')") |
| | | @GetMapping(value = "/getInfo/{infoid}") |
| | | public AjaxResult getInfoByInfoId(@PathVariable("infoid") Long infoid) { |
| | | return AjaxResult.success(serviceFundService.getInfoByInfoId(infoid)); |
| | |
| | | * 导出费用申请主列表 |
| | | */ |
| | | @ApiOperation("导出费用申请主列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:export')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceFund serviceFund) { |
| | |
| | | * 获取费用申请主详细信息 |
| | | */ |
| | | @ApiOperation("获取费用申请主详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceFundService.getById(id)); |
| | |
| | | * 新增费用申请主 |
| | | */ |
| | | @ApiOperation("新增费用申请主") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:add')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 删除费用申请主 |
| | | */ |
| | | @ApiOperation("删除费用申请主") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:fund:remove')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | |
| | | throw new ServiceException("下载失败,用户信息出错", HttpStatus.NO_CONTENT); |
| | | } |
| | | ServiceExternalperson infoByUserNo = null; |
| | | if (StringUtils.isNotBlank(serviceFund.getUserno())) { |
| | | if (StringUtils.isNotBlank(serviceFund.getUserno()) && serviceFund.getApplytype().equals("5")) { |
| | | infoByUserNo = externalpersonService.getInfoByUserNo(serviceFund.getUserno()); |
| | | } |
| | | |