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