|
|
@@ -5,6 +5,7 @@ import com.usoftchina.smartschool.base.Result;
|
|
|
import com.usoftchina.smartschool.page.PageDefault;
|
|
|
import com.usoftchina.smartschool.page.PageRequest;
|
|
|
import com.usoftchina.smartschool.school.basic.service.CurriculumService;
|
|
|
+import com.usoftchina.smartschool.school.dto.BatchDealBaseDTO;
|
|
|
import com.usoftchina.smartschool.school.dto.CurriculumFormDTO;
|
|
|
import com.usoftchina.smartschool.school.dto.CurriculumListDTO;
|
|
|
import com.usoftchina.smartschool.school.dto.ListReqDTO;
|
|
|
@@ -51,6 +52,12 @@ public class CurriculumController {
|
|
|
return Result.success();
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/batchDelete")
|
|
|
+ public Result batchDelete(@RequestBody BatchDealBaseDTO baseDTOs){
|
|
|
+ curriculumService.batchDelete(baseDTOs);
|
|
|
+ return Result.success();
|
|
|
+ }
|
|
|
+
|
|
|
//导入保存至列表
|
|
|
@PostMapping("/saveToFormal")
|
|
|
public Result saveToFormal(Integer id, boolean update) {
|