package com.sercurityControl.proteam.dutyTask.mapper; import com.sercurityControl.proteam.dutyTask.domain.DutyPersonEntity; import com.sercurityControl.proteam.dutyTask.domain.SchedulingPersonVo; import com.sercurityControl.proteam.dutyTask.domain.UserBandingVo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository("DutyMgeMapper") public interface DutyMgeMapper { /** * @return java.util.List * @author cw chen * @description 值班人员管理列表 * @Param entity * @date 2023-07-25 9:28 */ List getDutyPersonList(DutyPersonEntity entity); /** * @return int * @author cw chen * @description 验证某字段是否存在 * @Param param * @Param value * @date 2023-07-25 10:13 */ int isRepeat(@Param("param") String param, @Param("value") String value); /** * @return void * @author cw chen * @description 更新/修改 值班人员数据 * @Param entity * @date 2023-07-25 10:46 */ void addOrUpdateData(DutyPersonEntity entity); /** * @return void * @author cw chen * @description 删除值班人员数据 * @Param entity * @date 2023-07-25 10:52 */ void delData(DutyPersonEntity entity); /** * @return com.sercurityControl.proteam.dutyTask.domain.DutyPersonEntity * @author cw chen * @description 根据id获取值班人员详情数据 * @Param entity * @date 2023-07-25 10:56 */ DutyPersonEntity getPersonDataById(DutyPersonEntity entity); /** * @return java.util.List * @author cw chen * @description 根据岗位类型获取值班人员 * @Param entity * @date 2023-07-26 10:44 */ List getPersonByType(DutyPersonEntity entity); /** * @return void * @author cw chen * @description 新增人员排班表 * @Param item * @date 2023-07-27 15:21 */ void addSchedulingPersonData(SchedulingPersonVo item); /** * @return java.util.List * @author cw chen * @description 根据日期获取排班人员表 * @Param vo * @date 2023-07-27 15:48 */ List getSchedulingPersonData(SchedulingPersonVo vo); /** * @return void * @author cw chen * @description 删除排班人员 * @Param s * @Param s1 * @date 2023-07-27 17:22 */ void delSchedulingPersonData(@Param("startTime") String startTime, @Param("endTime") String endTime); /** * @return java.util.List * @author cw chen * @description 根据日期获取当日排班人员 * @Param currentDay * @date 2023-07-28 15:15 */ List getSchedulingPersonByDate(String currentDay); /** * @return int * @author cw chen * @description 判断用户是否绑定 * @Param vo * @date 2023-07-28 15:28 */ int userIsBanding(SchedulingPersonVo vo); /** * @return void * @author cw chen * @description 登录用户绑定值班员 * @Param vo * @date 2023-07-28 15:39 */ void addUserBanding(UserBandingVo vo); /** * @return java.util.List * @author cw chen * @description 用户绑定值班员列表 * @Param vo * @date 2023-07-28 15:45 */ List getUserBandingList(UserBandingVo vo); /** * @return void * @author cw chen * @description 移除绑定的用户 * @Param vo * @date 2023-07-28 15:51 */ void removeUserBanding(UserBandingVo vo); /** * @param vo * @return int * @description 用户是否绑定值班员 * @author cwchen * @date 2024/1/22 14:14 */ int isBanding(UserBandingVo vo); /** * @param vo * @return int * @description 值班员是否被绑定 * @author cwchen * @date 2024/1/22 15:13 */ int isBanding2(UserBandingVo vo); }