1. 添加note_prompt_type_rel

topo_dev
xueqingkun 9 months ago
parent 87840300e4
commit d6afc90e72

@ -0,0 +1,34 @@
package com.supervision.police.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
/**
*
* @TableName note_prompt_type_rel
*/
@TableName(value ="note_prompt_type_rel")
@Data
public class NotePromptTypeRel implements Serializable {
/**
*
*/
@TableId
private String id;
/**
* note_promptID
*/
private String promptId;
/**
* ID(model_record_type)
*/
private String typeId;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
}

@ -0,0 +1,18 @@
package com.supervision.police.mapper;
import com.supervision.police.domain.NotePromptTypeRel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author Administrator
* @description note_prompt_type_rel()Mapper
* @createDate 2024-07-25 13:47:28
* @Entity com.supervision.police.domain.NotePromptTypeRel
*/
public interface NotePromptTypeRelMapper extends BaseMapper<NotePromptTypeRel> {
}

@ -0,0 +1,13 @@
package com.supervision.police.service;
import com.supervision.police.domain.NotePromptTypeRel;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author Administrator
* @description note_prompt_type_rel()Service
* @createDate 2024-07-25 13:47:28
*/
public interface NotePromptTypeRelService extends IService<NotePromptTypeRel> {
}

@ -0,0 +1,22 @@
package com.supervision.police.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.supervision.police.domain.NotePromptTypeRel;
import com.supervision.police.service.NotePromptTypeRelService;
import com.supervision.police.mapper.NotePromptTypeRelMapper;
import org.springframework.stereotype.Service;
/**
* @author Administrator
* @description note_prompt_type_rel()Service
* @createDate 2024-07-25 13:47:28
*/
@Service
public class NotePromptTypeRelServiceImpl extends ServiceImpl<NotePromptTypeRelMapper, NotePromptTypeRel>
implements NotePromptTypeRelService{
}

@ -0,0 +1,16 @@
<?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.police.mapper.NotePromptTypeRelMapper">
<resultMap id="BaseResultMap" type="com.supervision.police.domain.NotePromptTypeRel">
<id property="id" column="id" jdbcType="VARCHAR"/>
<result property="promptId" column="prompt_id" jdbcType="VARCHAR"/>
<result property="typeId" column="type_id" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
id,prompt_id,type_id
</sql>
</mapper>
Loading…
Cancel
Save