Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
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
reyun
manager
Commits
7ff53275
Commit
7ff53275
authored
5 years ago
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大后台
parent
6604155f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+10
-0
No files found.
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
7ff53275
...
...
@@ -1186,11 +1186,21 @@ public class ContractServiceImpl implements ContractService {
ContractChange
contractChange
=
contractChangeRepository
.
findOne
(
Long
.
parseLong
(
id
));
contractChange
.
setDelFlag
(
1
);
contractChangeRepository
.
save
(
contractChange
);
return
contractChange
;
}
else
{
ContractMoney
contractMoney
=
contractMoneyRepository
.
findOne
(
Long
.
parseLong
(
id
));
contractMoney
.
setDelFlag
(
1
);
contractMoneyRepository
.
save
(
contractMoney
);
if
(
"pay"
.
equals
(
contractMoney
.
getType
())){
// 删除收款记录 修改相应收款金额
Contract
contract
=
contractRepository
.
findByCode
(
contractMoney
.
getContractCode
());
contract
.
setPayMoney
(
contract
.
getPayMoney
()-
contractMoney
.
getMoney
());
contractRepository
.
save
(
contract
);
}
return
contractMoney
;
}
...
...
This diff is collapsed.
Click to expand it.
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