| | |
| | | public AjaxResult add(@RequestBody ServiceReimbursement serviceReimbursement) { |
| | | |
| | | boolean b = serviceReimbursementService.save(serviceReimbursement); |
| | | if (b) { |
| | | addReiSharedDatd(serviceReimbursement, 1); |
| | | } |
| | | // if (b) { |
| | | // addReiSharedDatd(serviceReimbursement, 1); |
| | | // } |
| | | Long id = serviceReimbursement.getId(); |
| | | return AjaxResult.success(id); |
| | | } |
| | |
| | | @PostMapping("/editMoney") |
| | | public AjaxResult editMoney(@RequestBody List<ReimbursementService> serviceReimbursement) { |
| | | boolean b = serviceReimbursementService.updateById(null); |
| | | if (b) { |
| | | addReiSharedDatd(null, 2); |
| | | } |
| | | // if (b) { |
| | | // addReiSharedDatd(null, 2); |
| | | // } |
| | | return toAjax(b); |
| | | } |
| | | |