Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
huluobin
bailuntec-cost
Commits
b8ad586b
Commit
b8ad586b
authored
May 13, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1bcd362b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+27
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
b8ad586b
...
...
@@ -391,6 +391,32 @@ public abstract class AbstractCostService implements CostService {
CostTypeResult
costTypeResult
=
costTypeDao
.
queryDetail
(
costDomain
.
getTypeId
());
String
nsAccountingSubjectId
=
costCashiercallbackDomain
.
getErpAccountingType
();
if
(
costCashiercallbackDomain
.
getCashierbankcardname
().
equals
(
"Hang Seng Bank Limited"
)
&&
costCashiercallbackDomain
.
getCashierbankcard
().
equals
(
"774-515290-883"
)){
switch
(
costCashiercallbackDomain
.
getCashierunitcode
().
toUpperCase
()){
case
"HKD"
:
nsAccountingSubjectId
=
"10020201"
;
break
;
case
"EUR"
:
nsAccountingSubjectId
=
"10020202"
;
break
;
case
"USD"
:
nsAccountingSubjectId
=
"10020203"
;
break
;
case
"GBP"
:
nsAccountingSubjectId
=
"10020204"
;
break
;
case
"CNY"
:
nsAccountingSubjectId
=
"10020205"
;
break
;
case
"AUD"
:
nsAccountingSubjectId
=
"10020207"
;
break
;
}
}
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy/MM/dd"
);
NetsuiteDataDto
netsuiteDataDto
=
new
NetsuiteDataDto
();
netsuiteDataDto
.
setTranid
(
costDomain
.
getCostNo
());
...
...
@@ -410,7 +436,7 @@ public abstract class AbstractCostService implements CostService {
netsuiCostInfoDtos
.
add
(
feeSysInfo
);
//财务系统信息
NetsuiCostinfoDto
cwSysInfo
=
new
NetsuiCostinfoDto
(
costCashiercallbackDomain
.
getErpAccountingType
()
,
nsAccountingSubjectId
,
costCashiercallbackDomain
.
getPayamount
().
toString
(),
costCashiercallbackDomain
.
getCashierunitcode
().
toUpperCase
()
);
...
...
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