Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
8ddf657d
o2oa
项目概览
fuyue82
/
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,发现更多精彩内容 >>
提交
8ddf657d
编写于
5月 17, 2021
作者:
O
o2sword
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
流程平台附件增加预留字段
上级
27a6d4a2
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
57 addition
and
14 deletion
+57
-14
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/attachment/ActionEdit.java
...latform/assemble/surface/jaxrs/attachment/ActionEdit.java
+12
-14
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Attachment.java
...com/x/processplatform/core/entity/content/Attachment.java
+45
-0
未找到文件。
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/attachment/ActionEdit.java
浏览文件 @
8ddf657d
...
...
@@ -3,6 +3,7 @@ package com.x.processplatform.assemble.surface.jaxrs.attachment;
import
java.util.Arrays
;
import
java.util.List
;
import
com.x.base.core.entity.annotation.CheckPersistType
;
import
org.apache.commons.lang3.BooleanUtils
;
import
com.google.gson.JsonElement
;
...
...
@@ -60,20 +61,16 @@ class ActionEdit extends BaseAction {
if
(!
canControl
){
throw
new
ExceptionAccessDenied
(
effectivePerson
,
attachment
);
}
}
// emc.beginTransaction(Attachment.class);
// Wi.copier.copy(wi, attachment);
// emc.check(attachment, CheckPersistType.all);
// emc.commit();
// Wo wo = new Wo();
// wo.setId(attachment.getId());
// result.setData(wo);
// return result;
Wo
wo
=
ThisApplication
.
context
().
applications
()
.
putQuery
(
effectivePerson
.
getDebugger
(),
x_processplatform_service_processing
.
class
,
Applications
.
joinQueryUri
(
"attachment"
,
attachment
.
getId
()),
wi
,
attachment
.
getJob
())
.
getData
(
Wo
.
class
);
emc
.
beginTransaction
(
Attachment
.
class
);
Wi
.
copier
.
copy
(
wi
,
attachment
);
emc
.
check
(
attachment
,
CheckPersistType
.
all
);
emc
.
commit
();
Wo
wo
=
new
Wo
();
wo
.
setId
(
attachment
.
getId
());
result
.
setData
(
wo
);
}
return
result
;
}
...
...
@@ -85,7 +82,8 @@ class ActionEdit extends BaseAction {
Arrays
.
asList
(
Attachment
.
readIdentityList_FIELDNAME
,
Attachment
.
readUnitList_FIELDNAME
,
Attachment
.
editIdentityList_FIELDNAME
,
Attachment
.
editUnitList_FIELDNAME
,
Attachment
.
controllerIdentityList_FIELDNAME
,
Attachment
.
controllerUnitList_FIELDNAME
,
Attachment
.
divisionList_FIELDNAME
),
Attachment
.
divisionList_FIELDNAME
,
Attachment
.
stringValue01_FIELDNAME
,
Attachment
.
stringValue02_FIELDNAME
,
Attachment
.
stringValue03_FIELDNAME
),
null
);
}
...
...
o2server/x_processplatform_core_entity/src/main/java/com/x/processplatform/core/entity/content/Attachment.java
浏览文件 @
8ddf657d
...
...
@@ -491,6 +491,27 @@ public class Attachment extends StorageObject {
@CheckPersist
(
allowEmpty
=
true
)
private
String
fromPath
;
public
static
final
String
stringValue01_FIELDNAME
=
"stringValue01"
;
@FieldDescribe
(
"业务数据String值01."
)
@Column
(
length
=
length_255B
,
name
=
ColumnNamePrefix
+
stringValue01_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
stringValue01_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
String
stringValue01
;
public
static
final
String
stringValue02_FIELDNAME
=
"stringValue02"
;
@FieldDescribe
(
"业务数据String值02."
)
@Column
(
length
=
length_255B
,
name
=
ColumnNamePrefix
+
stringValue02_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
stringValue02_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
String
stringValue02
;
public
static
final
String
stringValue03_FIELDNAME
=
"stringValue03"
;
@FieldDescribe
(
"业务数据String值03."
)
@Column
(
length
=
length_255B
,
name
=
ColumnNamePrefix
+
stringValue03_FIELDNAME
)
@Index
(
name
=
TABLE
+
IndexNameMiddle
+
stringValue03_FIELDNAME
)
@CheckPersist
(
allowEmpty
=
true
)
private
String
stringValue03
;
public
String
getJob
()
{
return
job
;
}
...
...
@@ -706,4 +727,28 @@ public class Attachment extends StorageObject {
public
void
setFromPath
(
String
fromPath
)
{
this
.
fromPath
=
fromPath
;
}
public
String
getStringValue01
()
{
return
stringValue01
;
}
public
void
setStringValue01
(
String
stringValue01
)
{
this
.
stringValue01
=
stringValue01
;
}
public
String
getStringValue02
()
{
return
stringValue02
;
}
public
void
setStringValue02
(
String
stringValue02
)
{
this
.
stringValue02
=
stringValue02
;
}
public
String
getStringValue03
()
{
return
stringValue03
;
}
public
void
setStringValue03
(
String
stringValue03
)
{
this
.
stringValue03
=
stringValue03
;
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录