wzy
2021-01-24 f7ea5773570beb5ad8c6efb5c1cf743294ee079b
zq-erp/src/main/java/com/matrix/system/hive/dao/SysFollowupDao.java
New file
@@ -0,0 +1,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);
}