|
@@ -1,41 +1,38 @@
|
|
|
package com.xjrsoft.module.student.controller;
|
|
|
|
|
|
+import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
|
import cn.hutool.core.bean.BeanUtil;
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
-import cn.hutool.core.util.StrUtil;
|
|
|
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
-import com.github.yulichang.query.MPJQueryWrapper;
|
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
|
-import com.xjrsoft.common.constant.GlobalConstant;
|
|
|
-import com.baomidou.mybatisplus.core.toolkit.StringPool;
|
|
|
+import com.xjrsoft.common.model.result.RT;
|
|
|
import com.xjrsoft.common.page.ConventPage;
|
|
|
import com.xjrsoft.common.page.PageOutput;
|
|
|
-import com.xjrsoft.common.model.result.RT;
|
|
|
import com.xjrsoft.common.utils.TreeUtil;
|
|
|
import com.xjrsoft.common.utils.VoToColumnUtil;
|
|
|
-import com.xjrsoft.module.organization.vo.PostTreeVo;
|
|
|
import com.xjrsoft.module.student.dto.AddBaseStudentBehaviorProjectDto;
|
|
|
-import com.xjrsoft.module.student.dto.UpdateBaseStudentBehaviorProjectDto;
|
|
|
-import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
|
-
|
|
|
import com.xjrsoft.module.student.dto.BaseStudentBehaviorProjectPageDto;
|
|
|
+import com.xjrsoft.module.student.dto.UpdateBaseStudentBehaviorProjectDto;
|
|
|
import com.xjrsoft.module.student.entity.BaseStudentBehaviorProject;
|
|
|
import com.xjrsoft.module.student.service.IBaseStudentBehaviorCategoryService;
|
|
|
import com.xjrsoft.module.student.service.IBaseStudentBehaviorProjectService;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentBehaviorProjectPageVo;
|
|
|
-
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentBehaviorProjectTreeVo;
|
|
|
import com.xjrsoft.module.student.vo.BaseStudentBehaviorProjectVo;
|
|
|
import com.xjrsoft.module.system.entity.DictionaryDetail;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.PutMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
@@ -134,7 +131,7 @@ public class BaseStudentBehaviorProjectController {
|
|
|
@ApiOperation(value = "删除学生操行分考核项目")
|
|
|
@SaCheckPermission("basestudentbehaviorproject:delete")
|
|
|
public RT<Boolean> delete(@Valid @RequestBody List<Long> ids) {
|
|
|
- return RT.ok(baseStudentBehaviorProjectService.removeBatchByIds(ids));
|
|
|
+ return RT.ok(baseStudentBehaviorProjectService.deleteDeepByIds(ids));
|
|
|
|
|
|
}
|
|
|
|