| | |
| | | * 修改费用申请 |
| | | */ |
| | | @ApiOperation("修改费用申请") |
| | | //@PreAuthorize("@ss.hasPermi('project:fund:edit')") |
| | | @Log(title = "费用申请主", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/fundEdit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceFund serviceFund) { |
| | | public AjaxResult fundEdit(@RequestBody ServiceFund serviceFund) { |
| | | log.info("修改费用申请入参:{}", serviceFund); |
| | | List<ServiceFund> infoByInfoIdList = serviceFundService.queryInfoById(serviceFund); |
| | | log.info("修改费用申请,通过入参查询 serviceFundService.queryInfoById数据为空,入参:{}", infoByInfoIdList.size()); |
| | | if (CollectionUtils.isEmpty(infoByInfoIdList)) { |
| | | log.info("修改费用申请,通过入参查询 serviceFundService.queryInfoById数据为空,入参:{}", serviceFund); |
| | | return toAjax(false); |
| | | } |
| | | for (ServiceFund sf : infoByInfoIdList) { |
| | |
| | | } else { |
| | | serviceFund.setFlowlevel(sf.getBackflowlevel()); |
| | | boolean bret = serviceFundService.updateById(serviceFund); |
| | | log.info("serviceFundService.updateById返参:{}", bret); |
| | | // if (bret) { |
| | | // addReiSharedDatd(serviceFund, 2); |
| | | // } |