| | |
| | | package com.zy.asrs.wms.system.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.zy.asrs.wms.system.entity.User; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Mapper |
| | | @Repository |
| | | public interface UserMapper extends BaseMapper<User> { |
| | | |
| | | List<User> selectPageRel(@Param("page") IPage<User> page, @Param("param") Map<String, Object> param); |
| | | |
| | | @InterceptorIgnore(tenantLine = "true") |
| | | User selectByUsername(@Param("username") String username, @Param("hostId") Long hostId); |
| | | |
| | | @InterceptorIgnore(tenantLine = "true") |
| | | User superGetById(@Param("id") Long id); |
| | | |
| | | } |
| | | package com.zy.asrs.wms.system.mapper;
|
| | |
|
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
| | | import com.baomidou.mybatisplus.core.metadata.IPage;
|
| | | import com.zy.asrs.wms.system.entity.User;
|
| | | import org.apache.ibatis.annotations.Mapper;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import org.springframework.stereotype.Repository;
|
| | |
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | @Mapper
|
| | | @Repository
|
| | | public interface UserMapper extends BaseMapper<User> {
|
| | |
|
| | | List<User> selectPageRel(@Param("page") IPage<User> page, @Param("param") Map<String, Object> param);
|
| | |
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | User selectByUsername(@Param("username") String username, @Param("hostId") Long hostId);
|
| | |
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | User superGetById(@Param("id") Long id);
|
| | |
|
| | | @InterceptorIgnore(tenantLine = "true")
|
| | | int removeByHostId(Long hostId);
|
| | |
|
| | | }
|