Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
finance_serv
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6f403d18
authored
Aug 27, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1121125522154
1 parent
741685d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
code/finance_serv/src/main/java/com/vion/financial/service/imp/ContractServiceImpl.java
code/finance_serv/src/main/java/com/vion/financial/service/imp/ContractServiceImpl.java
View file @
6f403d1
...
...
@@ -873,36 +873,36 @@ public class ContractServiceImpl implements ContractService {
}
if
(
contractMapper
.
queryOne
(
contractVo
.
getContract_unid
())==
null
)
{
contractMapper
.
addOne
(
contractVo
);
if
(
returnInfo
.
getReback_date
()!=
null
||
returnInfo
.
getActual_reback_amount
()!=
null
||
returnInfo
.
getReback_note
()!=
null
)
{
returnInfoMapper
.
addReturnInfo
(
returnInfo
);
}
if
(
receipt
.
getReceipt_amount
()!=
null
||
receipt
.
getOa_flow_id
()!=
null
||
receipt
.
getReceipt_note
()!=
null
)
{
receiptMapper
.
addReceipt
(
receipt
);
}
if
(
projectAcceptanc_pre
.
getContract_unid
()
!=
null
)
{
ProjectAcceptancMapper
.
addProjectAcceptanc
(
projectAcceptanc_pre
);
}
if
(
projectAcceptanc_end
.
getContract_unid
()
!=
null
)
{
ProjectAcceptancMapper
.
addProjectAcceptanc
(
projectAcceptanc_end
);
}
if
(
pre_aymentAgree
.
getPayment_propority
()!=
null
||
pre_aymentAgree
.
getPayment_requirement
()!=
null
||
pre_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
pre_aymentAgree
);
}
if
(
arrival_aymentAgree
.
getPayment_propority
()!=
null
||
arrival_aymentAgree
.
getPayment_requirement
()!=
null
||
arrival_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
arrival_aymentAgree
);
}
if
(
acceptanc_aymentAgree
.
getPayment_propority
()!=
null
||
acceptanc_aymentAgree
.
getPayment_requirement
()!=
null
||
acceptanc_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
acceptanc_aymentAgree
);
}
if
(
mainten_aymentAgree
.
getPayment_propority
()!=
null
||
mainten_aymentAgree
.
getPayment_requirement
()!=
null
||
mainten_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
mainten_aymentAgree
);
}
if
(
deliverGoods
.
getDeliver_goods_date
()!=
null
||
deliverGoods
.
getGoods_acceptanc_date
()!=
null
)
{
deliverGoodsMapper
.
addDeliverGoods
(
deliverGoods
);
}
}
else
{
contractMapper
.
updateOne
(
contractVo
);
}
if
(
returnInfo
.
getReback_date
()!=
null
||
returnInfo
.
getActual_reback_amount
()!=
null
||
returnInfo
.
getReback_note
()!=
null
)
{
returnInfoMapper
.
addReturnInfo
(
returnInfo
);
}
if
(
receipt
.
getReceipt_amount
()!=
null
||
receipt
.
getOa_flow_id
()!=
null
||
receipt
.
getReceipt_note
()!=
null
)
{
receiptMapper
.
addReceipt
(
receipt
);
}
if
(
projectAcceptanc_pre
.
getContract_unid
()
!=
null
)
{
ProjectAcceptancMapper
.
addProjectAcceptanc
(
projectAcceptanc_pre
);
}
if
(
projectAcceptanc_end
.
getContract_unid
()
!=
null
)
{
ProjectAcceptancMapper
.
addProjectAcceptanc
(
projectAcceptanc_end
);
}
if
(
pre_aymentAgree
.
getPayment_propority
()!=
null
||
pre_aymentAgree
.
getPayment_requirement
()!=
null
||
pre_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
pre_aymentAgree
);
}
if
(
arrival_aymentAgree
.
getPayment_propority
()!=
null
||
arrival_aymentAgree
.
getPayment_requirement
()!=
null
||
arrival_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
arrival_aymentAgree
);
}
if
(
acceptanc_aymentAgree
.
getPayment_propority
()!=
null
||
acceptanc_aymentAgree
.
getPayment_requirement
()!=
null
||
acceptanc_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
acceptanc_aymentAgree
);
}
if
(
mainten_aymentAgree
.
getPayment_propority
()!=
null
||
mainten_aymentAgree
.
getPayment_requirement
()!=
null
||
mainten_aymentAgree
.
getDays
()!=
null
)
{
paymentAgreeMapper
.
addPaymentAgree
(
mainten_aymentAgree
);
}
if
(
deliverGoods
.
getDeliver_goods_date
()!=
null
||
deliverGoods
.
getGoods_acceptanc_date
()!=
null
)
{
deliverGoodsMapper
.
addDeliverGoods
(
deliverGoods
);
}
}
return
successCode
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment