Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
workflow
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
2
议题
2
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
黄夏豪
workflow
Commits
4c462790
提交
4c462790
authored
3月 22, 2021
作者:
黄夏豪
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'revert-
69155af9
' 到 'master'
撤销 "[数据模型] 增加主键字段,修改一个大写问题" 查看合并请求
!1
上级
69155af9
c58663e1
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
2 行增加
和
10 行删除
+2
-10
ColumnInfo.java
.../com/tykj/workflowcore/model_layer/entity/ColumnInfo.java
+2
-7
TableInfo.java
...a/com/tykj/workflowcore/model_layer/entity/TableInfo.java
+0
-3
没有找到文件。
src/main/java/com/tykj/workflowcore/model_layer/entity/ColumnInfo.java
浏览文件 @
4c462790
...
...
@@ -9,7 +9,6 @@ import org.hibernate.annotations.SQLDelete;
import
org.hibernate.annotations.Where
;
import
javax.persistence.*
;
import
java.io.Serializable
;
/**
* @ClassName ColumnInfo
...
...
@@ -23,11 +22,7 @@ import java.io.Serializable;
@Data
@SQLDelete
(
sql
=
"update column_info set deleted = 1 where id = ?"
)
@Where
(
clause
=
"deleted = 0"
)
public
class
ColumnInfo
extends
BaseEntity
implements
Serializable
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
public
class
ColumnInfo
extends
BaseEntity
{
/**
* 是否primary key, 0是,1否
...
...
@@ -39,7 +34,7 @@ public class ColumnInfo extends BaseEntity implements Serializable {
private
String
fieldName
;
@ApiModelProperty
(
"修改后的新列名"
)
private
String
n
ewFieldName
;
private
String
N
ewFieldName
;
@ApiModelProperty
(
"列名中文描述"
)
private
String
fieldTitle
;
...
...
src/main/java/com/tykj/workflowcore/model_layer/entity/TableInfo.java
浏览文件 @
4c462790
...
...
@@ -27,9 +27,6 @@ import java.io.Serializable;
@Where
(
clause
=
"deleted = 0"
)
public
class
TableInfo
extends
BaseEntity
implements
Serializable
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
@ApiModelProperty
(
"表名,不能为空"
)
@Column
(
nullable
=
false
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论