代码重构

This commit is contained in:
2025-08-06 14:26:48 +08:00
parent 47258c9b35
commit b8761ef6bc
954 changed files with 111190 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
package com.gear.system.mapper;
import com.gear.common.core.mapper.BaseMapperPlus;
import com.gear.system.domain.SysPost;
import java.util.List;
/**
* 岗位信息 数据层
*
* @author Lion Li
*/
public interface SysPostMapper extends BaseMapperPlus<SysPostMapper, SysPost, SysPost> {
/**
* 根据用户ID获取岗位选择框列表
*
* @param userId 用户ID
* @return 选中岗位ID列表
*/
List<Long> selectPostListByUserId(Long userId);
/**
* 查询用户所属岗位组
*
* @param userName 用户名
* @return 结果
*/
List<SysPost> selectPostsByUserName(String userName);
}