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
d3f7e572
Commit
d3f7e572
authored
Apr 14, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请费用计划单 增加所属账期和所属项目
parent
dc341134
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
LogisticsCostDto.java
...ain/java/com/bailuntec/cost/api/dto/LogisticsCostDto.java
+3
-0
CostApiServiceImpl.java
...lt/other/module/cost/service/impl/CostApiServiceImpl.java
+6
-0
No files found.
cost-interfaces/src/main/java/com/bailuntec/cost/api/dto/LogisticsCostDto.java
View file @
d3f7e572
...
...
@@ -3,6 +3,7 @@ package com.bailuntec.cost.api.dto;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 接收到的推送物流单
...
...
@@ -17,6 +18,8 @@ public class LogisticsCostDto {
private
String
costRemark
;
// 费用单备注
private
String
costReason
;
// 付款理由
private
String
typeNo
;
//费用类别编号
private
String
project
;
//所属项目
private
Date
projectDate
;
//所属账期
//费用来源 1-默认 2-WMS 3-调拨系统
private
String
sourceFrom
;
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/CostApiServiceImpl.java
View file @
d3f7e572
...
...
@@ -146,10 +146,16 @@ public class CostApiServiceImpl implements CostApiService {
costDomain
.
setCreateTime
(
new
Date
());
}
costDomain
.
setCostTemplateIdByFrom
();
if
(
costForm
!=
1
){
costDomain
.
setProject
(
logisticsCostDto
.
getProject
());
costDomain
.
setProjectDate
(
logisticsCostDto
.
getProjectDate
());
}
costDao
.
insert
(
costDomain
);
if
(
costForm
==
1
)
{
CostDetailDomain
costDetailDomain
=
new
CostDetailDomain
();
BeanUtils
.
copyProperties
(
costDomain
,
costDetailDomain
);
costDetailDomain
.
setProject
(
logisticsCostDto
.
getProject
());
costDetailDomain
.
setProjectDate
(
logisticsCostDto
.
getProjectDate
());
costDetailDomain
.
setDetailNo
(
costNo
+
"-1"
);
costDetailDao
.
insert
(
costDetailDomain
);
}
...
...
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