Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
erp-service
Project
Project
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
ximai
erp-service
Commits
cd0cb1bf
Commit
cd0cb1bf
authored
Jan 10, 2025
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售出库字段调整
parent
378062c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CopthService.java
.../com/topsunit/scanservice/ximai/service/CopthService.java
+2
-1
CoptoService.java
.../com/topsunit/scanservice/ximai/service/CoptoService.java
+2
-2
No files found.
src/main/java/com/topsunit/scanservice/ximai/service/CopthService.java
View file @
cd0cb1bf
...
@@ -60,9 +60,10 @@ public class CopthService {
...
@@ -60,9 +60,10 @@ public class CopthService {
copth
.
setTh003
(
StringUtils
.
leftPad
(
i
+
""
,
4
,
"0"
));
copth
.
setTh003
(
StringUtils
.
leftPad
(
i
+
""
,
4
,
"0"
));
copth
.
setTh004
(
s
.
getMaterialNo
());
copth
.
setTh004
(
s
.
getMaterialNo
());
copth
.
setTh005
(
s
.
getMaterialName
());
copth
.
setTh005
(
s
.
getMaterialName
());
copth
.
setTh006
(
s
.
getUnit
());
copth
.
setTh007
(
s
.
getWarehouse
());
copth
.
setTh007
(
s
.
getWarehouse
());
copth
.
setTh008
(
s
.
getOutQuantity
());
copth
.
setTh008
(
s
.
getOutQuantity
());
copth
.
setTh009
(
s
.
getUnit
());
copth
.
setTh006
(
copto
.
getTo009
());
copth
.
setTh014
(
copto
.
getTo004
());
copth
.
setTh014
(
copto
.
getTo004
());
copth
.
setTh015
(
copto
.
getTo005
());
copth
.
setTh015
(
copto
.
getTo005
());
copth
.
setTh016
(
copto
.
getTo006
());
copth
.
setTh016
(
copto
.
getTo006
());
...
...
src/main/java/com/topsunit/scanservice/ximai/service/CoptoService.java
View file @
cd0cb1bf
...
@@ -44,10 +44,10 @@ public class CoptoService {
...
@@ -44,10 +44,10 @@ public class CoptoService {
list
.
forEach
(
s
->{
list
.
forEach
(
s
->{
StockSaleOutDto
.
StockSaleOutDetail
saleOutDetail
=
new
StockSaleOutDto
.
StockSaleOutDetail
();
StockSaleOutDto
.
StockSaleOutDetail
saleOutDetail
=
new
StockSaleOutDto
.
StockSaleOutDetail
();
if
(
copthQuantityMap
.
containsKey
(
StrUtil
.
trim
(
s
.
getTo007
()))){
if
(
copthQuantityMap
.
containsKey
(
StrUtil
.
trim
(
s
.
getTo007
()))){
BigDecimal
tempQuantity
=
NumberUtil
.
max
(
s
.
getTo0
17
().
subtract
(
copthQuantityMap
.
get
(
StrUtil
.
trim
(
s
.
getTo007
()))),
BigDecimal
.
ZERO
);
BigDecimal
tempQuantity
=
NumberUtil
.
max
(
s
.
getTo0
24
().
subtract
(
copthQuantityMap
.
get
(
StrUtil
.
trim
(
s
.
getTo007
()))),
BigDecimal
.
ZERO
);
saleOutDetail
.
setDeliverQuantity
(
tempQuantity
);
saleOutDetail
.
setDeliverQuantity
(
tempQuantity
);
}
else
{
}
else
{
saleOutDetail
.
setDeliverQuantity
(
s
.
getTo0
17
());
saleOutDetail
.
setDeliverQuantity
(
s
.
getTo0
24
());
}
}
saleOutDetail
.
setPlanOutDate
(
s
.
getUdf01
());
saleOutDetail
.
setPlanOutDate
(
s
.
getUdf01
());
saleOutDetail
.
setMaterialName
(
StrUtil
.
trim
(
s
.
getTo008
()));
saleOutDetail
.
setMaterialName
(
StrUtil
.
trim
(
s
.
getTo008
()));
...
...
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