2024-08-22 19:49:22 +08:00
|
|
|
package com.ics.admin.service;
|
|
|
|
|
|
|
|
import com.ics.admin.domain.WisdomStaff;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
2024-08-27 15:29:58 +08:00
|
|
|
import com.ics.common.core.domain.IcsCustomerStaff;
|
|
|
|
|
2024-08-22 19:49:22 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 房间用户关联Service接口
|
|
|
|
*
|
|
|
|
* @author ics
|
|
|
|
* @date 2024-08-21
|
|
|
|
*/
|
|
|
|
public interface IWisdomStaffService extends IService<WisdomStaff> {
|
|
|
|
/**
|
|
|
|
* 查询房间用户关联
|
|
|
|
*
|
|
|
|
* @param id 房间用户关联ID
|
|
|
|
* @return 房间用户关联
|
|
|
|
*/
|
|
|
|
WisdomStaff selectWisdomStaffById(Long id);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 查询房间用户关联列表
|
|
|
|
*
|
|
|
|
* @param wisdomStaff 房间用户关联
|
|
|
|
* @return 房间用户关联集合
|
|
|
|
*/
|
|
|
|
List<WisdomStaff> selectWisdomStaffList(WisdomStaff wisdomStaff);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 新增房间用户关联
|
|
|
|
*
|
|
|
|
* @param wisdomStaff 房间用户关联
|
|
|
|
* @return 结果
|
|
|
|
*/
|
|
|
|
int insertWisdomStaff(WisdomStaff wisdomStaff);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 修改房间用户关联
|
|
|
|
*
|
|
|
|
* @param wisdomStaff 房间用户关联
|
|
|
|
* @return 结果
|
|
|
|
*/
|
|
|
|
int updateWisdomStaff(WisdomStaff wisdomStaff);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 批量删除房间用户关联
|
|
|
|
*
|
|
|
|
* @param ids 需要删除的数据ID
|
|
|
|
* @return 结果
|
|
|
|
*/
|
|
|
|
int deleteWisdomStaffByIds(String ids);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 删除房间用户关联信息
|
|
|
|
*
|
|
|
|
* @param id 房间用户关联ID
|
|
|
|
* @return 结果
|
|
|
|
*/
|
|
|
|
int deleteWisdomStaffById(Long id);
|
|
|
|
|
|
|
|
int deleteWisdomStaffByRoomId(Long id);
|
|
|
|
|
|
|
|
List<Long> selectWisdomStaffListByRoomId(Long id);
|
|
|
|
|
|
|
|
List<Long> selectWisdomStaffByRoomId(Long id);
|
2024-08-27 15:29:58 +08:00
|
|
|
|
|
|
|
Integer selectByUserIdAndRoomId(Integer loginStaffId, String dataType);
|
|
|
|
|
|
|
|
List<WisdomStaff> selectListByUserIdAndRoomId(Integer loginStaffId, String s);
|
|
|
|
|
|
|
|
int selectOneByUserIdAndRoomId(Long userId, Long wisdomRoomId);
|
|
|
|
|
|
|
|
List<IcsCustomerStaff> selectListByReservationId(Long id);
|
|
|
|
|
|
|
|
Integer selectListByReservationIdAndUserId(Long reservationId, Long participantId);
|
2024-09-03 13:44:25 +08:00
|
|
|
|
|
|
|
Integer deleteWisdomStaffByReservationId(Long id);
|
2024-08-22 19:49:22 +08:00
|
|
|
}
|