package com.gkhy.safePlatform.specialWork.service.baseService; import com.baomidou.mybatisplus.extension.service.IService; import com.gkhy.safePlatform.specialWork.entity.WorkHotInfo; import com.gkhy.safePlatform.specialWork.model.query.db.WorkHotQuery; import java.util.List; public interface WorkHotInfoService extends IService { /** * 新增 */ int saveOne(WorkHotInfo workHotInfo); /** * 更新 * @param workHotInfo * @return */ int updateOne(WorkHotInfo workHotInfo); /** * 删除 - 单条 * @param id * @return */ int updateOneStatus(Long id); /** * 删除 - 批量 * @param ids * @return */ int batchUpdateStatus(List ids); /** * * @param query * @return */ List listWorkHot(WorkHotQuery query); }