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
a166b83d
Commit
a166b83d
authored
Dec 26, 2024
by
honghy
Committed by
wux
Dec 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运/海运已装单添加底色
parent
bb6f26db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
ShipmentAirLoadExcelExportListener.java
...shipment/listener/ShipmentAirLoadExcelExportListener.java
+5
-5
ShipmentLoadExcelExportListener2.java
...e/shipment/listener/ShipmentLoadExcelExportListener2.java
+6
-3
No files found.
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/listener/ShipmentAirLoadExcelExportListener.java
View file @
a166b83d
...
...
@@ -498,11 +498,11 @@ public class ShipmentAirLoadExcelExportListener {
preloadDto
.
setMergePkgQua
(
totalMergeQuality
);
preloadDto
.
setWorth
(
totalWorth
);
preloadDtoList
.
add
(
preloadDto
);
//
int andIncrement = colorRowNum.getAndIncrement();
//
colorMap2.put(String.valueOf(andIncrement),Integer.valueOf(IndexedColors.YELLOW.index));
//
colorMap.put(String.valueOf(andIncrement),Integer.valueOf(IndexedColors.YELLOW.index));
//
colorRowList.add(andIncrement);
//
colorRowList2.add(andIncrement);
int
andIncrement
=
colorRowNum
.
getAndIncrement
();
colorMap2
.
put
(
String
.
valueOf
(
andIncrement
),
Integer
.
valueOf
(
IndexedColors
.
YELLOW
.
index
));
colorMap
.
put
(
String
.
valueOf
(
andIncrement
),
Integer
.
valueOf
(
IndexedColors
.
YELLOW
.
index
));
colorRowList
.
add
(
andIncrement
);
colorRowList2
.
add
(
andIncrement
);
allTotalNum
=
allTotalNum
+
totalNum
;
allTotalVolume
=
allTotalVolume
.
add
(
totalVolume
);
allTotalWeight
=
allTotalWeight
.
add
(
totalWeight
);
...
...
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/listener/ShipmentLoadExcelExportListener2.java
View file @
a166b83d
...
...
@@ -409,14 +409,13 @@ public class ShipmentLoadExcelExportListener2 {
}
}
}
//
int andIncrement = colorRowNum.getAndIncrement();
int
andIncrement
=
colorRowNum
.
getAndIncrement
();
// colorMap2.put(String.valueOf(andIncrement),Integer.valueOf(IndexedColors.YELLOW.index));
// colorMap.put(String.valueOf(andIncrement),Integer.valueOf(IndexedColors.YELLOW.index));
//
// colorRowList.add(andIncrement);
// colorRowList2.add(andIncrement);
// colorRowNum.getAndAdd(1);
colorRowNum
.
getAndAdd
(
2
);
colorRowNum
.
getAndAdd
(
1
);
LoadDto
preloadDto
=
new
LoadDto
();
preloadDto
.
setId
(
"TOTAL"
);
preloadDto
.
setSumNum
(
totalNum
);
...
...
@@ -437,6 +436,10 @@ public class ShipmentLoadExcelExportListener2 {
preloadDto1
.
setSumVolume
(
allTotalVolume
);
preloadDto1
.
setSumWeight
(
allTotalWeight
);
preloadDto1
.
setWorth
(
allTotalWorth
);
colorMap2
.
put
(
String
.
valueOf
(
andIncrement
+
1
),
Integer
.
valueOf
(
IndexedColors
.
YELLOW
.
index
));
colorMap
.
put
(
String
.
valueOf
(
andIncrement
+
1
),
Integer
.
valueOf
(
IndexedColors
.
YELLOW
.
index
));
colorRowList
.
add
(
andIncrement
+
1
);
colorRowList2
.
add
(
andIncrement
+
1
);
list
.
add
(
preloadDto1
);
}
...
...
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