新增:动态表格,图标用户自定义保存基础类
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.sdm.system;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.sdm.system.model.entity.SysFormUserConfigure;
|
||||
|
||||
public interface FormUserConfigureMapper extends BaseMapper<SysFormUserConfigure> {
|
||||
|
||||
}
|
||||
@@ -21,4 +21,8 @@ public class FormConfigure{
|
||||
public String createTime;
|
||||
|
||||
public String userId;
|
||||
|
||||
// 图表是1 动态表格2
|
||||
public String type;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
package com.sdm.system.model.entity;
|
||||
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 com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 用户自定义表单配置表实体类
|
||||
*
|
||||
* @TableName system_form_user_configure
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("system_form_user_configure")
|
||||
@ApiModel(value="SysFormUserConfigure对象", description="用户自定义表单配置表")
|
||||
public class SysFormUserConfigure implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "主键ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "关联主配置的id")
|
||||
@TableField("form_configure_id")
|
||||
private Long formConfigureId;
|
||||
|
||||
@Schema(description = "表单名称")
|
||||
@TableField("formName")
|
||||
private String formName;
|
||||
|
||||
@Schema(description = "表单配置信息(JSON格式)")
|
||||
@TableField("formConfig")
|
||||
private String formConfig;
|
||||
|
||||
@Schema(description = "表单描述信息")
|
||||
@TableField("comment")
|
||||
private String comment;
|
||||
|
||||
@Schema(description = "租户ID")
|
||||
@TableField("tenantId")
|
||||
private Long tenantId;
|
||||
|
||||
@Schema(description = "创建人ID")
|
||||
@TableField("creator")
|
||||
private Long creator;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@TableField("createTime")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.sdm.system.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.sdm.system.model.entity.SysFormUserConfigure;
|
||||
|
||||
public interface IFormUserConfigureService extends IService<SysFormUserConfigure> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.sdm.system.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.sdm.system.FormUserConfigureMapper;
|
||||
import com.sdm.system.model.entity.SysFormUserConfigure;
|
||||
import com.sdm.system.service.IFormUserConfigureService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class IFormUserConfigureServiceImpl extends ServiceImpl<FormUserConfigureMapper, SysFormUserConfigure> implements IFormUserConfigureService {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user