Helius
2021-03-11 a72aa4bb793ec765892406c842039a71b33215b1
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
package com.matrix.system.hive.dao;
 
import com.matrix.system.app.dto.FollowupListDto;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.hive.bean.SysFollowup;
 
/**
 * @description 跟进
 * @author 
 * @date 2021-01-10 15:15
 */
public interface SysFollowupDao{
 
    public int insert(@Param("item") SysFollowup sysFollowup);
       
       public int batchInsert(@Param("list") List<SysFollowup> sysFollowupList);
       
    public int updateByMap(Map<String, Object> modifyMap);
    
    public int updateByModel(@Param("record")SysFollowup sysFollowup);
    
    public int deleteByIds(@Param("list") List<String> list);
    
    public int deleteById(Long id);
 
    public int deleteByModel(@Param("record") SysFollowup sysFollowup);
    
    public List<SysFollowup> selectInPage(@Param("record") SysFollowup sysFollowup, @Param("pageVo") PaginationVO pageVo);
 
    public List<SysFollowup> selectByModel(@Param("record") SysFollowup sysFollowup);
    
    public int selectTotalRecord(@Param("record") SysFollowup sysFollowup);
    
    public SysFollowup  selectById(Long id);
    
    public SysFollowup  selectForUpdate(Long id);
 
    void updateZan(@Param("id")Long id, @Param("zans")String zans);
 
    List<SysFollowup> selectByAppDto(FollowupListDto followupListDto);
}