From 166457f0e9b9ad03fd53dce21bd08e85b52209a9 Mon Sep 17 00:00:00 2001 From: admin <1628672303@qq.com> Date: Sat, 15 Apr 2023 16:35:53 +0800 Subject: [PATCH] 4-15 --- .../java/org/jeecg/modules/modulex/mapper/ModulexMapper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/mapper/ModulexMapper.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/mapper/ModulexMapper.java index b353e6c..203c24a 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/mapper/ModulexMapper.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/mapper/ModulexMapper.java @@ -3,6 +3,7 @@ package org.jeecg.modules.modulex.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Select; +import org.apache.ibatis.annotations.Update; import org.jeecg.modules.modulex.entity.Modulex; /** @@ -15,6 +16,7 @@ public interface ModulexMapper extends BaseMapper { @Select("SELECT realname FROM sys_user WHERE id = #{id}") String getRealName(String id); + @Update("update modulex set related_bean=#{tablex} where id = #{moduleId}") void setmodule(String tablex, String moduleId); }