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
2fbc76ef
Commit
2fbc76ef
authored
Oct 19, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
deb3f087
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+12
-10
banner.txt
cost-service/src/main/resources/banner.txt
+0
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
2fbc76ef
...
...
@@ -155,7 +155,9 @@ public abstract class AbstractCostService implements CostService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
UpdateCostResp
updateCost
(
CostDomain
costDomain
)
{
public
UpdateCostResp
updateCost
(
CostDomain
input
)
{
CostDomain
costDomain
=
new
CostDomain
();
BeanUtils
.
copyProperties
(
input
,
costDomain
,
"id"
,
"createUserid"
,
"createUsername"
,
"createUsercode"
,
"createTime"
);
UpdateCostResp
resp
=
new
UpdateCostResp
();
if
(
null
!=
costDomain
.
getCompanyNo
())
{
...
...
@@ -315,8 +317,8 @@ public abstract class AbstractCostService implements CostService {
}
@Override
public
IPage
<
CostDto
>
checkCostAllList
(
AllCheckCostListReq
req
){
if
(
req
.
getCostForm
()
!=
null
)
{
public
IPage
<
CostDto
>
checkCostAllList
(
AllCheckCostListReq
req
)
{
if
(
req
.
getCostForm
()
!=
null
)
{
if
(
req
.
getCostForm
().
equals
(
3
))
{
req
.
setIsLend
(
1
);
}
...
...
@@ -325,11 +327,11 @@ public abstract class AbstractCostService implements CostService {
req
.
setIsLend
(
2
);
}
}
if
(
req
.
getCostStatusList
()!=
null
&&
!
req
.
getCostStatusList
().
isEmpty
())
{
req
.
setCostStatusStr
(
StringUtils
.
join
(
req
.
getCostStatusList
(),
','
));
if
(
req
.
getCostStatusList
()
!=
null
&&
!
req
.
getCostStatusList
().
isEmpty
())
{
req
.
setCostStatusStr
(
StringUtils
.
join
(
req
.
getCostStatusList
(),
','
));
}
IPage
<
CostDomain
>
page
=
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
());
return
costDao
.
allCheckCostList
(
page
,
req
).
convert
(
CostDomain:
:
castToDto
);
return
costDao
.
allCheckCostList
(
page
,
req
).
convert
(
CostDomain:
:
castToDto
);
}
@Resource
...
...
@@ -408,7 +410,7 @@ public abstract class AbstractCostService implements CostService {
}
void
saveNetsuiteJob
(
CostDomain
costDomain
,
CostCashiercallbackDomain
costCashiercallbackDomain
)
{
if
(
costDomain
==
null
)
{
if
(
costDomain
==
null
)
{
return
;
}
//只保存香港百伦
...
...
@@ -420,9 +422,9 @@ public abstract class AbstractCostService implements CostService {
String
nsAccountingSubjectId
=
costCashiercallbackDomain
.
getErpAccountingType
();
if
(
costCashiercallbackDomain
.
getCashierbankcardname
().
equals
(
"Hang Seng Bank Limited"
)
&&
costCashiercallbackDomain
.
getCashierbankcard
().
equals
(
"774-515290-883"
)){
switch
(
costCashiercallbackDomain
.
getCashierunitcode
().
toUpperCase
()){
if
(
costCashiercallbackDomain
.
getCashierbankcardname
().
equals
(
"Hang Seng Bank Limited"
)
&&
costCashiercallbackDomain
.
getCashierbankcard
().
equals
(
"774-515290-883"
))
{
switch
(
costCashiercallbackDomain
.
getCashierunitcode
().
toUpperCase
())
{
case
"HKD"
:
nsAccountingSubjectId
=
"10020201"
;
break
;
...
...
cost-service/src/main/resources/banner.txt
0 → 100644
View file @
2fbc76ef
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