| | |
| | | */ |
| | | @ApiOperation("修改报销申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") |
| | | @Log(title = "修改申请明细", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/updateRDlList") |
| | | public AjaxResult updateRDlList(@RequestBody List<ServiceReimbursementdetail> serviceReimbursementdetails) |
| | | { |
| | | for (ServiceReimbursementdetail serviceReimbursementdetail:serviceReimbursementdetails) { |
| | | |
| | | if(serviceReimbursementdetail.getId()!=null) { |
| | | serviceReimbursementdetailService.updateById(serviceReimbursementdetail); |
| | | }else { |
| | | //如果ID为空,则要新增 |
| | | add(serviceReimbursementdetail); |
| | | } |
| | | } |
| | | // return toAjax("null"); |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * 修改报销申请明细 |
| | | */ |
| | | @ApiOperation("修改报销申请明细") |
| | | //@PreAuthorize("@ss.hasPermi('project:reimbursementdetail:edit')") |
| | | @Log(title = "报销申请明细", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | //@RepeatSubmit |