Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
浙江兰德纵横网络技术股份有限公司
o2oa
提交
137e6d83
o2oa
项目概览
浙江兰德纵横网络技术股份有限公司
/
o2oa
通知
339
Star
10
Fork
6
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
137e6d83
编写于
10月 20, 2020
作者:
O
o2null
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/readCompletedV2' into 'master'
readCompletedV2代码错误,指向read See merge request o2oa/o2oa!1869
上级
520271eb
52ce2f04
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
54 addition
and
54 deletion
+54
-54
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2Count.java
...latform/assemble/surface/jaxrs/readcompleted/V2Count.java
+20
-20
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2List.java
...platform/assemble/surface/jaxrs/readcompleted/V2List.java
+9
-9
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListCreateNext.java
...ssemble/surface/jaxrs/readcompleted/V2ListCreateNext.java
+7
-7
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListCreatePrev.java
...ssemble/surface/jaxrs/readcompleted/V2ListCreatePrev.java
+7
-7
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListNext.java
...form/assemble/surface/jaxrs/readcompleted/V2ListNext.java
+3
-3
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListPaging.java
...rm/assemble/surface/jaxrs/readcompleted/V2ListPaging.java
+5
-5
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListPrev.java
...form/assemble/surface/jaxrs/readcompleted/V2ListPrev.java
+3
-3
未找到文件。
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2Count.java
浏览文件 @
137e6d83
...
...
@@ -25,8 +25,8 @@ import com.x.base.core.project.gson.GsonPropertyObject;
import
com.x.base.core.project.http.ActionResult
;
import
com.x.base.core.project.http.EffectivePerson
;
import
com.x.processplatform.assemble.surface.Business
;
import
com.x.processplatform.core.entity.content.
Task
;
import
com.x.processplatform.core.entity.content.
Task
_
;
import
com.x.processplatform.core.entity.content.
ReadCompleted
;
import
com.x.processplatform.core.entity.content.
ReadCompleted
_
;
class
V2Count
extends
V2Base
{
...
...
@@ -59,16 +59,16 @@ class V2Count extends V2Base {
}
private
Long
count
(
Business
business
,
Predicate
predicate
)
throws
Exception
{
return
business
.
entityManagerContainer
().
count
(
Task
.
class
,
predicate
);
return
business
.
entityManagerContainer
().
count
(
ReadCompleted
.
class
,
predicate
);
}
private
List
<
NameValueCountPair
>
groupByApplication
(
Business
business
,
Predicate
predicate
)
throws
Exception
{
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
Task
.
class
);
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
ReadCompleted
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Task
>
root
=
cq
.
from
(
Task
.
class
);
Path
<
String
>
pathApplication
=
root
.
get
(
Task
_
.
application
);
Path
<
String
>
pathApplicationName
=
root
.
get
(
Task
_
.
applicationName
);
Root
<
ReadCompleted
>
root
=
cq
.
from
(
ReadCompleted
.
class
);
Path
<
String
>
pathApplication
=
root
.
get
(
ReadCompleted
_
.
application
);
Path
<
String
>
pathApplicationName
=
root
.
get
(
ReadCompleted
_
.
applicationName
);
cq
.
multiselect
(
pathApplication
,
pathApplicationName
,
cb
.
count
(
root
)).
where
(
predicate
).
groupBy
(
pathApplication
);
List
<
Tuple
>
os
=
em
.
createQuery
(
cq
).
getResultList
();
List
<
NameValueCountPair
>
list
=
new
ArrayList
<>();
...
...
@@ -85,12 +85,12 @@ class V2Count extends V2Base {
}
private
List
<
NameValueCountPair
>
groupByProcess
(
Business
business
,
Predicate
predicate
)
throws
Exception
{
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
Task
.
class
);
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
ReadCompleted
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Task
>
root
=
cq
.
from
(
Task
.
class
);
Path
<
String
>
pathProcess
=
root
.
get
(
Task
_
.
process
);
Path
<
String
>
pathProcessName
=
root
.
get
(
Task
_
.
processName
);
Root
<
ReadCompleted
>
root
=
cq
.
from
(
ReadCompleted
.
class
);
Path
<
String
>
pathProcess
=
root
.
get
(
ReadCompleted
_
.
process
);
Path
<
String
>
pathProcessName
=
root
.
get
(
ReadCompleted
_
.
processName
);
cq
.
multiselect
(
pathProcess
,
pathProcessName
,
cb
.
count
(
root
)).
where
(
predicate
).
groupBy
(
pathProcess
);
List
<
Tuple
>
os
=
em
.
createQuery
(
cq
).
getResultList
();
List
<
NameValueCountPair
>
list
=
new
ArrayList
<>();
...
...
@@ -107,11 +107,11 @@ class V2Count extends V2Base {
}
private
List
<
NameValueCountPair
>
groupByCreatorPerson
(
Business
business
,
Predicate
predicate
)
throws
Exception
{
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
Task
.
class
);
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
ReadCompleted
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Task
>
root
=
cq
.
from
(
Task
.
class
);
Path
<
String
>
pathCreatorPerson
=
root
.
get
(
Task
_
.
creatorPerson
);
Root
<
ReadCompleted
>
root
=
cq
.
from
(
ReadCompleted
.
class
);
Path
<
String
>
pathCreatorPerson
=
root
.
get
(
ReadCompleted
_
.
creatorPerson
);
cq
.
multiselect
(
pathCreatorPerson
,
cb
.
count
(
root
)).
where
(
predicate
).
groupBy
(
pathCreatorPerson
);
List
<
Tuple
>
os
=
em
.
createQuery
(
cq
).
getResultList
();
List
<
NameValueCountPair
>
list
=
new
ArrayList
<>();
...
...
@@ -128,11 +128,11 @@ class V2Count extends V2Base {
}
private
List
<
NameValueCountPair
>
groupByCreatorUnit
(
Business
business
,
Predicate
predicate
)
throws
Exception
{
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
Task
.
class
);
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
ReadCompleted
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Task
>
root
=
cq
.
from
(
Task
.
class
);
Path
<
String
>
pathCreatorUnit
=
root
.
get
(
Task
_
.
creatorUnit
);
Root
<
ReadCompleted
>
root
=
cq
.
from
(
ReadCompleted
.
class
);
Path
<
String
>
pathCreatorUnit
=
root
.
get
(
ReadCompleted
_
.
creatorUnit
);
cq
.
multiselect
(
pathCreatorUnit
,
cb
.
count
(
root
)).
where
(
predicate
).
groupBy
(
pathCreatorUnit
);
List
<
Tuple
>
os
=
em
.
createQuery
(
cq
).
getResultList
();
List
<
NameValueCountPair
>
list
=
new
ArrayList
<>();
...
...
@@ -149,11 +149,11 @@ class V2Count extends V2Base {
}
private
List
<
NameValueCountPair
>
groupByStartTimeMonth
(
Business
business
,
Predicate
predicate
)
throws
Exception
{
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
Task
.
class
);
EntityManager
em
=
business
.
entityManagerContainer
().
get
(
ReadCompleted
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Task
>
root
=
cq
.
from
(
Task
.
class
);
Path
<
String
>
pathStartTimeMonth
=
root
.
get
(
Task
_
.
startTimeMonth
);
Root
<
ReadCompleted
>
root
=
cq
.
from
(
ReadCompleted
.
class
);
Path
<
String
>
pathStartTimeMonth
=
root
.
get
(
ReadCompleted
_
.
startTimeMonth
);
cq
.
multiselect
(
pathStartTimeMonth
,
cb
.
count
(
root
)).
where
(
predicate
).
groupBy
(
pathStartTimeMonth
);
List
<
Tuple
>
os
=
em
.
createQuery
(
cq
).
getResultList
();
List
<
NameValueCountPair
>
list
=
new
ArrayList
<>();
...
...
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2List.java
浏览文件 @
137e6d83
...
...
@@ -21,8 +21,8 @@ import com.x.base.core.project.http.ActionResult;
import
com.x.base.core.project.http.EffectivePerson
;
import
com.x.base.core.project.tools.ListTools
;
import
com.x.processplatform.assemble.surface.Business
;
import
com.x.processplatform.core.entity.content.Read
;
import
com.x.processplatform.core.entity.content.Read_
;
import
com.x.processplatform.core.entity.content.Read
Completed
;
import
com.x.processplatform.core.entity.content.Read
Completed
_
;
class
V2List
extends
V2Base
{
...
...
@@ -33,18 +33,18 @@ class V2List extends V2Base {
if
((!
wi
.
isEmptyFilter
())
||
ListTools
.
isNotEmpty
(
wi
.
getJobList
())
||
ListTools
.
isNotEmpty
(
wi
.
getIdList
()))
{
try
(
EntityManagerContainer
emc
=
EntityManagerContainerFactory
.
instance
().
create
())
{
Business
business
=
new
Business
(
emc
);
EntityManager
em
=
emc
.
get
(
Read
.
class
);
EntityManager
em
=
emc
.
get
(
Read
Completed
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Read
>
root
=
cq
.
from
(
Rea
d
.
class
);
Root
<
Read
Completed
>
root
=
cq
.
from
(
ReadComplete
d
.
class
);
Predicate
p
=
this
.
toFilterPredicate
(
effectivePerson
,
business
,
wi
);
if
(
ListTools
.
isNotEmpty
(
wi
.
getJobList
()))
{
p
=
cb
.
and
(
p
,
root
.
get
(
Read_
.
job
).
in
(
wi
.
getJobList
()));
p
=
cb
.
and
(
p
,
root
.
get
(
Read
Completed
_
.
job
).
in
(
wi
.
getJobList
()));
}
if
(
ListTools
.
isNotEmpty
(
wi
.
getIdList
()))
{
p
=
cb
.
and
(
p
,
root
.
get
(
Read_
.
id
).
in
(
wi
.
getIdList
()));
p
=
cb
.
and
(
p
,
root
.
get
(
Read
Completed
_
.
id
).
in
(
wi
.
getIdList
()));
}
wos
=
emc
.
fetch
(
Read
.
class
,
Wo
.
copier
,
p
);
wos
=
emc
.
fetch
(
Read
Completed
.
class
,
Wo
.
copier
,
p
);
this
.
relate
(
business
,
wos
,
wi
);
}
}
...
...
@@ -80,7 +80,7 @@ class V2List extends V2Base {
public
static
class
Wo
extends
AbstractWo
{
private
static
final
long
serialVersionUID
=
-
4773789253221941109L
;
static
WrapCopier
<
Read
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
Rea
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
static
WrapCopier
<
Read
Completed
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
ReadComplete
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
Completed
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
}
}
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListCreateNext.java
浏览文件 @
137e6d83
...
...
@@ -18,8 +18,8 @@ import com.x.base.core.project.bean.WrapCopierFactory;
import
com.x.base.core.project.http.ActionResult
;
import
com.x.base.core.project.http.EffectivePerson
;
import
com.x.processplatform.assemble.surface.Business
;
import
com.x.processplatform.core.entity.content.Read
;
import
com.x.processplatform.core.entity.content.Read_
;
import
com.x.processplatform.core.entity.content.Read
Completed
;
import
com.x.processplatform.core.entity.content.Read
Completed
_
;
class
V2ListCreateNext
extends
V2Base
{
...
...
@@ -28,11 +28,11 @@ class V2ListCreateNext extends V2Base {
try
(
EntityManagerContainer
emc
=
EntityManagerContainerFactory
.
instance
().
create
())
{
Wi
wi
=
this
.
convertToWrapIn
(
jsonElement
,
Wi
.
class
);
Business
business
=
new
Business
(
emc
);
EntityManager
em
=
emc
.
get
(
Read
.
class
);
EntityManager
em
=
emc
.
get
(
Read
Completed
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Read
>
root
=
cq
.
from
(
Rea
d
.
class
);
Predicate
p
=
cb
.
equal
(
root
.
get
(
Read_
.
creatorPerson
),
effectivePerson
.
getDistinguishedName
());
Root
<
Read
Completed
>
root
=
cq
.
from
(
ReadComplete
d
.
class
);
Predicate
p
=
cb
.
equal
(
root
.
get
(
Read
Completed
_
.
creatorPerson
),
effectivePerson
.
getDistinguishedName
());
p
=
cb
.
and
(
p
,
this
.
toFilterPredicate
(
effectivePerson
,
business
,
wi
));
ActionResult
<
List
<
Wo
>>
result
=
this
.
standardListNext
(
Wo
.
copier
,
id
,
count
,
JpaObject
.
sequence_FIELDNAME
,
DESC
,
p
);
...
...
@@ -47,7 +47,7 @@ class V2ListCreateNext extends V2Base {
public
static
class
Wo
extends
AbstractWo
{
private
static
final
long
serialVersionUID
=
-
4773789253221941109L
;
static
WrapCopier
<
Read
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
Rea
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
static
WrapCopier
<
Read
Completed
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
ReadComplete
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
Completed
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
}
}
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListCreatePrev.java
浏览文件 @
137e6d83
...
...
@@ -18,8 +18,8 @@ import com.x.base.core.project.bean.WrapCopierFactory;
import
com.x.base.core.project.http.ActionResult
;
import
com.x.base.core.project.http.EffectivePerson
;
import
com.x.processplatform.assemble.surface.Business
;
import
com.x.processplatform.core.entity.content.Read
;
import
com.x.processplatform.core.entity.content.Read_
;
import
com.x.processplatform.core.entity.content.Read
Completed
;
import
com.x.processplatform.core.entity.content.Read
Completed
_
;
class
V2ListCreatePrev
extends
V2Base
{
...
...
@@ -28,11 +28,11 @@ class V2ListCreatePrev extends V2Base {
try
(
EntityManagerContainer
emc
=
EntityManagerContainerFactory
.
instance
().
create
())
{
Wi
wi
=
this
.
convertToWrapIn
(
jsonElement
,
Wi
.
class
);
Business
business
=
new
Business
(
emc
);
EntityManager
em
=
emc
.
get
(
Read
.
class
);
EntityManager
em
=
emc
.
get
(
Read
Completed
.
class
);
CriteriaBuilder
cb
=
em
.
getCriteriaBuilder
();
CriteriaQuery
<
Tuple
>
cq
=
cb
.
createQuery
(
Tuple
.
class
);
Root
<
Read
>
root
=
cq
.
from
(
Rea
d
.
class
);
Predicate
p
=
cb
.
equal
(
root
.
get
(
Read_
.
creatorPerson
),
effectivePerson
.
getDistinguishedName
());
Root
<
Read
Completed
>
root
=
cq
.
from
(
ReadComplete
d
.
class
);
Predicate
p
=
cb
.
equal
(
root
.
get
(
Read
Completed
_
.
creatorPerson
),
effectivePerson
.
getDistinguishedName
());
p
=
cb
.
and
(
p
,
this
.
toFilterPredicate
(
effectivePerson
,
business
,
wi
));
ActionResult
<
List
<
Wo
>>
result
=
this
.
standardListPrev
(
Wo
.
copier
,
id
,
count
,
JpaObject
.
sequence_FIELDNAME
,
DESC
,
p
);
...
...
@@ -47,7 +47,7 @@ class V2ListCreatePrev extends V2Base {
public
static
class
Wo
extends
AbstractWo
{
private
static
final
long
serialVersionUID
=
-
4773789253221941109L
;
static
WrapCopier
<
Read
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
Rea
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
static
WrapCopier
<
Read
Completed
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
ReadComplete
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
Completed
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
}
}
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListNext.java
浏览文件 @
137e6d83
...
...
@@ -13,7 +13,7 @@ import com.x.base.core.project.bean.WrapCopierFactory;
import
com.x.base.core.project.http.ActionResult
;
import
com.x.base.core.project.http.EffectivePerson
;
import
com.x.processplatform.assemble.surface.Business
;
import
com.x.processplatform.core.entity.content.Read
;
import
com.x.processplatform.core.entity.content.Read
Completed
;
class
V2ListNext
extends
V2Base
{
...
...
@@ -36,7 +36,7 @@ class V2ListNext extends V2Base {
public
static
class
Wo
extends
AbstractWo
{
private
static
final
long
serialVersionUID
=
-
4773789253221941109L
;
static
WrapCopier
<
Read
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
Rea
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
static
WrapCopier
<
Read
Completed
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
ReadComplete
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
Completed
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
}
}
\ No newline at end of file
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListPaging.java
浏览文件 @
137e6d83
...
...
@@ -13,7 +13,7 @@ import com.x.base.core.project.bean.WrapCopierFactory;
import
com.x.base.core.project.http.ActionResult
;
import
com.x.base.core.project.http.EffectivePerson
;
import
com.x.processplatform.assemble.surface.Business
;
import
com.x.processplatform.core.entity.content.Read
;
import
com.x.processplatform.core.entity.content.Read
Completed
;
class
V2ListPaging
extends
V2Base
{
...
...
@@ -24,9 +24,9 @@ class V2ListPaging extends V2Base {
ActionResult
<
List
<
Wo
>>
result
=
new
ActionResult
<>();
Wi
wi
=
this
.
convertToWrapIn
(
jsonElement
,
Wi
.
class
);
Predicate
p
=
this
.
toFilterPredicate
(
effectivePerson
,
business
,
wi
);
List
<
Wo
>
wos
=
emc
.
fetchDescPaging
(
Read
.
class
,
Wo
.
copier
,
p
,
page
,
size
,
Rea
d
.
sequence_FIELDNAME
);
List
<
Wo
>
wos
=
emc
.
fetchDescPaging
(
Read
Completed
.
class
,
Wo
.
copier
,
p
,
page
,
size
,
ReadComplete
d
.
sequence_FIELDNAME
);
result
.
setData
(
wos
);
result
.
setCount
(
emc
.
count
(
Read
.
class
,
p
));
result
.
setCount
(
emc
.
count
(
Read
Completed
.
class
,
p
));
this
.
relate
(
business
,
result
.
getData
(),
wi
);
return
result
;
}
...
...
@@ -38,7 +38,7 @@ class V2ListPaging extends V2Base {
public
static
class
Wo
extends
AbstractWo
{
private
static
final
long
serialVersionUID
=
-
4773789253221941109L
;
static
WrapCopier
<
Read
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
Rea
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
static
WrapCopier
<
Read
Completed
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
ReadComplete
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
Completed
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
}
}
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/readcompleted/V2ListPrev.java
浏览文件 @
137e6d83
...
...
@@ -13,7 +13,7 @@ import com.x.base.core.project.bean.WrapCopierFactory;
import
com.x.base.core.project.http.ActionResult
;
import
com.x.base.core.project.http.EffectivePerson
;
import
com.x.processplatform.assemble.surface.Business
;
import
com.x.processplatform.core.entity.content.Read
;
import
com.x.processplatform.core.entity.content.Read
Completed
;
class
V2ListPrev
extends
V2Base
{
...
...
@@ -36,7 +36,7 @@ class V2ListPrev extends V2Base {
public
static
class
Wo
extends
AbstractWo
{
private
static
final
long
serialVersionUID
=
-
4773789253221941109L
;
static
WrapCopier
<
Read
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
Rea
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
static
WrapCopier
<
Read
Completed
,
Wo
>
copier
=
WrapCopierFactory
.
wo
(
ReadComplete
d
.
class
,
Wo
.
class
,
JpaObject
.
singularAttributeField
(
Read
Completed
.
class
,
true
,
false
),
JpaObject
.
FieldsInvisible
);
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录