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
e4c1007c
Commit
e4c1007c
authored
Jun 14, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-06-14提交发布
parent
ab63f074
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
72 deletions
+4
-72
LoadDto.java
...in/java/cn/iocoder/yudao/module/shipment/dto/LoadDto.java
+3
-72
ShipmentLoadExcelExportListener.java
...le/shipment/listener/ShipmentLoadExcelExportListener.java
+1
-0
No files found.
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/dto/LoadDto.java
View file @
e4c1007c
package
cn
.
iocoder
.
yudao
.
module
.
shipment
.
dto
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.math.BigDecimal
;
...
...
@@ -10,123 +9,55 @@ import java.util.Date;
@Data
public
class
LoadDto
{
/*
序号 0
*/
@ExcelProperty
(
"id"
)
private
String
id
;
/*
订单号 1
*/
@ExcelProperty
(
"orderNo"
)
private
String
orderNo
;
/*
唛头 2
*/
@ExcelProperty
(
"marks"
)
private
String
marks
;
/*
获取描述 3
*/
@ExcelProperty
(
"prodTitleZh"
)
private
String
prodTitleZh
;
/*
数量 4
*/
@ExcelProperty
(
"quantity"
)
private
Integer
quantity
;
/*
品牌 5
*/
@ExcelProperty
(
"brand"
)
private
String
brand
;
/*
备案 6
*/
@ExcelProperty
(
"productRecord"
)
private
String
productRecord
;
/*
特性 7
*/
@ExcelProperty
(
"prodAttrIds"
)
private
String
prodAttrIds
;
/*
总件数 8
*/
@ExcelProperty
(
"sumNum"
)
private
Integer
sumNum
;
/*
单位 9
*/
@ExcelProperty
(
"unit"
)
private
String
unit
;
/*
总体积 10
*/
@ExcelProperty
(
"sumVolume"
)
private
BigDecimal
sumVolume
;
/*
总重量 11
*/
@ExcelProperty
(
"sumWeight"
)
private
BigDecimal
sumWeight
;
/*
包装类型 12
*/
@ExcelProperty
(
"packageType"
)
private
String
packageType
;
/*
材质 13
*/
@ExcelProperty
(
"material"
)
private
String
material
;
/*
用途 14
*/
@ExcelProperty
(
"usageIds"
)
private
String
usageIds
;
/*
合单 15
*/
@ExcelProperty
(
"merge"
)
private
String
merge
;
/*
关联订单 16
*/
@ExcelProperty
(
"relateOrder"
)
private
String
relateOrder
;
/*
报关方式 17
*/
@ExcelProperty
(
"customsType"
)
private
String
customsType
;
/*
货值 18
*/
@ExcelProperty
(
"worth"
)
private
BigDecimal
worth
;
@ExcelProperty
(
"quantity"
)
private
Integer
quantity
;
}
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/listener/ShipmentLoadExcelExportListener.java
View file @
e4c1007c
...
...
@@ -251,6 +251,7 @@ public class ShipmentLoadExcelExportListener {
preloadDto
.
setPackageType
(
packagingType
);
}
preloadDto
.
setSumVolume
(
item
.
getWarehouseInInfoVO
().
getVolume
());
preloadDto
.
setSumWeight
(
item
.
getWarehouseInInfoVO
().
getWeight
());
if
(
orderInfo
.
getCustomsType
()!=
null
){
preloadDto
.
setCustomsType
(
DictFrameworkUtils
.
getDictDataFromCache
(
"customs_type"
,
orderInfo
.
getCustomsType
()+
""
).
getLabel
());
...
...
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