Commit 06c3d217 authored by fangxinjiang's avatar fangxinjiang

项目配置限制项日志调整-fxj

parent 6b4c989e
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 项目配置刷新日志表
*
* @author system
* @date 2026-05-19
*/
@Data
@TableName("t_auto_main_rel_refresh_log")
@Schema(description = "项目配置刷新日志表")
public class TAutoMainRelRefreshLog extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@Schema(description = "主键")
private String id;
/**
* 项目配置ID
*/
@Schema(description = "项目配置ID")
private String configId;
/**
* 项目编码
*/
@Schema(description = "项目编码")
private String deptNo;
/**
* 状态: START/SUCCESS/ERROR/EXCEPTION
*/
@Schema(description = "状态: START/SUCCESS/ERROR/EXCEPTION")
private String status;
/**
* 刷新结果描述
*/
@Schema(description = "刷新结果描述")
private String result;
/**
* 刷新耗时(毫秒)
*/
@Schema(description = "刷新耗时(毫秒)")
private Long duration;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRelRefreshLog;
import org.apache.ibatis.annotations.Mapper;
/**
* 项目配置刷新日志表
*
* @author system
* @date 2026-05-19
*/
@Mapper
public interface TAutoMainRelRefreshLogMapper extends BaseMapper<TAutoMainRelRefreshLog> {
}
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yifu.cloud.plus.v1.yifu.archives.mapper.TAutoMainRelRefreshLogMapper">
<resultMap id="tAutoMainRelRefreshLogMap" type="com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRelRefreshLog">
<id property="id" column="ID"/>
<result property="configId" column="CONFIG_ID"/>
<result property="deptNo" column="DEPT_NO"/>
<result property="status" column="STATUS"/>
<result property="result" column="RESULT"/>
<result property="duration" column="DURATION"/>
<!-- BaseEntity 字段 -->
<result property="createName" column="CREATE_NAME"/>
<result property="createBy" column="CREATE_BY"/>
<result property="createTime" column="CREATE_TIME"/>
<result property="updateBy" column="UPDATE_BY"/>
<result property="updateTime" column="UPDATE_TIME"/>
</resultMap>
<sql id="Base_Column_List">
a.ID,
a.CONFIG_ID,
a.DEPT_NO,
a.STATUS,
a.RESULT,
a.DURATION,
a.CREATE_NAME,
a.CREATE_BY,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME
</sql>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment