前端代码
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.roomroot.jwgl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.roomroot.jwgl.entity.JYSDLB;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
|
||||
/**
|
||||
* 教研室登录表 Mapper。
|
||||
*/
|
||||
@Mapper
|
||||
public interface JYSDLBMapper extends BaseMapper<JYSDLB> {
|
||||
|
||||
@Select("SELECT TRIM(b.\"教研室代号\") FROM \"教研室登录表\" b "
|
||||
+ "JOIN \"登录信息表\" a ON TRIM(a.\"编号\") = TRIM(b.\"登录信息编号\") "
|
||||
+ "WHERE TRIM(a.\"账号\") = #{username}")
|
||||
String selectResearchOfficeIdByAccount(@Param("username") String username);
|
||||
}
|
||||
Reference in New Issue
Block a user