| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.dsh.guns.core.dataScope.DataScope; |
| | | import com.dsh.guns.modular.system.model.User; |
| | | import com.dsh.guns.modular.system.model.UserListVO; |
| | | import com.dsh.guns.modular.system.model.UserQuery; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | Integer getMenuNumByRole(@Param("roleStr") String roleStr); |
| | | |
| | | |
| | | |
| | | List<Map<String,Object>> getUserListPage(@Param("page") Page<Map<String, Object>> page, |
| | | @Param("dataScope") DataScope dataScope, |
| | | @Param("name") String name, |
| | | @Param("beginTime") String beginTime, |
| | | @Param("endTime") String endTime, |
| | | @Param("deptid") Integer deptid); |
| | | } |
| | | @Param("deptid") Integer deptid, |
| | | @Param("objectType") Integer objectType, |
| | | @Param("objectId") Integer objectId); |
| | | |
| | | List<UserListVO> searchUsers(@Param("query") UserQuery userQuery); |
| | | |
| | | void deleteStoreRelations(@Param("userId") Integer userId); |
| | | |
| | | void insertStoreRelation(@Param("id") Long id, @Param("userId") Integer userId, @Param("storeId") Integer storeId); |
| | | |
| | | List<Integer> getStoreIdsByUserId(@Param("userId") Integer userId); |
| | | |
| | | /** 根据门店集合获取归属到这些门店的员工 ID,兼容新旧归属数据。 */ |
| | | List<Integer> getUserIdsByStoreIds(@Param("storeIds") List<Integer> storeIds); |
| | | |
| | | } |