com.addplus.server.security.service.mapper.SysUserMapper Maven / Gradle / Ivy
The newest version!
package com.addplus.server.security.service.mapper;
import com.addplus.server.core.model.authority.data.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
public interface SysUserMapper extends BaseMapper {
@Select("SELECT\n" +
" count(id) \n" +
"FROM\n" +
" sys_user \n" +
"WHERE\n" +
" account = #{account}")
Integer getSysCountNum(@Param("account") String account);
}