统计代码

This commit is contained in:
pan
2024-08-31 16:11:20 +08:00
parent d732771032
commit b6a66db6cb
20 changed files with 1252 additions and 10 deletions

View File

@@ -0,0 +1,64 @@
package com.rzdata.web.mapper;
import com.rzdata.web.domain.DownloadCount;
import java.util.List;
/**
* 工具下载统计Mapper接口
*
* @author 潘驰春
* @date 2024-08-31
*/
public interface DownloadCountMapper
{
/**
* 查询工具下载统计
*
* @param id 工具下载统计主键
* @return 工具下载统计
*/
public DownloadCount selectDownloadCountById(String id);
/**
* 查询工具下载统计列表
*
* @param downloadCount 工具下载统计
* @return 工具下载统计集合
*/
public List<DownloadCount> selectDownloadCountList(DownloadCount downloadCount);
/**
* 新增工具下载统计
*
* @param downloadCount 工具下载统计
* @return 结果
*/
public int insertDownloadCount(DownloadCount downloadCount);
/**
* 修改工具下载统计
*
* @param downloadCount 工具下载统计
* @return 结果
*/
public int updateDownloadCount(DownloadCount downloadCount);
/**
* 删除工具下载统计
*
* @param id 工具下载统计主键
* @return 结果
*/
public int deleteDownloadCountById(String id);
/**
* 批量删除工具下载统计
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteDownloadCountByIds(String[] ids);
List<DownloadCount> userDownList(DownloadCount downloadCount);
}

View File

@@ -3,6 +3,7 @@ package com.rzdata.web.mapper;
import com.rzdata.web.domain.Tool;
import java.util.List;
import java.util.Map;
/**
* 工具信息Mapper接口
@@ -63,4 +64,8 @@ public interface ToolMapper
* @return 结果
*/
public int deleteToolByToolIds(String[] toolIds);
List<Map<String, Object>> countToolType();
List<Map<String, Object>> toolSource();
List<Map<String, Object>> recordStatus();
}

View File

@@ -0,0 +1,77 @@
package com.rzdata.web.mapper;
import com.rzdata.web.domain.TzMessage;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 消息Mapper接口
*
* @author ja
* @date 2024-08-31
*/
public interface TzMessageMapper
{
/**
* 查询消息
*
* @param id 消息主键
* @return 消息
*/
public TzMessage selectTzMessageById(String id);
/**
* 查询消息列表
*
* @param tzMessage 消息
* @return 消息集合
*/
public List<TzMessage> selectTzMessageList(TzMessage tzMessage);
/**
* 新增消息
*
* @param tzMessage 消息
* @return 结果
*/
public int insertTzMessage(TzMessage tzMessage);
/**
* 修改消息
*
* @param tzMessage 消息
* @return 结果
*/
public int updateTzMessage(TzMessage tzMessage);
/**
* 删除消息
*
* @param id 消息主键
* @return 结果
*/
public int deleteTzMessageById(String id);
/**
* 批量删除消息
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteTzMessageByIds(String[] ids);
/**
* 更新所有的消息为已读
* @param tzMessage
* @return
*/
public int updateAllMarkedRead(TzMessage tzMessage);
/**
* 批量插入
* @param tzMessageList
* @return
*/
public int batchInsert(@Param("tzMessageList") List<TzMessage> tzMessageList);
}