| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:voucherSubjectSetting:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Integer id) |
| | | public AjaxResult getInfo(@PathVariable Integer id) |
| | | { |
| | | return AjaxResult.success(voucherSubjectSettingService.selectVoucherSubjectSettingById(id)); |
| | | VoucherSubjectSetting subject = voucherSubjectSettingService.selectVoucherSubjectSettingById(id); |
| | | if (subject != null && subject.getAccountingItems() != null) { |
| | | subject.setAccountingItemsDesc(subject.getAccountingItemsDesc()); |
| | | } |
| | | return AjaxResult.success(subject); |
| | | } |
| | | |
| | | /** |