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
02526991
Commit
02526991
authored
3 years ago
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款开票金额
parent
c2833b12
master
…
2580_fix
master_mv
mobvista_master
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+13
-0
No files found.
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
02526991
...
@@ -1757,6 +1757,7 @@ public class ContractServiceImpl implements ContractService {
...
@@ -1757,6 +1757,7 @@ public class ContractServiceImpl implements ContractService {
// 获取字典数据
// 获取字典数据
this
.
getDicMapDatas
(
saleMap
,
typeMap
,
null
,
null
,
packageBaseMap
,
platform
);
this
.
getDicMapDatas
(
saleMap
,
typeMap
,
null
,
null
,
packageBaseMap
,
platform
);
contract
.
setSaleName
(
saleMap
.
containsKey
(
contract
.
getSale
())
?
saleMap
.
get
(
contract
.
getSale
())
:
""
);
contract
.
setSaleName
(
saleMap
.
containsKey
(
contract
.
getSale
())
?
saleMap
.
get
(
contract
.
getSale
())
:
""
);
//if ("tkio".equals(platform)) {
//if ("tkio".equals(platform)) {
// contract.setPriceLevelName(typeMap.containsKey(contract.getPriceLevel()) ? typeMap.get(contract.getPriceLevel()).getPackageName() : "");
// contract.setPriceLevelName(typeMap.containsKey(contract.getPriceLevel()) ? typeMap.get(contract.getPriceLevel()).getPackageName() : "");
...
@@ -1767,6 +1768,18 @@ public class ContractServiceImpl implements ContractService {
...
@@ -1767,6 +1768,18 @@ public class ContractServiceImpl implements ContractService {
contract
.
setCreateName
(
saleMap
.
containsKey
(
contract
.
getCreateAccount
())
?
saleMap
.
get
(
contract
.
getCreateAccount
())
:
""
);
contract
.
setCreateName
(
saleMap
.
containsKey
(
contract
.
getCreateAccount
())
?
saleMap
.
get
(
contract
.
getCreateAccount
())
:
""
);
//处理收款开票金额
List
<
Object
[]>
codeMoneyList
=
contractMoneyRepository
.
findGroupCode
(
platform
,
Arrays
.
asList
(
contract
.
getId
()
+
""
));
if
(
codeMoneyList
!=
null
&&
codeMoneyList
.
size
()
>
0
)
{
Object
[]
value
=
codeMoneyList
.
get
(
0
);
contract
.
setAmountCollected
(
value
[
1
]
+
""
);
contract
.
setInvoiceAmount
(
value
[
2
]
+
""
);
}
else
{
contract
.
setAmountCollected
(
"0"
);
contract
.
setInvoiceAmount
(
"0"
);
}
return
contract
;
return
contract
;
}
}
...
...
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