Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_42566577
o2oa
提交
c9544dd2
o2oa
项目概览
weixin_42566577
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c9544dd2
编写于
4月 29, 2022
作者:
R
Ray
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除boolean值索引
上级
de62e3f7
变更
31
隐藏空白更改
内联
并排
Showing
31 changed file
with
44 addition
and
123 deletion
+44
-123
o2server/x_base_core_project/src/main/java/com/x/base/core/project/build/CheckCore.java
...rc/main/java/com/x/base/core/project/build/CheckCore.java
+34
-37
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Attachment.java
...com/x/processplatform/core/entity/content/Attachment.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/DocSignScrawl.java
.../x/processplatform/core/entity/content/DocSignScrawl.java
+5
-5
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/DocumentVersion.java
.../processplatform/core/entity/content/DocumentVersion.java
+0
-1
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Read.java
.../java/com/x/processplatform/core/entity/content/Read.java
+0
-4
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/ReadCompleted.java
.../x/processplatform/core/entity/content/ReadCompleted.java
+0
-3
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Record.java
...ava/com/x/processplatform/core/entity/content/Record.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Review.java
...ava/com/x/processplatform/core/entity/content/Review.java
+0
-3
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Task.java
.../java/com/x/processplatform/core/entity/content/Task.java
+0
-6
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/TaskCompleted.java
.../x/processplatform/core/entity/content/TaskCompleted.java
+0
-9
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Work.java
.../java/com/x/processplatform/core/entity/content/Work.java
+0
-5
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/WorkCompleted.java
.../x/processplatform/core/entity/content/WorkCompleted.java
+0
-7
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/WorkLog.java
...va/com/x/processplatform/core/entity/content/WorkLog.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Agent.java
...java/com/x/processplatform/core/entity/element/Agent.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/ApplicationDictItem.java
...cessplatform/core/entity/element/ApplicationDictItem.java
+0
-1
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Begin.java
...java/com/x/processplatform/core/entity/element/Begin.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Cancel.java
...ava/com/x/processplatform/core/entity/element/Cancel.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Choice.java
...ava/com/x/processplatform/core/entity/element/Choice.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Delay.java
...java/com/x/processplatform/core/entity/element/Delay.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Embed.java
...java/com/x/processplatform/core/entity/element/Embed.java
+0
-4
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/End.java
...n/java/com/x/processplatform/core/entity/element/End.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Invoke.java
...ava/com/x/processplatform/core/entity/element/Invoke.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Manual.java
...ava/com/x/processplatform/core/entity/element/Manual.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Merge.java
...java/com/x/processplatform/core/entity/element/Merge.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Parallel.java
...a/com/x/processplatform/core/entity/element/Parallel.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Process.java
...va/com/x/processplatform/core/entity/element/Process.java
+2
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/QueryStat.java
.../com/x/processplatform/core/entity/element/QueryStat.java
+0
-1
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/QueryView.java
.../com/x/processplatform/core/entity/element/QueryView.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Route.java
...java/com/x/processplatform/core/entity/element/Route.java
+3
-3
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Service.java
...va/com/x/processplatform/core/entity/element/Service.java
+0
-2
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Split.java
...java/com/x/processplatform/core/entity/element/Split.java
+0
-2
未找到文件。
o2server/x_base_core_project/src/main/java/com/x/base/core/project/build/CheckCore.java
浏览文件 @
c9544dd2
...
...
@@ -41,16 +41,18 @@ public class CheckCore {
checkColumnName
(
classes
);
checkColumnLength
(
classes
);
checkLobIndex
(
classes
);
checkBooleanIndex
(
classes
);
checkListFieldContainerTableName
(
classes
);
checkFieldDescribeOnStatic
(
classes
);
checkTableNameUniqueConstraintName
(
classes
);
checkIdCreateTimeUpdateTimeSequenceIndex
(
classes
);
checkEnum
(
classes
);
checkDumpSize
(
classes
);
}
}
public
static
String
packageName
(
String
name
)
throws
Exception
{
public
static
String
packageName
(
String
name
)
throws
ClassNotFound
Exception
{
try
(
ScanResult
scanResult
=
new
ClassGraph
().
enableAnnotationInfo
().
scan
())
{
List
<
ClassInfo
>
classInfos
=
scanResult
.
getClassesWithAnnotation
(
Module
.
class
.
getName
());
for
(
ClassInfo
info
:
classInfos
)
{
...
...
@@ -67,16 +69,14 @@ public class CheckCore {
/*
* 检查数据库字段名是否是ColumnNamePrefix + fieldName
*/
public
static
void
checkColumnName
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkColumnName
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
List
<
Field
>
fields
=
FieldUtils
.
getAllFieldsList
(
cls
);
for
(
Field
field
:
fields
)
{
Column
col
=
field
.
getAnnotation
(
Column
.
class
);
if
(
null
!=
col
)
{
if
(!
StringUtils
.
equals
(
JpaObject
.
ColumnNamePrefix
+
field
.
getName
(),
col
.
name
()))
{
System
.
err
.
println
(
String
.
format
(
"checkColumnName error: class: %s, field: %s."
,
cls
.
getName
(),
field
.
getName
()));
}
if
((
null
!=
col
)
&&
(!
StringUtils
.
equals
(
JpaObject
.
ColumnNamePrefix
+
field
.
getName
(),
col
.
name
())))
{
System
.
err
.
println
(
String
.
format
(
"checkColumnName error: class: %s, field: %s."
,
cls
.
getName
(),
field
.
getName
()));
}
}
}
...
...
@@ -85,7 +85,7 @@ public class CheckCore {
/*
* 检查是否有将Lob类型字段增加索引
*/
public
static
void
checkLobIndex
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkLobIndex
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
List
<
Field
>
fields
=
FieldUtils
.
getAllFieldsList
(
cls
);
for
(
Field
field
:
fields
)
{
...
...
@@ -100,28 +100,25 @@ public class CheckCore {
}
/*
* 检查StringList从表名
*
* @FieldDescribe("群组的个人成员.存放个人 ID.")
*
* @PersistentCollection(fetch = FetchType.EAGER)
*
* @OrderColumn(name = ORDERCOLUMNCOLUMN)
*
* @ContainerTable(name = TABLE + ContainerTableNameMiddle +
* personList_FIELDNAME, joinIndex = @Index(name = TABLE + IndexNameMiddle +
* personList_FIELDNAME + JoinIndexNameSuffix))
*
* @ElementColumn(length = JpaObject.length_id, name = ColumnNamePrefix +
* personList_FIELDNAME)
*
* @ElementIndex(name = TABLE + IndexNameMiddle + personList_FIELDNAME +
* ElementIndexNameSuffix)
*
* @CheckPersist(allowEmpty = true, citationExists = @CitationExist(type =
* Person.class)) private List<String> personList;
* 检查是否有将Boolean类型字段增加索引
*/
public
static
void
checkListFieldContainerTableName
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkBooleanIndex
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
List
<
Field
>
fields
=
FieldUtils
.
getAllFieldsList
(
cls
);
for
(
Field
field
:
fields
)
{
if
(
Boolean
.
class
.
isAssignableFrom
(
field
.
getType
()))
{
org
.
apache
.
openjpa
.
persistence
.
jdbc
.
Index
index
=
field
.
getAnnotation
(
org
.
apache
.
openjpa
.
persistence
.
jdbc
.
Index
.
class
);
if
(
null
!=
index
)
{
System
.
err
.
println
(
String
.
format
(
"checkBooleanIndex error: class: %s, field: %s."
,
cls
.
getName
(),
field
.
getName
()));
}
}
}
}
}
public
static
void
checkListFieldContainerTableName
(
List
<
Class
<?>>
classes
)
throws
IllegalAccessException
{
for
(
Class
<?>
cls
:
classes
)
{
List
<
Field
>
fields
=
FieldUtils
.
getAllFieldsList
(
cls
);
for
(
Field
field
:
fields
)
{
...
...
@@ -144,7 +141,7 @@ public class CheckCore {
/*
* 检查是否将@FieldDescribe注解到static字段上,如果是意味着上下行搞错了
*/
public
static
void
checkFieldDescribeOnStatic
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkFieldDescribeOnStatic
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
List
<
Field
>
fields
=
FieldUtils
.
getFieldsListWithAnnotation
(
cls
,
FieldDescribe
.
class
);
for
(
Field
field
:
fields
)
{
...
...
@@ -159,12 +156,12 @@ public class CheckCore {
/*
* 检查约束名中的table名称和entity类中的TABLE名称是否一致
*/
public
static
void
checkTableNameUniqueConstraintName
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkTableNameUniqueConstraintName
(
List
<
Class
<?>>
classes
)
throws
IllegalAccess
Exception
{
for
(
Class
<?>
cls
:
classes
)
{
Table
table
=
cls
.
getAnnotation
(
Table
.
class
);
String
name
=
Objects
.
toString
(
FieldUtils
.
readStaticField
(
cls
,
"TABLE"
,
true
));
if
(!
StringUtils
.
equals
(
table
.
name
(),
name
))
{
System
.
out
.
println
(
"table name not match:"
+
cls
);
System
.
err
.
println
(
"table name not match:"
+
cls
);
}
for
(
UniqueConstraint
u
:
table
.
uniqueConstraints
())
{
if
(!
StringUtils
.
startsWith
(
u
.
name
(),
table
.
name
()))
{
...
...
@@ -178,7 +175,7 @@ public class CheckCore {
/*
* 检查类中是否有在createTime,updateTime和sequence上的索引,这几个索引已经用约束在类上了
*/
public
static
void
checkIdCreateTimeUpdateTimeSequenceIndex
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkIdCreateTimeUpdateTimeSequenceIndex
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
Field
idField
=
FieldUtils
.
getField
(
cls
,
JpaObject
.
id_FIELDNAME
,
true
);
Field
createTimeField
=
FieldUtils
.
getField
(
cls
,
JpaObject
.
createTime_FIELDNAME
,
true
);
...
...
@@ -196,7 +193,7 @@ public class CheckCore {
/*
* 检查entity是否有重复的字段
*/
public
static
void
checkEnum
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkEnum
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
List
<
Field
>
fields
=
FieldUtils
.
getFieldsListWithAnnotation
(
cls
,
FieldDescribe
.
class
);
for
(
Field
field
:
fields
)
{
...
...
@@ -214,7 +211,7 @@ public class CheckCore {
}
/* 检查是否有对String lob 之外的字段设定长度 */
public
static
void
checkColumnLength
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkColumnLength
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
List
<
Field
>
fields
=
FieldUtils
.
getFieldsListWithAnnotation
(
cls
,
Column
.
class
);
for
(
Field
field
:
fields
)
{
...
...
@@ -234,7 +231,7 @@ public class CheckCore {
}
/* 检查StorageObject的dumpSize是否设置正确 */
public
static
void
checkDumpSize
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkDumpSize
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
if
(
StorageObject
.
class
.
isAssignableFrom
(
cls
))
{
ContainerEntity
containerEntity
=
cls
.
getAnnotation
(
ContainerEntity
.
class
);
...
...
@@ -245,7 +242,7 @@ public class CheckCore {
}
}
public
static
void
checkIdUnique
(
List
<
Class
<?>>
classes
)
throws
Exception
{
public
static
void
checkIdUnique
(
List
<
Class
<?>>
classes
)
{
for
(
Class
<?>
cls
:
classes
)
{
Field
idField
=
FieldUtils
.
getField
(
cls
,
JpaObject
.
id_FIELDNAME
,
true
);
Column
column
=
idField
.
getAnnotation
(
Column
.
class
);
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Attachment.java
浏览文件 @
c9544dd2
...
...
@@ -342,7 +342,6 @@ public class Attachment extends StorageObject {
public
static
final
String
completed_FIELDNAME
=
"completed"
;
@FieldDescribe
(
"整个job是否已经完成."
)
@Column
(
name
=
ColumnNamePrefix
+
completed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
completed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
completed
;
...
...
@@ -456,7 +455,6 @@ public class Attachment extends StorageObject {
@FieldDescribe
(
"是否使用更深的路径."
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
deepPath_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
deepPath_FIELDNAME
)
private
Boolean
deepPath
;
public
static
final
String
orderNumber_FIELDNAME
=
"orderNumber"
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/DocSignScrawl.java
浏览文件 @
c9544dd2
...
...
@@ -31,6 +31,7 @@ import com.x.processplatform.core.entity.PersistenceProperties;
/**
* 签批涂鸦信息
*
* @author sword
*/
@Entity
...
...
@@ -47,11 +48,11 @@ public class DocSignScrawl extends StorageObject {
private
static
final
String
TABLE
=
PersistenceProperties
.
Content
.
DocSignScrawl
.
table
;
public
static
String
SCRAWL_TYPE_PLACEHOLDER
=
"placeholder"
;
public
static
final
String
SCRAWL_TYPE_PLACEHOLDER
=
"placeholder"
;
public
static
String
SCRAWL_TYPE_BASE64
=
"base64"
;
public
static
final
String
SCRAWL_TYPE_BASE64
=
"base64"
;
public
static
String
SCRAWL_TYPE_IMAGE
=
"image"
;
public
static
final
String
SCRAWL_TYPE_IMAGE
=
"image"
;
@Override
public
String
getId
()
{
...
...
@@ -70,7 +71,7 @@ public class DocSignScrawl extends StorageObject {
@Override
public
void
onPersist
()
throws
Exception
{
if
(
StringUtils
.
isNotBlank
(
this
.
name
))
{
if
(
StringUtils
.
isNotBlank
(
this
.
name
))
{
this
.
extension
=
StringUtils
.
lowerCase
(
FilenameUtils
.
getExtension
(
name
));
}
}
...
...
@@ -140,7 +141,6 @@ public class DocSignScrawl extends StorageObject {
@FieldDescribe
(
"是否使用更深的路径."
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
deepPath_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
deepPath_FIELDNAME
)
private
Boolean
deepPath
;
@Override
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/DocumentVersion.java
浏览文件 @
c9544dd2
...
...
@@ -146,7 +146,6 @@ public class DocumentVersion extends SliceJpaObject {
public
static
final
String
completed_FIELDNAME
=
"completed"
;
@FieldDescribe
(
"整个job是否已经完成."
)
@Column
(
name
=
ColumnNamePrefix
+
completed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
completed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
completed
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Read.java
浏览文件 @
c9544dd2
...
...
@@ -201,7 +201,6 @@ public class Read extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
completed_FIELDNAME
=
"completed"
;
@FieldDescribe
(
"整个job是否已经完成."
)
@Column
(
name
=
ColumnNamePrefix
+
completed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
completed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
completed
;
...
...
@@ -376,7 +375,6 @@ public class Read extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
viewed_FIELDNAME
=
"viewed"
;
@FieldDescribe
(
"是否查看过."
)
@Column
(
name
=
ColumnNamePrefix
+
viewed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
viewed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
viewed
;
...
...
@@ -468,14 +466,12 @@ public class Read extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
booleanValue01_FIELDNAME
=
"booleanValue01"
;
@FieldDescribe
(
"业务数据Boolean值01."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue01
;
public
static
final
String
booleanValue02_FIELDNAME
=
"booleanValue02"
;
@FieldDescribe
(
"业务数据Boolean值02."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue02
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/ReadCompleted.java
浏览文件 @
c9544dd2
...
...
@@ -198,7 +198,6 @@ public class ReadCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
completed_FIELDNAME
=
"completed"
;
@FieldDescribe
(
"整个job是否已经完成."
)
@Column
(
name
=
ColumnNamePrefix
+
completed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
completed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
completed
;
...
...
@@ -487,14 +486,12 @@ public class ReadCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
booleanValue01_FIELDNAME
=
"booleanValue01"
;
@FieldDescribe
(
"业务数据Boolean值01."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue01
;
public
static
final
String
booleanValue02_FIELDNAME
=
"booleanValue02"
;
@FieldDescribe
(
"业务数据Boolean值02."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue02
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Record.java
浏览文件 @
c9544dd2
...
...
@@ -197,7 +197,6 @@ public class Record extends SliceJpaObject {
public
static
final
String
workCompleted_FIELDNAME
=
"workCompleted"
;
@FieldDescribe
(
"已完成工作"
)
@Column
(
length
=
JpaObject
.
length_id
,
name
=
ColumnNamePrefix
+
workCompleted_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
workCompleted_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
String
workCompleted
;
...
...
@@ -213,7 +212,6 @@ public class Record extends SliceJpaObject {
@FieldDescribe
(
"是否显示."
)
/* 必填值 */
@Column
(
name
=
ColumnNamePrefix
+
display_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
display_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
display
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Review.java
浏览文件 @
c9544dd2
...
...
@@ -180,7 +180,6 @@ public class Review extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
completed_FIELDNAME
=
"completed"
;
@FieldDescribe
(
"整个job是否已经完成."
)
@Column
(
name
=
ColumnNamePrefix
+
completed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
completed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
completed
;
...
...
@@ -393,14 +392,12 @@ public class Review extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
booleanValue01_FIELDNAME
=
"booleanValue01"
;
@FieldDescribe
(
"业务数据Boolean值01."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue01
;
public
static
final
String
booleanValue02_FIELDNAME
=
"booleanValue02"
;
@FieldDescribe
(
"业务数据Boolean值02."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue02
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Task.java
浏览文件 @
c9544dd2
...
...
@@ -369,7 +369,6 @@ public class Task extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
expired_FIELDNAME
=
"expired"
;
@FieldDescribe
(
"是否已经超时."
)
@Column
(
name
=
ColumnNamePrefix
+
expired_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
expired_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
expired
;
...
...
@@ -385,7 +384,6 @@ public class Task extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
urged_FIELDNAME
=
"urged"
;
@FieldDescribe
(
"是否已经催办过."
)
@Column
(
name
=
ColumnNamePrefix
+
urged_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
urged_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
urged
;
...
...
@@ -453,14 +451,12 @@ public class Task extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
modified_FIELDNAME
=
"modified"
;
@FieldDescribe
(
"是否在前台保存过数据."
)
@Column
(
name
=
ColumnNamePrefix
+
modified_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
modified_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
modified
;
public
static
final
String
viewed_FIELDNAME
=
"viewed"
;
@FieldDescribe
(
"是否查看过."
)
@Column
(
name
=
ColumnNamePrefix
+
viewed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
viewed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
viewed
;
...
...
@@ -725,14 +721,12 @@ public class Task extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
booleanValue01_FIELDNAME
=
"booleanValue01"
;
@FieldDescribe
(
"业务数据Boolean值01."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue01
;
public
static
final
String
booleanValue02_FIELDNAME
=
"booleanValue02"
;
@FieldDescribe
(
"业务数据Boolean值02."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue02
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/TaskCompleted.java
浏览文件 @
c9544dd2
...
...
@@ -406,7 +406,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
completed_FIELDNAME
=
"completed"
;
@FieldDescribe
(
"整个job是否已经完成."
)
@Column
(
name
=
ColumnNamePrefix
+
completed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
completed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
completed
;
...
...
@@ -481,14 +480,12 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
empowerToIdentity_FIELDNAME
=
"empowerToIdentity"
;
@FieldDescribe
(
"授权给谁处理,在processType=empower时记录授权对象"
)
@Column
(
length
=
length_255B
,
name
=
ColumnNamePrefix
+
empowerToIdentity_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
empowerToIdentity_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
String
empowerToIdentity
;
public
static
final
String
empowerFromIdentity_FIELDNAME
=
"empowerFromIdentity"
;
@FieldDescribe
(
"授权自Identity"
)
@Column
(
length
=
length_255B
,
name
=
ColumnNamePrefix
+
empowerFromIdentity_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
empowerFromIdentity_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
String
empowerFromIdentity
;
...
...
@@ -516,7 +513,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
activityAlias_FIELDNAME
=
"activityAlias"
;
@FieldDescribe
(
"活动别名."
)
@Column
(
length
=
length_255B
,
name
=
ColumnNamePrefix
+
activityAlias_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
activityAlias_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
String
activityAlias
;
...
...
@@ -530,7 +526,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
@FieldDescribe
(
"活动类型."
)
@Enumerated
(
EnumType
.
STRING
)
@Column
(
length
=
ActivityType
.
length
,
name
=
ColumnNamePrefix
+
activityType_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
activityType_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
ActivityType
activityType
;
...
...
@@ -600,7 +595,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
expired_FIELDNAME
=
"expired"
;
@FieldDescribe
(
"是否超时."
)
@Column
(
name
=
ColumnNamePrefix
+
expired_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
expired_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
expired
;
...
...
@@ -626,7 +620,6 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
latest_FIELDNAME
=
"latest"
;
@FieldDescribe
(
"同一Job中同一用户是否是最新的,多人可以有多条已办,页面显示的时候可以通过此标记仅显示一条最新的."
)
@Column
(
name
=
ColumnNamePrefix
+
latest_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
latest_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
latest
;
...
...
@@ -748,14 +741,12 @@ public class TaskCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
booleanValue01_FIELDNAME
=
"booleanValue01"
;
@FieldDescribe
(
"业务数据Boolean值01."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue01
;
public
static
final
String
booleanValue02_FIELDNAME
=
"booleanValue02"
;
@FieldDescribe
(
"业务数据Boolean值02."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue02
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Work.java
浏览文件 @
c9544dd2
...
...
@@ -351,14 +351,12 @@ public class Work extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
dataChanged_FIELDNAME
=
"dataChanged"
;
@FieldDescribe
(
"当前工作是否经过保存修改的操作,用于判断是否是默认生成的未经修改的."
)
@Column
(
name
=
ColumnNamePrefix
+
dataChanged_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
dataChanged_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
dataChanged
;
public
static
final
String
workThroughManual_FIELDNAME
=
"workThroughManual"
;
@FieldDescribe
(
"是否已经经过人工节点,用于判断是否是草稿.在到达环节进行判断."
)
@Column
(
name
=
ColumnNamePrefix
+
workThroughManual_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
workThroughManual_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
workThroughManual
;
...
...
@@ -404,7 +402,6 @@ public class Work extends SliceJpaObject implements ProjectionInterface {
/** Split Attribute */
public
static
final
String
splitting_FIELDNAME
=
"splitting"
;
@FieldDescribe
(
"是否是拆分中的工作"
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
splitting_FIELDNAME
)
@Column
(
name
=
ColumnNamePrefix
+
splitting_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
splitting
;
...
...
@@ -562,14 +559,12 @@ public class Work extends SliceJpaObject implements ProjectionInterface {
public
static
final
String
booleanValue01_FIELDNAME
=
"booleanValue01"
;
@FieldDescribe
(
"业务数据Boolean值01."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue01
;
public
static
final
String
booleanValue02_FIELDNAME
=
"booleanValue02"
;
@FieldDescribe
(
"业务数据Boolean值02."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue02
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/WorkCompleted.java
浏览文件 @
c9544dd2
...
...
@@ -117,8 +117,6 @@ public class WorkCompleted extends SliceJpaObject implements ProjectionInterface
this
.
processAlias
=
work
.
getProcessAlias
();
this
.
serial
=
work
.
getSerial
();
this
.
form
=
work
.
getForm
();
// this.formData = formData;
// this.formMobileData = formMobileData;
this
.
work
=
work
.
getId
();
this
.
expireTime
=
work
.
getExpireTime
();
if
((
null
!=
expireTime
)
&&
(
completedTime
.
after
(
expireTime
)))
{
...
...
@@ -316,7 +314,6 @@ public class WorkCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
expired_FIELDNAME
=
"expired"
;
@FieldDescribe
(
"是否超时."
)
@Column
(
name
=
ColumnNamePrefix
+
expired_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
expired_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
expired
;
...
...
@@ -329,7 +326,6 @@ public class WorkCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
allowRollback_FIELDNAME
=
"allowRollback"
;
@FieldDescribe
(
"完成后是否允许回滚."
)
@Column
(
name
=
ColumnNamePrefix
+
allowRollback_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRollback_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
allowRollback
;
...
...
@@ -372,7 +368,6 @@ public class WorkCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
merged_FIELDNAME
=
"merged"
;
@FieldDescribe
(
"合并数据"
)
@Column
(
name
=
ColumnNamePrefix
+
merged_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
merged_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
merged
;
...
...
@@ -449,14 +444,12 @@ public class WorkCompleted extends SliceJpaObject implements ProjectionInterface
public
static
final
String
booleanValue01_FIELDNAME
=
"booleanValue01"
;
@FieldDescribe
(
"业务数据Boolean值01."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue01
;
public
static
final
String
booleanValue02_FIELDNAME
=
"booleanValue02"
;
@FieldDescribe
(
"业务数据Boolean值02."
)
@Column
(
name
=
ColumnNamePrefix
+
booleanValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
Boolean
booleanValue02
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/WorkLog.java
浏览文件 @
c9544dd2
...
...
@@ -132,7 +132,6 @@ public class WorkLog extends SliceJpaObject {
@FieldDescribe
(
"工作是否已经完成."
)
/* 必填值 */
@Column
(
name
=
ColumnNamePrefix
+
completed_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
completed_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
completed
;
...
...
@@ -310,7 +309,6 @@ public class WorkLog extends SliceJpaObject {
public
static
final
String
connected_FIELDNAME
=
"connected"
;
@FieldDescribe
(
"是否已经完整填写了From和Arrived."
)
@Column
(
name
=
ColumnNamePrefix
+
connected_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
connected_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
false
)
private
Boolean
connected
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Agent.java
浏览文件 @
c9544dd2
...
...
@@ -380,13 +380,11 @@ public class Agent extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/ApplicationDictItem.java
浏览文件 @
c9544dd2
...
...
@@ -213,7 +213,6 @@ public class ApplicationDictItem extends DataItem {
private
Date
timeValue
;
@Column
(
name
=
ColumnNamePrefix
+
booleanValue_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
booleanValue_FIELDNAME
)
private
Boolean
booleanValue
;
public
static
final
String
application_FIELDNAME
=
"application"
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Begin.java
浏览文件 @
c9544dd2
...
...
@@ -380,13 +380,11 @@ public class Begin extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Cancel.java
浏览文件 @
c9544dd2
...
...
@@ -373,13 +373,11 @@ public class Cancel extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Choice.java
浏览文件 @
c9544dd2
...
...
@@ -370,13 +370,11 @@ public class Choice extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Delay.java
浏览文件 @
c9544dd2
...
...
@@ -382,13 +382,11 @@ public class Delay extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Embed.java
浏览文件 @
c9544dd2
...
...
@@ -471,13 +471,11 @@ public class Embed extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
@@ -552,14 +550,12 @@ public class Embed extends Activity {
@FieldDescribe
(
"是否继承Data"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
inheritData_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
inheritData_FIELDNAME
)
private
Boolean
inheritData
;
public
static
final
String
inheritAttachment_FIELDNAME
=
"inheritAttachment"
;
@FieldDescribe
(
"是否继承附件"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
inheritAttachment_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
inheritAttachment_FIELDNAME
)
private
Boolean
inheritAttachment
;
public
static
final
String
embedCreatorType_FIELDNAME
=
"embedCreatorType"
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/End.java
浏览文件 @
c9544dd2
...
...
@@ -373,13 +373,11 @@ public class End extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Invoke.java
浏览文件 @
c9544dd2
...
...
@@ -382,13 +382,11 @@ public class Invoke extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Manual.java
浏览文件 @
c9544dd2
...
...
@@ -370,13 +370,11 @@ public class Manual extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Merge.java
浏览文件 @
c9544dd2
...
...
@@ -379,13 +379,11 @@ public class Merge extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Parallel.java
浏览文件 @
c9544dd2
...
...
@@ -371,13 +371,11 @@ public class Parallel extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Process.java
浏览文件 @
c9544dd2
...
...
@@ -96,8 +96,8 @@ public class Process extends SliceJpaObject {
}
}
@FieldDescribe
(
"启用同步到自建表."
)
public
static
final
String
UPDATETABLEENABLE_FIELDNAME
=
"updateTableEnable"
;
@FieldDescribe
(
"启用同步到自建表."
)
@Transient
private
Boolean
updateTableEnable
;
...
...
@@ -110,8 +110,8 @@ public class Process extends SliceJpaObject {
this
.
getProperties
().
setUpdateTableEnable
(
updateTableEnable
);
}
@FieldDescribe
(
"同步到自建表."
)
public
static
final
String
UPDATETABLELIST_FIELDNAME
=
"updateTableList"
;
@FieldDescribe
(
"同步到自建表."
)
@Transient
private
List
<
String
>
updateTableList
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/QueryStat.java
浏览文件 @
c9544dd2
...
...
@@ -129,7 +129,6 @@ public class QueryStat extends SliceJpaObject {
@FieldDescribe
(
"是否是定时任务."
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
timingEnable_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
timingEnable_FIELDNAME
)
private
Boolean
timingEnable
;
public
static
final
String
timingInterval_FIELDNAME
=
"timingInterval"
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/QueryView.java
浏览文件 @
c9544dd2
...
...
@@ -108,7 +108,6 @@ public class QueryView extends SliceJpaObject {
@FieldDescribe
(
"是否是定时任务."
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
timingEnable_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
timingEnable_FIELDNAME
)
private
Boolean
timingEnable
;
public
static
final
String
timingTouch_FIELDNAME
=
"timingTouch"
;
...
...
@@ -258,7 +257,6 @@ public class QueryView extends SliceJpaObject {
public
static
final
String
display_FIELDNAME
=
"display"
;
@FieldDescribe
(
"是否前端可见."
)
@Column
(
name
=
ColumnNamePrefix
+
display_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
display_FIELDNAME
)
private
Boolean
display
;
public
String
getName
()
{
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Route.java
浏览文件 @
c9544dd2
...
...
@@ -118,18 +118,18 @@ public class Route extends SliceJpaObject {
this
.
getProperties
().
setDefaultSelected
(
defaultSelected
);
}
@FieldDescribe
(
"是否启用异步返回."
)
public
static
final
String
ASYNCSUPPORTED_FIELDNAME
=
"asyncSupported"
;
@FieldDescribe
(
"是否启用异步返回."
)
@Transient
private
Boolean
asyncSupported
;
@FieldDescribe
(
"选择优先路由时是否直接执行路由(一票否决),默认null."
)
public
static
final
String
SOLEDIRECT_FIELDNAME
=
"soleDirect"
;
@FieldDescribe
(
"选择优先路由时是否直接执行路由(一票否决),默认null."
)
@Transient
private
Boolean
soleDirect
;
@FieldDescribe
(
"默认选中的路由."
)
public
static
final
String
DEFAULTSELECTED_FIELDNAME
=
"defaultSelected"
;
@FieldDescribe
(
"默认选中的路由."
)
@Transient
private
Boolean
defaultSelected
;
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Service.java
浏览文件 @
c9544dd2
...
...
@@ -379,13 +379,11 @@ public class Service extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/element/Split.java
浏览文件 @
c9544dd2
...
...
@@ -383,13 +383,11 @@ public class Split extends Activity {
@FieldDescribe
(
"允许调度"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowReroute_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowReroute_FIELDNAME
)
private
Boolean
allowReroute
;
@FieldDescribe
(
"允许调度到此节点"
)
@CheckPersist
(
allowEmpty
=
true
)
@Column
(
name
=
ColumnNamePrefix
+
allowRerouteTo_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
allowRerouteTo_FIELDNAME
)
private
Boolean
allowRerouteTo
;
@FieldDescribe
(
"允许挂起"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录