1 changed files with 0 additions and 84 deletions
@ -1,84 +0,0 @@ |
|||||||
/* |
|
||||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
|
||||||
* |
|
||||||
* Redistribution and use in source and binary forms, with or without |
|
||||||
* modification, are permitted provided that the following conditions are met: |
|
||||||
* |
|
||||||
* Redistributions of source code must retain the above copyright notice, |
|
||||||
* this list of conditions and the following disclaimer. |
|
||||||
* Redistributions in binary form must reproduce the above copyright |
|
||||||
* notice, this list of conditions and the following disclaimer in the |
|
||||||
* documentation and/or other materials provided with the distribution. |
|
||||||
* Neither the name of the dreamlu.net developer nor the names of its |
|
||||||
* contributors may be used to endorse or promote products derived from |
|
||||||
* this software without specific prior written permission. |
|
||||||
* Author: Chill 庄骞 (smallchill@163.com) |
|
||||||
*/ |
|
||||||
package com.logpm.basic.service; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|
||||||
import com.logpm.basic.entity.BasicTeamStaffEntity; |
|
||||||
import com.logpm.basic.vo.BasicTeamStaffVO; |
|
||||||
import com.logpm.basic.excel.BasicTeamStaffExcel; |
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import org.springblade.core.mp.base.BaseService; |
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
/** |
|
||||||
* 班组人员表 服务类 |
|
||||||
* |
|
||||||
* @author zhy |
|
||||||
* @since 2023-05-29 |
|
||||||
*/ |
|
||||||
public interface IBasicTeamStaffService extends BaseService<BasicTeamStaffEntity> { |
|
||||||
/** |
|
||||||
* 自定义分页 |
|
||||||
* |
|
||||||
* @param page |
|
||||||
* @param basicTeamStaff |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
IPage<BasicTeamStaffVO> selectBasicTeamStaffPage(IPage<BasicTeamStaffVO> page, BasicTeamStaffVO basicTeamStaff); |
|
||||||
|
|
||||||
|
|
||||||
/** |
|
||||||
* 导出数据 |
|
||||||
* |
|
||||||
* @param queryWrapper |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
List<BasicTeamStaffExcel> exportBasicTeamStaff(Wrapper<BasicTeamStaffEntity> queryWrapper); |
|
||||||
|
|
||||||
/** |
|
||||||
* 判断班组人员是否存在 |
|
||||||
* @param jobNumber |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
BasicTeamStaffEntity selectTeamStaffByJobNumber(String jobNumber); |
|
||||||
|
|
||||||
/** |
|
||||||
* 查询所有位被选择的班组人员 |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
List<BasicTeamStaffVO> selectAllNoChanceStaffList(); |
|
||||||
|
|
||||||
/** |
|
||||||
* 查询已被该班组选中的人员 |
|
||||||
* @param teamGroupId |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
List<BasicTeamStaffVO> selectReadyChancneStaffList(String teamGroupId); |
|
||||||
|
|
||||||
/** |
|
||||||
* 重置所有在当前班组下的人员 |
|
||||||
* @param id |
|
||||||
*/ |
|
||||||
void updateTeamGroupIdById(Long id); |
|
||||||
|
|
||||||
/** |
|
||||||
* 重新保存班组人员的关联信息 |
|
||||||
* @param id |
|
||||||
* @param staffs |
|
||||||
*/ |
|
||||||
void updateTeamGroupIdByTeamGroupIdAndList(Long id, List<BasicTeamStaffVO> staffs); |
|
||||||
} |
|
Loading…
Reference in new issue