Newer
Older
huludao / src / main / java / com / newfiber / api / pc / service / PeopleSerivce.java
package com.newfiber.api.pc.service;

import com.baomidou.mybatisplus.service.IService;
import com.newfiber.api.core.commons.PageRequestObject;
import com.newfiber.api.core.commons.PageResultObject;
import com.newfiber.api.pc.dto.PeopleDto;
import com.newfiber.api.pc.dto.PeopleSerchDTO;
import com.newfiber.api.pc.model.meet.People;

/**
 * @Author:zzh
 * @CreateDate:2020/11/24 14:08
 * @Description:
 */
public interface PeopleSerivce extends IService<People>{
    /**
     * @Description: 方法是:分页查询人员信息
     * @param: peopleDTO 分页请求实体类
     * @return:
     * @author: 张鸿志
     * @data: 2020/12/16 14:19
     */
    PageResultObject<People> queryPage(PageRequestObject<PeopleSerchDTO> peopleDTO);

    /**
     * @Description: 方法是:添加人员配置
     * @param:  people 人员对象
     * @return: 
     * @author: 张鸿志
     * @data: 2020/12/16 14:20
     */
    void addPeople(People people);
    /**
     * @Description: 方法是:根据userno个job判断是否是重复职业
     * @param:
     * @return:
     * @author: 张鸿志
     * @data: 2021/1/14 9:11
     */
    boolean isRepeatJob(String userNo,String job);

}