jiangbiao преди 1 година
родител
ревизия
41ca7883d8
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      master/src/main/java/com/ruoyi/project/training/bccnew/controller/TTsNewController.java

+ 2 - 2
master/src/main/java/com/ruoyi/project/training/bccnew/controller/TTsNewController.java

@@ -227,7 +227,7 @@ public class TTsNewController extends BaseController {
         if (tTsNew.getPlanStatus() == 0) {
             return toAjax(tTsNewService.updateTTsNew(tTsNew));
         }
-        return toAjax(tTsNewService.updateTTsNew(tTsNew, getUserId(), getNickName()));
+        return toAjax(tTsNewService.updateTTsNew(tTsNew));
     }
 
     /**
@@ -278,7 +278,7 @@ public class TTsNewController extends BaseController {
         TTsNew tTsNew = tTsNewService.selectTTsNewById(newId);
         String appraisalFormWordPath = this.genAppraisalFormWord(tTsNew);
         tTsNew.setAppraisalFormWordPath(appraisalFormWordPath);
-        tTsNewService.updateTTsNew(tTsNew, getUserId(), getNickName());
+        tTsNewService.updateTTsNew(tTsNew);
         return AjaxResult.success(appraisalFormWordPath);
     }