Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
4fa32e12
Commit
4fa32e12
authored
Aug 12, 2024
by
huyf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海运已装单bug
parent
66cef53e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
ShipmentLoadExcelExportListener2.java
...e/shipment/listener/ShipmentLoadExcelExportListener2.java
+6
-3
load.xlsx
yudao-server/src/main/resources/templates/load.xlsx
+0
-0
No files found.
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/listener/ShipmentLoadExcelExportListener2.java
View file @
4fa32e12
...
...
@@ -209,8 +209,8 @@ public class ShipmentLoadExcelExportListener2 {
headList
.
add
(
list1
);
headList
.
add
(
list1
);
headList
.
add
(
list1
);
headList
.
add
(
list1
);
//
headList.add(list1);headList.add(list1);
//
headList.add(list1);headList.add(list1);
// headList.add(list1);
headList.add(list1);headList.add(list1);
headList
.
add
(
list1
);
headList
.
add
(
list1
);
List
<
LoadDto
>
list
=
new
ArrayList
<>();
...
...
@@ -295,7 +295,8 @@ public class ShipmentLoadExcelExportListener2 {
preloadDto
.
setPackageType
(
packagingType
);
}
preloadDto
.
setSumVolume
(
item
.
getWarehouseInInfoVO
().
getVolume
());
preloadDto
.
setProdAttr
(
getAttrNameByIds
(
item
.
getProdAttrIds
(),
idNameMap
));
preloadDto
.
setUsageIds
(
getUsageMsg
(
item
.
getUsageIds
()));
preloadDto
.
setSumWeight
(
item
.
getWarehouseInInfoVO
().
getWeight
());
if
(
orderInfo
.
getCustomsType
()!=
null
){
preloadDto
.
setCustomsType
(
DictFrameworkUtils
.
getDictDataFromCache
(
"customs_type"
,
orderInfo
.
getCustomsType
()+
""
).
getLabel
());
...
...
@@ -379,6 +380,8 @@ public class ShipmentLoadExcelExportListener2 {
.
registerWriteHandler
(
new
CustomLoadMergeStrategyNew
(
list
,
mergeCountList
,
10
,
2
))
.
registerWriteHandler
(
new
CustomLoadMergeStrategyNew
(
list
,
mergeCountList
,
11
,
2
))
.
registerWriteHandler
(
new
CustomLoadMergeStrategyNew
(
list
,
mergeCountList
,
12
,
1
))
.
registerWriteHandler
(
new
CustomCellWriteHandler
(
colorRowList
,
13
,
colorMap
))
.
registerWriteHandler
(
new
CustomCellWriteHandler
(
colorRowList
,
14
,
colorMap
))
.
registerWriteHandler
(
new
CustomLoadMergeStrategyNew
(
list
,
mergeCountList
,
17
,
1
))
.
registerWriteHandler
(
new
CustomLoadMergeStrategyNew
(
list
,
mergeCountList
,
18
,
2
))
.
automaticMergeHead
(
true
).
head
(
headList
).
needHead
(
true
).
build
();
...
...
yudao-server/src/main/resources/templates/load.xlsx
View file @
4fa32e12
No preview for this file type
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