From c5f04d7720063b4f7e9e8af1d8bf2c98d69417df Mon Sep 17 00:00:00 2001 From: liuxm <liuxm@fescotech.com> Date: 星期三, 15 五月 2024 08:59:52 +0800 Subject: [PATCH] 生产线管理 --- pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleSv.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleSv.java b/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleSv.java index ce9d298..14f39c5 100644 --- a/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleSv.java +++ b/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleSv.java @@ -49,6 +49,19 @@ return this.dao.deleteLogicById(id); } + /** + * 绂佺敤鎴栧惎鐢ㄨ鑹蹭俊鎭� + * @param id + * @param disabled + * @return + */ + public int disabled(Long id,Boolean disabled) { + BaRole role=new BaRole(); + role.id=id; + role.disabled=disabled; + return dao.updateByPrimaryKeySelective(role); + } + @Transactional public int update(BaRole role) { int count = dao.updateByPrimaryKeySelective(role); -- Gitblit v1.8.0