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
5aec7ec4
Commit
5aec7ec4
authored
Aug 28, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不知道哪个接口加一个来源字段
parent
58877d98
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
LogisticsCostDto.java
...n/java/com/blt/other/other_cost/dto/LogisticsCostDto.java
+3
-0
CostApiServiceImpl.java
...blt/other/other_cost/service/impl/CostApiServiceImpl.java
+1
-0
CostDomain.java
...n/java/com/blt/other/other_database/model/CostDomain.java
+10
-0
Cost.xml
cost-core/src/main/resources/mapper/Cost.xml
+0
-0
No files found.
cost-core/src/main/java/com/blt/other/other_cost/dto/LogisticsCostDto.java
View file @
5aec7ec4
...
...
@@ -16,4 +16,7 @@ public class LogisticsCostDto {
private
String
currency
;
// 币种
private
String
costRemark
;
// 费用单备注
private
String
costReason
;
// 付款理由
//费用来源 1-默认 2-WMS 3-调拨系统
private
String
sourceFrom
;
}
cost-core/src/main/java/com/blt/other/other_cost/service/impl/CostApiServiceImpl.java
View file @
5aec7ec4
...
...
@@ -79,6 +79,7 @@ public class CostApiServiceImpl implements CostApiService {
costDomain
.
setCompanyName
(
"香港百伦科技有限公司"
);
costDomain
.
setAmount
(
logisticsCostDto
.
getAmount
());
costDomain
.
setDic
(
logisticsCostDto
.
getCurrency
());
costDomain
.
setSourceFrom
(
logisticsCostDto
.
getSourceFrom
());
BigDecimal
toRmbRate
=
null
;
if
(
"CNY"
.
equals
(
logisticsCostDto
.
getCurrency
())){
toRmbRate
=
BigDecimal
.
ONE
;
...
...
cost-core/src/main/java/com/blt/other/other_database/model/CostDomain.java
View file @
5aec7ec4
...
...
@@ -65,6 +65,8 @@ public class CostDomain {
private
Date
rejectTime
;
//财务驳回时间
private
String
cashierFilePath
;
private
String
cashierDownloadPath
;
//费用来源 1-默认 2-WMS 3-调拨系统
private
String
sourceFrom
;
public
String
getDic
()
{
return
dic
;
...
...
@@ -574,5 +576,13 @@ public class CostDomain {
", rejectTime="
+
rejectTime
+
'}'
;
}
public
String
getSourceFrom
()
{
return
sourceFrom
;
}
public
void
setSourceFrom
(
String
sourceFrom
)
{
this
.
sourceFrom
=
sourceFrom
;
}
}
cost-core/src/main/resources/mapper/Cost.xml
View file @
5aec7ec4
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