添加表相关类
parent
cbd8032d93
commit
797c3257ac
@ -0,0 +1,41 @@
|
||||
package com.supervision.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 java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 系统二进制文件表
|
||||
* @TableName sys_byte_array
|
||||
*/
|
||||
@TableName(value ="sys_byte_array")
|
||||
@Data
|
||||
public class SysByteArray implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 二进制数据
|
||||
*/
|
||||
private Object bytes;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package com.supervision.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 java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @TableName sys_user
|
||||
*/
|
||||
@TableName(value ="sys_user")
|
||||
@Data
|
||||
public class SysUser implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 应用id
|
||||
*/
|
||||
private String appId;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String createUserId;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String updateUserId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package com.supervision.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 java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 音色表
|
||||
* @TableName voice_info
|
||||
*/
|
||||
@TableName(value ="voice_info")
|
||||
@Data
|
||||
public class VoiceInfo implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 音色码
|
||||
*/
|
||||
private String voiceCode;
|
||||
|
||||
/**
|
||||
* 音色名
|
||||
*/
|
||||
private String voiceName;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.mapper;
|
||||
|
||||
import com.supervision.domain.AgentDialogueLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【agent_dialogue_log(智能体对话日志)】的数据库操作Mapper
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
* @Entity com.supervision.domain.AgentDialogueLog
|
||||
*/
|
||||
public interface AgentDialogueLogMapper extends BaseMapper<AgentDialogueLog> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.mapper;
|
||||
|
||||
import com.supervision.domain.AgentInfo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【agent_info(智能体信息表)】的数据库操作Mapper
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
* @Entity com.supervision.domain.AgentInfo
|
||||
*/
|
||||
public interface AgentInfoMapper extends BaseMapper<AgentInfo> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.mapper;
|
||||
|
||||
import com.supervision.domain.DigitalHumanDialogueLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【digital_human_dialogue_log(数字人对话日志)】的数据库操作Mapper
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
* @Entity com.supervision.domain.DigitalHumanDialogueLog
|
||||
*/
|
||||
public interface DigitalHumanDialogueLogMapper extends BaseMapper<DigitalHumanDialogueLog> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.mapper;
|
||||
|
||||
import com.supervision.domain.DigitalHuman;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【digital_human(数字人信息)】的数据库操作Mapper
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
* @Entity com.supervision.domain.DigitalHuman
|
||||
*/
|
||||
public interface DigitalHumanMapper extends BaseMapper<DigitalHuman> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.mapper;
|
||||
|
||||
import com.supervision.domain.SysByteArray;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【sys_byte_array(系统二进制文件表)】的数据库操作Mapper
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
* @Entity com.supervision.domain.SysByteArray
|
||||
*/
|
||||
public interface SysByteArrayMapper extends BaseMapper<SysByteArray> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.supervision.mapper;
|
||||
|
||||
import com.supervision.domain.VoiceInfo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【voice_info(音色表)】的数据库操作Mapper
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
* @Entity com.supervision.domain.VoiceInfo
|
||||
*/
|
||||
public interface VoiceInfoMapper extends BaseMapper<VoiceInfo> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.service;
|
||||
|
||||
import com.supervision.domain.AgentDialogueLog;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【agent_dialogue_log(智能体对话日志)】的数据库操作Service
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
public interface AgentDialogueLogService extends IService<AgentDialogueLog> {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.service;
|
||||
|
||||
import com.supervision.domain.AgentInfo;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【agent_info(智能体信息表)】的数据库操作Service
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
public interface AgentInfoService extends IService<AgentInfo> {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.service;
|
||||
|
||||
import com.supervision.domain.DigitalHumanDialogueLog;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【digital_human_dialogue_log(数字人对话日志)】的数据库操作Service
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
public interface DigitalHumanDialogueLogService extends IService<DigitalHumanDialogueLog> {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.service;
|
||||
|
||||
import com.supervision.domain.DigitalHuman;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【digital_human(数字人信息)】的数据库操作Service
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
public interface DigitalHumanService extends IService<DigitalHuman> {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.service;
|
||||
|
||||
import com.supervision.domain.SysByteArray;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【sys_byte_array(系统二进制文件表)】的数据库操作Service
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
public interface SysByteArrayService extends IService<SysByteArray> {
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.service;
|
||||
|
||||
import com.supervision.domain.VoiceInfo;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【voice_info(音色表)】的数据库操作Service
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
public interface VoiceInfoService extends IService<VoiceInfo> {
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.domain.AgentDialogueLog;
|
||||
import com.supervision.service.AgentDialogueLogService;
|
||||
import com.supervision.mapper.AgentDialogueLogMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【agent_dialogue_log(智能体对话日志)】的数据库操作Service实现
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
@Service
|
||||
public class AgentDialogueLogServiceImpl extends ServiceImpl<AgentDialogueLogMapper, AgentDialogueLog>
|
||||
implements AgentDialogueLogService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.domain.AgentInfo;
|
||||
import com.supervision.service.AgentInfoService;
|
||||
import com.supervision.mapper.AgentInfoMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【agent_info(智能体信息表)】的数据库操作Service实现
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
@Service
|
||||
public class AgentInfoServiceImpl extends ServiceImpl<AgentInfoMapper, AgentInfo>
|
||||
implements AgentInfoService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.domain.DigitalHumanDialogueLog;
|
||||
import com.supervision.service.DigitalHumanDialogueLogService;
|
||||
import com.supervision.mapper.DigitalHumanDialogueLogMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【digital_human_dialogue_log(数字人对话日志)】的数据库操作Service实现
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
@Service
|
||||
public class DigitalHumanDialogueLogServiceImpl extends ServiceImpl<DigitalHumanDialogueLogMapper, DigitalHumanDialogueLog>
|
||||
implements DigitalHumanDialogueLogService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.domain.DigitalHuman;
|
||||
import com.supervision.service.DigitalHumanService;
|
||||
import com.supervision.mapper.DigitalHumanMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【digital_human(数字人信息)】的数据库操作Service实现
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
@Service
|
||||
public class DigitalHumanServiceImpl extends ServiceImpl<DigitalHumanMapper, DigitalHuman>
|
||||
implements DigitalHumanService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.domain.SysByteArray;
|
||||
import com.supervision.service.SysByteArrayService;
|
||||
import com.supervision.mapper.SysByteArrayMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【sys_byte_array(系统二进制文件表)】的数据库操作Service实现
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
@Service
|
||||
public class SysByteArrayServiceImpl extends ServiceImpl<SysByteArrayMapper, SysByteArray>
|
||||
implements SysByteArrayService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.domain.VoiceInfo;
|
||||
import com.supervision.service.VoiceInfoService;
|
||||
import com.supervision.mapper.VoiceInfoMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【voice_info(音色表)】的数据库操作Service实现
|
||||
* @createDate 2025-07-17 10:29:42
|
||||
*/
|
||||
@Service
|
||||
public class VoiceInfoServiceImpl extends ServiceImpl<VoiceInfoMapper, VoiceInfo>
|
||||
implements VoiceInfoService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,26 @@
|
||||
<?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.supervision.mapper.AgentDialogueLogMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.domain.AgentDialogueLog">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="userId" column="user_id" jdbcType="VARCHAR"/>
|
||||
<result property="conversationId" column="conversation_id" jdbcType="VARCHAR"/>
|
||||
<result property="userInput" column="user_input" jdbcType="VARCHAR"/>
|
||||
<result property="systemOut" column="system_out" jdbcType="VARCHAR"/>
|
||||
<result property="timeCost" column="time_cost" jdbcType="BIGINT"/>
|
||||
<result property="answerType" column="answer_type" jdbcType="INTEGER"/>
|
||||
<result property="agentId" column="agent_id" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,user_id,conversation_id,
|
||||
user_input,system_out,time_cost,
|
||||
answer_type,agent_id,create_time,
|
||||
update_time
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,22 @@
|
||||
<?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.supervision.mapper.AgentInfoMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.domain.AgentInfo">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="agentCode" column="agent_code" jdbcType="VARCHAR"/>
|
||||
<result property="agentName" column="agent_name" jdbcType="VARCHAR"/>
|
||||
<result property="agentDesc" column="agent_desc" jdbcType="VARCHAR"/>
|
||||
<result property="adapterStatus" column="adapter_status" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,agent_code,agent_name,
|
||||
agent_desc,adapter_status,create_time,
|
||||
update_time
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,24 @@
|
||||
<?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.supervision.mapper.DigitalHumanDialogueLogMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.domain.DigitalHumanDialogueLog">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="digitalHumanId" column="digital_human_id" jdbcType="VARCHAR"/>
|
||||
<result property="userId" column="user_id" jdbcType="VARCHAR"/>
|
||||
<result property="userInput" column="user_input" jdbcType="VARCHAR"/>
|
||||
<result property="systemOut" column="system_out" jdbcType="VARCHAR"/>
|
||||
<result property="timeCost" column="time_cost" jdbcType="VARCHAR"/>
|
||||
<result property="answerType" column="answer_type" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,digital_human_id,user_id,
|
||||
user_input,system_out,time_cost,
|
||||
answer_type,create_time,update_time
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,26 @@
|
||||
<?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.supervision.mapper.DigitalHumanMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.domain.DigitalHuman">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="modelName" column="model_name" jdbcType="VARCHAR"/>
|
||||
<result property="industry" column="industry" jdbcType="VARCHAR"/>
|
||||
<result property="goodAt" column="good_at" jdbcType="VARCHAR"/>
|
||||
<result property="defaultVoiceId" column="default_voice_id" jdbcType="VARCHAR"/>
|
||||
<result property="onlineStatus" column="online_status" jdbcType="VARCHAR"/>
|
||||
<result property="modelType" column="model_type" jdbcType="VARCHAR"/>
|
||||
<result property="headPicId" column="head_pic_id" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,model_name,industry,
|
||||
good_at,default_voice_id,online_status,
|
||||
model_type,head_pic_id,create_time,
|
||||
update_time
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?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.supervision.mapper.SysByteArrayMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.domain.SysByteArray">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="bytes" column="bytes" jdbcType="OTHER"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,bytes,create_time,
|
||||
update_time
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,19 @@
|
||||
<?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.supervision.mapper.VoiceInfoMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.domain.VoiceInfo">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="voiceCode" column="voice_code" jdbcType="VARCHAR"/>
|
||||
<result property="voiceName" column="voice_name" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,voice_code,voice_name,
|
||||
create_time,update_time
|
||||
</sql>
|
||||
</mapper>
|
Loading…
Reference in New Issue