Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api
Overview
Overview
Details
Activity
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
首航-临时账号
api
Commits
84284d49
Commit
84284d49
authored
Dec 21, 2020
by
java-李谡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改航线论证调机保存bug
parent
52fed1eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
27 deletions
+29
-27
AirlineConclusionService.java
src/com/ejweb/modules/verify/service/AirlineConclusionService.java
+29
-27
No files found.
src/com/ejweb/modules/verify/service/AirlineConclusionService.java
View file @
84284d49
...
...
@@ -190,33 +190,35 @@ public class AirlineConclusionService extends BaseService<AirlineConclusionDao>
}
//更新论证状态及表单
dao
.
updateSailingConclusion
(
bean
);
//如果论证类型是05(调机),那么直接到生成开航指令
AirlineVerifyDetailBean
detailBean
=
new
AirlineVerifyDetailBean
();
detailBean
.
setVerifId
(
bean
.
getVerifId
());
AirlineVerifyDetailEntity
detailEntity
=
verifyDao
.
get
(
detailBean
);
if
(
Objects
.
isNull
(
detailEntity
))
{
return
;
}
if
(
"05"
.
equals
(
detailEntity
.
getVerifType
()))
{
SailingConclusionUpdateBean
updateBean
=
new
SailingConclusionUpdateBean
();
updateBean
.
setConclusionStatus
(
"01"
);
updateBean
.
setRouteType
(
"01"
);
updateBean
.
setVerifId
(
bean
.
getVerifId
());
updateBean
.
setRemarks
(
"无"
);
updateBean
.
setUserCode
(
bean
.
getUserCode
());
sailingConclusionService
.
update
(
updateBean
);
//开航总结后,则记录时间节点
if
(
bean
.
getConclusionStatus
().
equals
(
"01"
))
{
VerifyProcessAddBean
bean1
=
new
VerifyProcessAddBean
();
bean1
.
setUserCode
(
bean
.
getUserCode
());
bean1
.
setProcessValue
(
"sailing_conclusion"
);
bean1
.
setVerifId
(
bean
.
getVerifId
());
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
bean1
.
setNodeDate
(
format
.
format
(
new
Date
()));
bean1
.
setProcessDate
(
format
.
format
(
new
Date
()));
bean1
.
setNodeName
(
"开航总结时间"
);
bean1
.
setNodeSort
(
8
);
verifyProcessService
.
add
(
bean1
);
if
(
"1"
.
equals
(
bean
.
getStatus
())
&&
"02"
.
equals
(
bean
.
getConclusionStatus
()))
{
//如果论证类型是05(调机),那么直接到生成开航指令
AirlineVerifyDetailBean
detailBean
=
new
AirlineVerifyDetailBean
();
detailBean
.
setVerifId
(
bean
.
getVerifId
());
AirlineVerifyDetailEntity
detailEntity
=
verifyDao
.
get
(
detailBean
);
if
(
Objects
.
isNull
(
detailEntity
))
{
return
;
}
if
(
"05"
.
equals
(
detailEntity
.
getVerifType
()))
{
SailingConclusionUpdateBean
updateBean
=
new
SailingConclusionUpdateBean
();
updateBean
.
setConclusionStatus
(
"01"
);
updateBean
.
setRouteType
(
"01"
);
updateBean
.
setVerifId
(
bean
.
getVerifId
());
updateBean
.
setRemarks
(
"无"
);
updateBean
.
setUserCode
(
bean
.
getUserCode
());
sailingConclusionService
.
update
(
updateBean
);
//开航总结后,则记录时间节点
if
(
bean
.
getConclusionStatus
().
equals
(
"01"
))
{
VerifyProcessAddBean
bean1
=
new
VerifyProcessAddBean
();
bean1
.
setUserCode
(
bean
.
getUserCode
());
bean1
.
setProcessValue
(
"sailing_conclusion"
);
bean1
.
setVerifId
(
bean
.
getVerifId
());
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
bean1
.
setNodeDate
(
format
.
format
(
new
Date
()));
bean1
.
setProcessDate
(
format
.
format
(
new
Date
()));
bean1
.
setNodeName
(
"开航总结时间"
);
bean1
.
setNodeSort
(
8
);
verifyProcessService
.
add
(
bean1
);
}
}
}
...
...
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