瀏覽代碼

记录删除日志

夏文涛 1 年之前
父節點
當前提交
7586c62bce
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/template/controller/WelcomeStudentController.java

+ 1 - 1
src/main/java/com/template/controller/WelcomeStudentController.java

@@ -790,7 +790,7 @@ public class WelcomeStudentController implements WelcomeStudentControllerAPI {
     @Override
     @Override
     @Transactional(rollbackFor = {Exception.class})
     @Transactional(rollbackFor = {Exception.class})
     public CommonResult deleteStudentInfo(int id) throws Exception {
     public CommonResult deleteStudentInfo(int id) throws Exception {
-
+        System.out.println("删除了学生信息:"+id);
         WelcomeStudent ws = welcomeStudentService.getManageById(id);
         WelcomeStudent ws = welcomeStudentService.getManageById(id);
         if (ws == null) {
         if (ws == null) {
             return CommonResult.fail("学生信息已失效,无法进行删除操作!");
             return CommonResult.fail("学生信息已失效,无法进行删除操作!");