Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
njgzx
dataease
Commits
95fde40c
Unverified
提交
95fde40c
authored
2月 22, 2022
作者:
fit2cloudrd
提交者:
GitHub
2月 22, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 仪表板可以对组件设置边框
* feat: 视图组件支持设置背景图片 * feat: 视图组件支持设置背景图片 Co-authored-by:
wangjiahao
<
1522128093@qq.com
>
上级
353a94da
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
98 行增加
和
0 行删除
+98
-0
SysBackgroundImage.java
...main/java/io/dataease/base/domain/SysBackgroundImage.java
+28
-0
SysBackgroundImageExample.java
...va/io/dataease/base/domain/SysBackgroundImageExample.java
+0
-0
SysBackgroundImageMapper.java
...ava/io/dataease/base/mapper/SysBackgroundImageMapper.java
+37
-0
SysBackgroundImageMapper.xml
...java/io/dataease/base/mapper/SysBackgroundImageMapper.xml
+0
-0
V32__1.8.sql
backend/src/main/resources/db/migration/V32__1.8.sql
+33
-0
没有找到文件。
backend/src/main/java/io/dataease/base/domain/SysBackgroundImage.java
0 → 100644
浏览文件 @
95fde40c
package
io
.
dataease
.
base
.
domain
;
import
java.io.Serializable
;
import
lombok.Data
;
@Data
public
class
SysBackgroundImage
implements
Serializable
{
private
String
id
;
private
String
name
;
private
String
classification
;
private
String
remark
;
private
Integer
sort
;
private
Long
uploadTime
;
private
String
baseUrl
;
private
String
url
;
private
String
content
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
backend/src/main/java/io/dataease/base/domain/SysBackgroundImageExample.java
0 → 100644
浏览文件 @
95fde40c
差异被折叠。
点击展开。
backend/src/main/java/io/dataease/base/mapper/SysBackgroundImageMapper.java
0 → 100644
浏览文件 @
95fde40c
package
io
.
dataease
.
base
.
mapper
;
import
io.dataease.base.domain.SysBackgroundImage
;
import
io.dataease.base.domain.SysBackgroundImageExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
public
interface
SysBackgroundImageMapper
{
long
countByExample
(
SysBackgroundImageExample
example
);
int
deleteByExample
(
SysBackgroundImageExample
example
);
int
deleteByPrimaryKey
(
String
id
);
int
insert
(
SysBackgroundImage
record
);
int
insertSelective
(
SysBackgroundImage
record
);
List
<
SysBackgroundImage
>
selectByExampleWithBLOBs
(
SysBackgroundImageExample
example
);
List
<
SysBackgroundImage
>
selectByExample
(
SysBackgroundImageExample
example
);
SysBackgroundImage
selectByPrimaryKey
(
String
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
SysBackgroundImage
record
,
@Param
(
"example"
)
SysBackgroundImageExample
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
SysBackgroundImage
record
,
@Param
(
"example"
)
SysBackgroundImageExample
example
);
int
updateByExample
(
@Param
(
"record"
)
SysBackgroundImage
record
,
@Param
(
"example"
)
SysBackgroundImageExample
example
);
int
updateByPrimaryKeySelective
(
SysBackgroundImage
record
);
int
updateByPrimaryKeyWithBLOBs
(
SysBackgroundImage
record
);
int
updateByPrimaryKey
(
SysBackgroundImage
record
);
}
\ No newline at end of file
backend/src/main/java/io/dataease/base/mapper/SysBackgroundImageMapper.xml
0 → 100644
浏览文件 @
95fde40c
差异被折叠。
点击展开。
backend/src/main/resources/db/migration/V32__1.8.sql
浏览文件 @
95fde40c
...
...
@@ -317,3 +317,36 @@ ADD COLUMN `is_plugin` bit(1) NULL COMMENT '是否插件' AFTER `chart_type`;
INSERT
INTO
`my_plugin`
VALUES
(
2
,
'视图默认插件'
,
'default'
,
0
,
20000
,
'view'
,
'默认视图插件'
,
'1.0-SNAPSHOT'
,
NULL
,
'fit2cloud-chenyw'
,
0
,
NULL
,
NULL
,
'deplugin-view-backend'
,
NULL
);
SET
NAMES
utf8mb4
;
SET
FOREIGN_KEY_CHECKS
=
0
;
-- ----------------------------
-- Table structure for sys_background_image
-- ----------------------------
DROP
TABLE
IF
EXISTS
`sys_background_image`
;
CREATE
TABLE
`sys_background_image`
(
`id`
varchar
(
64
)
NOT
NULL
,
`name`
varchar
(
255
)
DEFAULT
NULL
,
`classification`
varchar
(
255
)
NOT
NULL
,
`content`
longtext
,
`remark`
varchar
(
255
)
DEFAULT
NULL
,
`sort`
int
(
8
)
DEFAULT
NULL
,
`upload_time`
bigint
(
13
)
DEFAULT
NULL
,
`base_url`
varchar
(
255
)
DEFAULT
NULL
,
`url`
varchar
(
255
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
-- ----------------------------
-- Records of sys_background_image
-- ----------------------------
BEGIN
;
INSERT
INTO
`sys_background_image`
VALUES
(
'blue_1'
,
'边框1'
,
'蓝色调'
,
''
,
NULL
,
NULL
,
NULL
,
'img/board'
,
'board/blue_1.svg'
);
INSERT
INTO
`sys_background_image`
VALUES
(
'blue_2'
,
'边框2'
,
'蓝色调'
,
NULL
,
NULL
,
NULL
,
NULL
,
'img/board'
,
'board/blue_2.svg'
);
INSERT
INTO
`sys_background_image`
VALUES
(
'blue_3'
,
'边框3'
,
'蓝色调'
,
NULL
,
NULL
,
NULL
,
NULL
,
'img/board'
,
'board/blue_3.svg'
);
INSERT
INTO
`sys_background_image`
VALUES
(
'blue_4'
,
'边框4'
,
'蓝色调'
,
NULL
,
NULL
,
NULL
,
NULL
,
'img/board'
,
'board/blue_4.svg'
);
INSERT
INTO
`sys_background_image`
VALUES
(
'blue_5'
,
'边框5'
,
'蓝色调'
,
NULL
,
NULL
,
NULL
,
NULL
,
'img/board'
,
'board/blue_5.svg'
);
COMMIT
;
SET
FOREIGN_KEY_CHECKS
=
1
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论