|
@ -76,7 +76,7 @@ public class TbsActivityController2 { |
|
|
* @param param |
|
|
* @param param |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("/getByIds/{ids}") |
|
|
@PostMapping("/getByIds") |
|
|
public R<List<TbsActivity>> getByIds(@RequestBody CommonIdsParam param){ |
|
|
public R<List<TbsActivity>> getByIds(@RequestBody CommonIdsParam param){ |
|
|
List<TbsActivity> activityList = tbsActivityService.listByIds(param.getIds()); |
|
|
List<TbsActivity> activityList = tbsActivityService.listByIds(param.getIds()); |
|
|
for (TbsActivity activity : activityList) { |
|
|
for (TbsActivity activity : activityList) { |
|
@ -94,7 +94,7 @@ public class TbsActivityController2 { |
|
|
@GetMapping("/flushAmount/{id}") |
|
|
@GetMapping("/flushAmount/{id}") |
|
|
@SysLog(module = SystemModule.Budget, title = "费用活动", biz = BizType.DELETE) |
|
|
@SysLog(module = SystemModule.Budget, title = "费用活动", biz = BizType.DELETE) |
|
|
public R<?> flushActivityAmount(@PathVariable("id") Long id){ |
|
|
public R<?> flushActivityAmount(@PathVariable("id") Long id){ |
|
|
Long[] ids = new Long[]{}; |
|
|
Long[] ids = new Long[]{id}; |
|
|
List<Long> errorIds = new ArrayList<>(); |
|
|
List<Long> errorIds = new ArrayList<>(); |
|
|
for (Long aLong : ids) { |
|
|
for (Long aLong : ids) { |
|
|
try { |
|
|
try { |
|
|