|
@@ -32,7 +32,9 @@ public class PlanController {
|
|
|
@DeleteMapping()
|
|
|
public R deletePlan(PlanBo bo){
|
|
|
List<String> planIds = bo.getPlanIds();
|
|
|
- return null;
|
|
|
+ int total = planIds.size();
|
|
|
+ int i = planService.deletePlan(planIds);
|
|
|
+ return R.ok("选择删除" + total + "个,成功删除" + i + "个");
|
|
|
}
|
|
|
|
|
|
@PutMapping()
|