All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zznote.basecommon.service.TPostService Maven / Gradle / Ivy

The newest version!
package com.zznote.basecommon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zznote.basecommon.common.page.PageInfo;
import com.zznote.basecommon.common.page.PageQuery;
import com.zznote.basecommon.entity.system.TPost;

import java.util.List;

/**
 * 岗位信息表
 *
 * @author zhangzhen
 * @email [email protected]
 * @date 2022-04-12 17:04:17
 */
public interface TPostService extends IService {


    /**
     * 根据用户ID获取岗位选择框列表
     *
     * @param userId 用户ID
     * @return 选中岗位ID列表
     */
    List selectPostListByUserId(Long userId);

    PageInfo selectPagePostList(TPost post, PageQuery pageQuery);

    List selectPostList(TPost post);

    String checkPostNameUnique(TPost post);

    String checkPostCodeUnique(TPost post);

    int deletePostByIds(Long[] postIds);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy