|
|
@ -295,5 +295,15 @@ public class TbsBudgetController { |
|
|
|
TbsBudget budget = tbsBudgetService.getById(id); |
|
|
|
return R.ok(tbsBudgetService.getEntityForExcel(budget)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 迁移成本中心 |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@GetMapping("/moveCenter") |
|
|
|
public R<?> test(String sourceId,String sourceType,String targetId,String targetType){ |
|
|
|
tbsBudgetService.moveCenterBudgetAndCostAmount(sourceId,sourceType,targetId,targetType); |
|
|
|
return R.ok(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|