作者 dong

日志管理界面修正

... ... @@ -113,22 +113,22 @@ public class AiragLog implements Serializable {
private int ifSaveKnowledge;
// 新增:临时字段(非数据库字段)
@TableField(exist = false) // MyBatis-Plus 标记该字段不存在于数据库表中
@TableField(exist = false)
private String name;
// 新增:临时字段(非数据库字段)
@TableField(exist = false) // MyBatis-Plus 标记该字段不存在于数据库表中
@TableField(exist = false)
private String buttonName;
// 新增:临时字段(非数据库字段)
@TableField(exist = false) // MyBatis-Plus 标记该字段不存在于数据库表中
@TableField(exist = false)
private String createTime_begin;
// 新增:临时字段(非数据库字段)
@TableField(exist = false) // MyBatis-Plus 标记该字段不存在于数据库表中
@TableField(exist = false)
private String createTime_end;
// 新增:临时字段(非数据库字段)
@TableField(exist = false) // MyBatis-Plus 标记该字段不存在于数据库表中
@TableField(exist = false)
private String knowledgeId;
@TableField(exist = false) // MyBatis-Plus 标记该字段不存在于数据库表中
@TableField(exist = false)
private String createTimeStr;
}
... ...
... ... @@ -16,7 +16,6 @@ import java.util.Map;
* @Version: V1.0
*/
public interface AiragLogMapper extends BaseMapper<AiragLog> {
IPage<AiragLog> list1(@Param("param1")AiragLog airagLog, Page<AiragLog> page);
IPage<AiragLog> pageList(@Param("param1") AiragLog airagLog, Page<AiragLog> page);
... ...
... ... @@ -2,12 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.airag.app.mapper.AiragLogMapper">
<select id="list1"
resultType="org.jeecg.modules.airag.app.entity.AiragLog">
select * from airag_log
where model_id = #{param1.modelId}
</select>
<select id="pageList" resultType="org.jeecg.modules.airag.app.entity.AiragLog">
select
id, create_by, create_time,
... ... @@ -19,8 +13,8 @@
<if test="param1.isStorage != null and param1.isStorage != -1">
and is_storage = #{param1.isStorage}
</if>
<if test="param1.name != '' and param1.name != null">
and model_id = #{param1.name}
<if test="param1.modelId != '' and param1.modelId != null">
and model_id = #{param1.modelId}
</if>
<if test="param1.question != '' and param1.question != null">
and question LIKE CONCAT('%', #{param1.question}, '%')
... ...
... ... @@ -23,8 +23,6 @@ public interface IAiragLogService extends IService<AiragLog> {
void saveToEmbeddingLibrary(AiragLog log) throws JsonProcessingException;
IPage<AiragLog> list1(AiragLog airagLog,Page<AiragLog> page);
IPage<AiragLog> pageList(AiragLog airagLog, Page<AiragLog> page);
Map<String, Object> getStatistics(String rangeType, String startTime, String endTime);
... ...
... ... @@ -90,11 +90,6 @@ public class AiragLogServiceImpl extends ServiceImpl<AiragLogMapper, AiragLog> i
}
@Override
public IPage<AiragLog> list1(AiragLog airagLog,Page<AiragLog> page) {
return airagLogMapper.list1(airagLog,page);
}
@Override
public IPage<AiragLog> pageList(AiragLog airagLog, Page<AiragLog> page) {
return airagLogMapper.pageList(airagLog,page);
}
... ...