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