fix:会议实体提交

pg_adapter
wangxy 8 months ago
parent 62fdb9599f
commit d1cd49e702

@ -0,0 +1,88 @@
package com.ruoyi.system.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
*
* @author 13560
* @TableName td_meeting
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TdMeeting implements Serializable {
/**
* id
*/
@TableId
private String id;
/**
*
*/
private String meetingTitle;
/**
*
*/
private Date meetingTime;
/**
*
*/
private String meetingAddress;
/**
*
*/
private Integer meetingUsernum;
/**
*
*/
private String meetingHost;
/**
*
*/
private String meetingType;
/**
*
*/
private String meetingState;
/**
*
*/
private String agenda;
/**
*
*/
private String summary;
/**
*
*/
private String fileId;
/**
*
*/
private String remarks;
/**
*
*/
private String fileName;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
}

@ -0,0 +1,18 @@
package com.ruoyi.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.TdMeeting;
/**
* @author 13560
* @description td_meetingMapper
* @createDate 2024-08-06 09:30:17
* @Entity generator.domain.TdMeeting
*/
public interface TdMeetingMapper extends BaseMapper<TdMeeting> {
}

@ -0,0 +1,13 @@
package com.ruoyi.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.TdMeeting;
/**
* @author 13560
* @description td_meetingService
* @createDate 2024-08-06 09:30:17
*/
public interface TdMeetingService extends IService<TdMeeting> {
}

@ -0,0 +1,22 @@
package com.ruoyi.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.TdMeeting;
import com.ruoyi.system.mapper.TdMeetingMapper;
import com.ruoyi.system.service.TdMeetingService;
import org.springframework.stereotype.Service;
/**
* @author 13560
* @description td_meetingService
* @createDate 2024-08-06 09:30:17
*/
@Service
public class TdMeetingServiceImpl extends ServiceImpl<TdMeetingMapper, TdMeeting>
implements TdMeetingService {
}

@ -0,0 +1,30 @@
<?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.system.mapper.TdMeetingMapper">
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.TdMeeting">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="meetingTitle" column="meeting_title" jdbcType="VARCHAR"/>
<result property="meetingTime" column="meeting_time" jdbcType="DATE"/>
<result property="meetingAddress" column="meeting_address" jdbcType="VARCHAR"/>
<result property="meetingUsernum" column="meeting_usernum" jdbcType="INTEGER"/>
<result property="meetingHost" column="meeting_host" jdbcType="VARCHAR"/>
<result property="meetingType" column="meeting_type" jdbcType="VARCHAR"/>
<result property="meetingState" column="meeting_state" jdbcType="VARCHAR"/>
<result property="agenda" column="agenda" jdbcType="VARCHAR"/>
<result property="summary" column="summary" jdbcType="VARCHAR"/>
<result property="fileId" column="file_id" jdbcType="VARCHAR"/>
<result property="remarks" column="remarks" jdbcType="VARCHAR"/>
<result property="fileName" column="file_name" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,meeting_title,meeting_time,
meeting_address,meeting_usernum,meeting_host,
meeting_type,meeting_state,agenda,
summary,file_id,remarks,
file_name
</sql>
</mapper>
Loading…
Cancel
Save