Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apps-collaboration
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高燕
apps-collaboration
Commits
a7e3c9de
Commit
a7e3c9de
authored
Sep 08, 2020
by
gaoyingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:更新查询已办接口字段
parent
39d989e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
ColDaoImpl.java
...in/java/com/seeyon/apps/collaboration/dao/ColDaoImpl.java
+13
-12
No files found.
src/main/java/com/seeyon/apps/collaboration/dao/ColDaoImpl.java
View file @
a7e3c9de
...
@@ -2179,10 +2179,10 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
...
@@ -2179,10 +2179,10 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
n
++;
n
++;
summary
.
setReplyCounts
(
object
[
n
]
==
null
?
0
:
((
Number
)
object
[
n
]).
intValue
());
summary
.
setReplyCounts
(
object
[
n
]
==
null
?
0
:
((
Number
)
object
[
n
]).
intValue
());
n
++;
n
++;
summary
.
setErpState
(
object
[
n
]
==
null
?
null
:
((
Number
)
object
[
n
]).
intValue
());
//
summary.setErpState(object[n] == null ? null : ((Number) object[n]).intValue());
n
++;
//
n++;
summary
.
setGeneralState
(
object
[
n
]
==
null
?
null
:
((
Number
)
object
[
n
]).
intValue
());
//
summary.setGeneralState(object[n] == null ? null : ((Number) object[n]).intValue());
n
++;
//
n++;
}
}
}
}
...
@@ -2283,8 +2283,8 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
...
@@ -2283,8 +2283,8 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
model
.
setWorkitemId
(
affair
.
getSubObjectId
());
model
.
setWorkitemId
(
affair
.
getSubObjectId
());
model
.
setProcessId
(
summary
.
getProcessId
());
model
.
setProcessId
(
summary
.
getProcessId
());
model
.
setReceiveTime
(
affair
.
getReceiveTime
());
model
.
setReceiveTime
(
affair
.
getReceiveTime
());
model
.
setErpState
(
summary
.
getErpState
());
//
model.setErpState(summary.getErpState());
model
.
setGeneralState
(
summary
.
getGeneralState
());
//
model.setGeneralState(summary.getGeneralState());
model
.
setSummary
(
summary
);
model
.
setSummary
(
summary
);
model
.
setSummaryId
(
String
.
valueOf
(
summaryId
));
model
.
setSummaryId
(
String
.
valueOf
(
summaryId
));
//设置当前处理人信息
//设置当前处理人信息
...
@@ -2674,9 +2674,10 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
...
@@ -2674,9 +2674,10 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
"summary.can_edit,"
+
"summary.can_edit,"
+
"summary.can_forward,"
+
"summary.can_forward,"
+
"summary.permission_account_id,"
+
"summary.permission_account_id,"
+
"summary.reply_counts,"
+
"summary.reply_counts"
;
"summary.erp_state,"
+
// +
"summary.general_state"
;
// "summary.erp_state," +
// "summary.general_state";
private
static
final
String
selectAffair
=
"affair.objectId,"
+
private
static
final
String
selectAffair
=
"affair.objectId,"
+
"affair.subject,"
+
"affair.subject,"
+
"affair.importantLevel,"
+
"affair.importantLevel,"
+
...
@@ -2739,9 +2740,9 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
...
@@ -2739,9 +2740,9 @@ public class ColDaoImpl extends BaseHibernateDao<ColSummary> implements ColDao {
"summary.canForward,"
+
"summary.canForward,"
+
"summary.permissionAccountId,"
+
"summary.permissionAccountId,"
+
"summary.replyCounts,"
+
"summary.replyCounts,"
+
"summary.secretLevel
,"
+
"summary.secretLevel
"
;
"summary.erpState,"
+
//
"summary.erpState," +
"summary.generalState"
;
//
"summary.generalState";
/** 数据关联查询SQL **/
/** 数据关联查询SQL **/
private
static
final
String
sql4DataRelation
=
new
StringBuilder
()
private
static
final
String
sql4DataRelation
=
new
StringBuilder
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment