package com.gkhy.safePlatform.specialWork.service.baseService;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.gkhy.safePlatform.specialWork.entity.WorkAtHeightInfo;
|
import com.gkhy.safePlatform.specialWork.model.query.WorkAtHeightQuery;
|
|
import java.util.List;
|
|
public interface WorkAtHeightInfoService extends IService<WorkAtHeightInfo> {
|
/**
|
* 新增
|
* @param workAtHeightInfo
|
* @return
|
*/
|
int saveOne(WorkAtHeightInfo workAtHeightInfo);
|
|
/**
|
* 修改
|
* @param workAtHeightInfo
|
* @return
|
*/
|
int updateOne(WorkAtHeightInfo workAtHeightInfo);
|
|
/**
|
* 单条删除
|
* @param id
|
* @return
|
*/
|
int updateStatusById(Long id);
|
|
/**
|
* 批量删除
|
* @param idList
|
* @return
|
*/
|
int updateStatutsByIds(List<Long> idList);
|
|
/**
|
* 根据id获取数据
|
* @param id
|
* @return
|
*/
|
// WorkAtHeightInfo getById(Long id);
|
|
/**
|
* 条件查询
|
* @param query
|
* @return
|
*/
|
List<WorkAtHeightInfo> getListByConditions(WorkAtHeightQuery query);
|
|
}
|