郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
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);
}