parent
							
								
									24cd753745
								
							
						
					
					
						commit
						dec79c047d
					
				| @ -0,0 +1,10 @@ | |||||||
|  | package com.glxp.api.dao.system; | ||||||
|  | 
 | ||||||
|  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||||
|  | import com.glxp.api.dao.BaseMapperPlus; | ||||||
|  | import com.glxp.api.entity.system.SysTableHeadEntity; | ||||||
|  | import org.apache.ibatis.annotations.Mapper; | ||||||
|  | 
 | ||||||
|  | @Mapper | ||||||
|  | public interface SysTableHeadMapper extends BaseMapperPlus<SysTableHeadMapper, SysTableHeadEntity, SysTableHeadEntity> { | ||||||
|  | } | ||||||
| @ -0,0 +1,90 @@ | |||||||
|  | package com.glxp.api.entity.system; | ||||||
|  | 
 | ||||||
|  | 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; | ||||||
|  | 
 | ||||||
|  | @Data | ||||||
|  | @TableName(value = "sys_table_head") | ||||||
|  | public class SysTableHeadEntity implements Serializable { | ||||||
|  |     @TableId(value = "id", type = IdType.INPUT) | ||||||
|  |     private Integer id; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 前端页面 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "page") | ||||||
|  |     private String page; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 所属后端返回类 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "response") | ||||||
|  |     private String response; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 显示的标题 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "`label`") | ||||||
|  |     private String label; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 字段名 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "prop") | ||||||
|  |     private String prop; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 对应列的宽度 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "width") | ||||||
|  |     private Double width; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 是否显示 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "isShow") | ||||||
|  |     private String isShow; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 自适应宽度 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "isAuto") | ||||||
|  |     private String isAuto; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 当内容过长被隐藏时显示 tooltip | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "overflow") | ||||||
|  |     private Byte overflow; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 排序顺序 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "sort") | ||||||
|  |     private Integer sort; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 是否启用自定义排序 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "customSort") | ||||||
|  |     private Byte customSort; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 备注 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "remark") | ||||||
|  |     private String remark; | ||||||
|  | 
 | ||||||
|  |     /** | ||||||
|  |      * 更新时间 | ||||||
|  |      */ | ||||||
|  |     @TableField(value = "updateTime") | ||||||
|  |     private Date updateTime; | ||||||
|  | 
 | ||||||
|  |     private static final long serialVersionUID = 1L; | ||||||
|  | } | ||||||
| @ -0,0 +1,13 @@ | |||||||
|  | package com.glxp.api.service.system; | ||||||
|  | 
 | ||||||
|  | import org.springframework.stereotype.Service; | ||||||
|  | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||||
|  | import com.glxp.api.entity.system.SysTableHeadEntity; | ||||||
|  | import com.glxp.api.dao.system.SysTableHeadMapper; | ||||||
|  | 
 | ||||||
|  | @Service | ||||||
|  | public class SysTableHeadService extends ServiceImpl<SysTableHeadMapper, SysTableHeadEntity> { | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| @ -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.glxp.api.dao.system.SysTableHeadMapper"> | ||||||
|  |   <resultMap id="BaseResultMap" type="com.glxp.api.entity.system.SysTableHeadEntity"> | ||||||
|  |     <!--@mbg.generated--> | ||||||
|  |     <!--@Table sys_table_head--> | ||||||
|  |     <id column="id" jdbcType="INTEGER" property="id" /> | ||||||
|  |     <result column="page" jdbcType="VARCHAR" property="page" /> | ||||||
|  |     <result column="response" jdbcType="VARCHAR" property="response" /> | ||||||
|  |     <result column="label" jdbcType="VARCHAR" property="label" /> | ||||||
|  |     <result column="prop" jdbcType="VARCHAR" property="prop" /> | ||||||
|  |     <result column="width" jdbcType="DOUBLE" property="width" /> | ||||||
|  |     <result column="isShow" jdbcType="VARCHAR" property="isShow" /> | ||||||
|  |     <result column="isAuto" jdbcType="VARCHAR" property="isAuto" /> | ||||||
|  |     <result column="overflow" jdbcType="TINYINT" property="overflow" /> | ||||||
|  |     <result column="sort" jdbcType="INTEGER" property="sort" /> | ||||||
|  |     <result column="customSort" jdbcType="TINYINT" property="customSort" /> | ||||||
|  |     <result column="remark" jdbcType="VARCHAR" property="remark" /> | ||||||
|  |     <result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" /> | ||||||
|  |   </resultMap> | ||||||
|  |   <sql id="Base_Column_List"> | ||||||
|  |     <!--@mbg.generated--> | ||||||
|  |     id, page, response, `label`, prop, width, isShow, isAuto, overflow, sort, customSort, | ||||||
|  |     remark, updateTime | ||||||
|  |   </sql> | ||||||
|  | </mapper> | ||||||
					Loading…
					
					
				
		Reference in New Issue