feat(情报板发布日志服务层接口):
This commit is contained in:
parent
02f1a6168d
commit
bf656004ce
|
@ -0,0 +1,52 @@
|
||||||
|
package com.ruoyi.board.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发布日志记录
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName(value = "pub_release_log")
|
||||||
|
public class ReleaseLog {
|
||||||
|
/**
|
||||||
|
* 主键ID
|
||||||
|
*/
|
||||||
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 操作人
|
||||||
|
*/
|
||||||
|
@TableField(value = "`operator`")
|
||||||
|
private String operator;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@TableField(value = "create_time")
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 情报板ID
|
||||||
|
*/
|
||||||
|
@TableField(value = "board_id")
|
||||||
|
private Integer boardId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 情报板名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "board_name")
|
||||||
|
private String boardName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发布内容
|
||||||
|
*/
|
||||||
|
@TableField(value = "release_content")
|
||||||
|
private String releaseContent;
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
package com.ruoyi.board.mapper;
|
||||||
|
|
||||||
|
import com.github.yulichang.base.MPJBaseMapper;
|
||||||
|
import com.ruoyi.board.domain.ReleaseLog;
|
||||||
|
|
||||||
|
public interface ReleaseLogMapper extends MPJBaseMapper<ReleaseLog> {
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
package com.ruoyi.board.service;
|
||||||
|
|
||||||
|
import com.github.yulichang.base.MPJBaseService;
|
||||||
|
import com.ruoyi.board.domain.ReleaseLog;
|
||||||
|
|
||||||
|
public interface IReleaseLogService extends MPJBaseService<ReleaseLog> {
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
package com.ruoyi.board.service.impl;
|
||||||
|
|
||||||
|
import com.github.yulichang.base.MPJBaseServiceImpl;
|
||||||
|
import com.ruoyi.board.domain.ReleaseLog;
|
||||||
|
import com.ruoyi.board.mapper.ReleaseLogMapper;
|
||||||
|
import com.ruoyi.board.service.IReleaseLogService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class ReleaseLogServiceImpl extends MPJBaseServiceImpl<ReleaseLogMapper, ReleaseLog> implements IReleaseLogService {
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.board.mapper.ReleaseLogMapper">
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue