From 34cdc548e5dce6fa5ebdb3ec5fa4be02343076d1 Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Fri, 1 Nov 2024 09:03:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=BB=B4=E4=BF=AE=E5=95=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/system/system/TdIndentureController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdIndentureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdIndentureController.java index bcac3d0..270b517 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdIndentureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/system/TdIndentureController.java @@ -90,6 +90,7 @@ public class TdIndentureController extends BaseController { tdIndenture.setCreateStaffid(getLoginName()); tdIndenture.setCreateDate(new Date()); + tdIndenture.setDeptId(getSysUser().getDeptId()); return toAjax(tdIndentureService.insertTdIndenture(tdIndenture)); } @@ -114,6 +115,7 @@ public class TdIndentureController extends BaseController @ResponseBody public AjaxResult editSave(TdIndenture tdIndenture) { + tdIndenture.setDeptId(getSysUser().getDeptId()); return toAjax(tdIndentureService.updateTdIndenture(tdIndenture)); }