郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.gkhy.safePlatform.specialWork.service.baseService;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.safePlatform.specialWork.entity.WorkHoistingInfo;
import com.gkhy.safePlatform.specialWork.model.query.WorkHoistingQuery;
 
import java.util.List;
 
public interface WorkHoistingInfoService extends IService<WorkHoistingInfo> {
    /**
     * 新增
     * @param workHoistingInfo
     * @return
     */
    int saveOne(WorkHoistingInfo workHoistingInfo);
 
    /**
     * 修改
     * @param workHoistingInfo
     * @return
     */
    int updateOne(WorkHoistingInfo workHoistingInfo);
 
    /**
     * 单条删除
     * @param id
     * @return
     */
    int updateStatusById(Long id);
 
    /**
     * 批量删除
     * @param idList
     * @return
     */
    int updateStatutsByIds(List<Long> idList);
 
    /**
     * 根据id获取数据
     * @param id
     * @return
     */
//    WorkHoistingInfo getById(Long id);
 
    /**
     * 条件查询
     * @param query
     * @return
     */
    List<WorkHoistingInfo> getListByConditions(WorkHoistingQuery query);
 
}