master
admin 2 years ago
parent 26864b959c
commit 166457f0e9
  1. 2
      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 com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.jeecg.modules.modulex.entity.Modulex; import org.jeecg.modules.modulex.entity.Modulex;
/** /**
@ -15,6 +16,7 @@ public interface ModulexMapper extends BaseMapper<Modulex> {
@Select("SELECT realname FROM sys_user WHERE id = #{id}") @Select("SELECT realname FROM sys_user WHERE id = #{id}")
String getRealName(String id); String getRealName(String id);
@Update("update modulex set related_bean=#{tablex} where id = #{moduleId}") @Update("update modulex set related_bean=#{tablex} where id = #{moduleId}")
void setmodule(String tablex, String moduleId); void setmodule(String tablex, String moduleId);
} }

Loading…
Cancel
Save