Ver Fonte

导师带徒

jiangbiao há 1 ano atrás
pai
commit
41ca7883d8

+ 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);
     }