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
fa619d3a
Commit
fa619d3a
authored
Feb 20, 2025
by
knight
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仓库-线路集运服务配置
parent
92ee674b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
143 additions
and
2 deletions
+143
-2
WarehouseDO.java
...dule/depository/dal/dataobject/warehouse/WarehouseDO.java
+37
-1
WarehouseLineDO.java
.../depository/dal/dataobject/warehouse/WarehouseLineDO.java
+29
-0
WarehouseServiceImpl.java
...pository/service/warehouse/impl/WarehouseServiceImpl.java
+18
-0
WarehouseLineBindRespVO.java
...dule/depository/vo/warehouse/WarehouseLineBindRespVO.java
+28
-1
WarehouseLineServiceReqVO.java
...le/depository/vo/warehouse/WarehouseLineServiceReqVO.java
+31
-0
No files found.
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/dal/dataobject/warehouse/WarehouseDO.java
View file @
fa619d3a
...
...
@@ -205,6 +205,42 @@ public class WarehouseDO extends BaseDO implements Serializable {
/*
是否开通集运服务
*/
private
String
isConsService
;
private
Long
isConsService
;
/*
集运重量上限
*/
@TableField
(
exist
=
false
)
private
BigDecimal
consWeightLimit
;
/*
集运体积上限
*/
@TableField
(
exist
=
false
)
private
BigDecimal
consVolumeLimit
;
/*
在库时长限制
*/
@TableField
(
exist
=
false
)
private
Long
stockDurationLimit
;
/*
集运服务费
*/
@TableField
(
exist
=
false
)
private
BigDecimal
consServiceFee
;
/*
集运服务费币种
*/
@TableField
(
exist
=
false
)
private
Long
consServiceFeeCurrency
;
/*
集运验货服务费
*/
@TableField
(
exist
=
false
)
private
BigDecimal
consInspectionFee
;
/*
集运验货服务费币种
*/
@TableField
(
exist
=
false
)
private
Long
consInspectionFeeCurrency
;
}
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/dal/dataobject/warehouse/WarehouseLineDO.java
View file @
fa619d3a
...
...
@@ -137,4 +137,33 @@ public class WarehouseLineDO extends BaseDO {
*/
private
String
tzName
;
/*
集运重量上限
*/
private
BigDecimal
consWeightLimit
;
/*
集运体积上限
*/
private
BigDecimal
consVolumeLimit
;
/*
在库时长限制
*/
private
Long
stockDurationLimit
;
/*
集运服务费
*/
private
BigDecimal
consServiceFee
;
/*
集运服务费币种
*/
private
Long
consServiceFeeCurrency
;
/*
集运验货服务费
*/
private
BigDecimal
consInspectionFee
;
/*
集运验货服务费币种
*/
private
Long
consInspectionFeeCurrency
;
}
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/service/warehouse/impl/WarehouseServiceImpl.java
View file @
fa619d3a
...
...
@@ -280,6 +280,15 @@ public class WarehouseServiceImpl implements WarehouseService {
warehouseItem
.
setLkLeft
(
lineDO
.
getLkLeft
());
warehouseItem
.
setTzName
(
lineDO
.
getTzName
());
// 集运相关配置
warehouseItem
.
setConsWeightLimit
(
lineDO
.
getConsWeightLimit
());
warehouseItem
.
setConsVolumeLimit
(
lineDO
.
getConsVolumeLimit
());
warehouseItem
.
setStockDurationLimit
(
lineDO
.
getStockDurationLimit
());
warehouseItem
.
setConsServiceFee
(
lineDO
.
getConsServiceFee
());
warehouseItem
.
setConsServiceFeeCurrency
(
lineDO
.
getConsServiceFeeCurrency
());
warehouseItem
.
setConsInspectionFee
(
lineDO
.
getConsInspectionFee
());
warehouseItem
.
setConsInspectionFeeCurrency
(
lineDO
.
getConsInspectionFeeCurrency
());
//end 添加配置
String
recipientInfo
=
lineDO
.
getRecipientInfo
();
...
...
@@ -491,6 +500,15 @@ public class WarehouseServiceImpl implements WarehouseService {
.
set
(
StringUtils
.
isNotEmpty
(
reqVO
.
getLkLeft
()),
WarehouseLineDO:
:
getLkLeft
,
reqVO
.
getLkLeft
())
.
set
(
StringUtils
.
isNotEmpty
(
reqVO
.
getLkRight
()),
WarehouseLineDO:
:
getLkRight
,
reqVO
.
getLkRight
())
.
set
(
StringUtils
.
isNotEmpty
(
reqVO
.
getTzName
()),
WarehouseLineDO:
:
getTzName
,
reqVO
.
getTzName
())
// 集运服务设置项
.
set
(
reqVO
.
getConsWeightLimit
()
!=
null
,
WarehouseLineDO:
:
getConsWeightLimit
,
reqVO
.
getConsWeightLimit
())
.
set
(
reqVO
.
getConsVolumeLimit
()
!=
null
,
WarehouseLineDO:
:
getConsVolumeLimit
,
reqVO
.
getConsVolumeLimit
())
.
set
(
reqVO
.
getStockDurationLimit
()
!=
null
,
WarehouseLineDO:
:
getStockDurationLimit
,
reqVO
.
getStockDurationLimit
())
.
set
(
reqVO
.
getConsServiceFee
()
!=
null
,
WarehouseLineDO:
:
getConsServiceFee
,
reqVO
.
getConsServiceFee
())
.
set
(
WarehouseLineDO:
:
getConsServiceFeeCurrency
,
reqVO
.
getConsServiceFeeCurrency
())
.
set
(
reqVO
.
getConsInspectionFee
()
!=
null
,
WarehouseLineDO:
:
getConsInspectionFee
,
reqVO
.
getConsInspectionFee
())
.
set
(
reqVO
.
getConsInspectionFeeCurrency
()
!=
null
,
WarehouseLineDO:
:
getConsInspectionFeeCurrency
,
reqVO
.
getConsInspectionFeeCurrency
())
);
}
...
...
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/vo/warehouse/WarehouseLineBindRespVO.java
View file @
fa619d3a
...
...
@@ -85,6 +85,33 @@ public class WarehouseLineBindRespVO extends WarehouseBaseVO {
*/
private
String
tzName
;
/*
集运重量上限
*/
private
BigDecimal
consWeightLimit
;
/*
集运体积上限
*/
private
BigDecimal
consVolumeLimit
;
/*
在库时长限制
*/
private
Long
stockDurationLimit
;
/*
集运服务费
*/
private
BigDecimal
consServiceFee
;
/*
集运服务费币种
*/
private
Long
consServiceFeeCurrency
;
/*
集运验货服务费
*/
private
BigDecimal
consInspectionFee
;
/*
集运验货服务费币种
*/
private
Long
consInspectionFeeCurrency
;
}
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/vo/warehouse/WarehouseLineServiceReqVO.java
View file @
fa619d3a
...
...
@@ -5,6 +5,8 @@ import io.swagger.annotations.ApiModel;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.math.BigDecimal
;
@Data
@ApiModel
(
"仓库线路 - 开通服务相关请求对象"
)
public
class
WarehouseLineServiceReqVO
{
...
...
@@ -63,4 +65,33 @@ public class WarehouseLineServiceReqVO {
图章名称
*/
private
String
tzName
;
/*
集运重量上限
*/
private
BigDecimal
consWeightLimit
;
/*
集运体积上限
*/
private
BigDecimal
consVolumeLimit
;
/*
在库时长限制
*/
private
Long
stockDurationLimit
;
/*
集运服务费
*/
private
BigDecimal
consServiceFee
;
/*
集运服务费币种
*/
private
Long
consServiceFeeCurrency
;
/*
集运验货服务费
*/
private
BigDecimal
consInspectionFee
;
/*
集运验货服务费币种
*/
private
Long
consInspectionFeeCurrency
;
}
knight
@knight
mentioned in commit
af10410b
·
Feb 20, 2025
mentioned in commit
af10410b
mentioned in commit af10410bbdb533dc0560c7bd2751baa79d1368fc
Toggle commit list
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