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
b3301cf1
Commit
b3301cf1
authored
Feb 21, 2025
by
knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户集运服务设置
parent
1b833c35
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
0 deletions
+40
-0
CustomerDO.java
...o/module/customer/dal/dataobject/customer/CustomerDO.java
+8
-0
CustomerServiceImpl.java
...module/customer/service/customer/CustomerServiceImpl.java
+13
-0
CustomerDetailRespVO.java
.../module/customer/vo/customer/vo/CustomerDetailRespVO.java
+4
-0
CustomerSetupUpdateReqVO.java
...ule/customer/vo/customer/vo/CustomerSetupUpdateReqVO.java
+13
-0
CustomerMapper.xml
...ore/src/main/resources/mapper/customer/CustomerMapper.xml
+2
-0
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/dal/dataobject/customer/CustomerDO.java
View file @
b3301cf1
...
@@ -534,6 +534,14 @@ public class CustomerDO extends BaseDO {
...
@@ -534,6 +534,14 @@ public class CustomerDO extends BaseDO {
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
CustomerFollowupBackVO
followupBackVO
;
private
CustomerFollowupBackVO
followupBackVO
;
/**
* 是否开启集运服务
*/
private
Integer
isConsService
;
/**
* 集运服务运输方式偏好
*/
private
Integer
preferenceTransportType
;
}
}
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/service/customer/CustomerServiceImpl.java
View file @
b3301cf1
...
@@ -3720,6 +3720,10 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
...
@@ -3720,6 +3720,10 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
BigDecimal
lightUnit
=
customerSetupUpdateReqVO
.
getLightUnit
();
BigDecimal
lightUnit
=
customerSetupUpdateReqVO
.
getLightUnit
();
BigDecimal
weightUnit
=
customerSetupUpdateReqVO
.
getWeightUnit
();
BigDecimal
weightUnit
=
customerSetupUpdateReqVO
.
getWeightUnit
();
// 修改集运服务配置
Integer
isConsService
=
customerSetupUpdateReqVO
.
getIsConsService
();
Integer
preferenceTransportType
=
customerSetupUpdateReqVO
.
getPreferenceTransportType
();
if
(
arrivalConfirm
!=
null
)
{
if
(
arrivalConfirm
!=
null
)
{
customerDO
.
setArrivalConfirm
(
arrivalConfirm
);
customerDO
.
setArrivalConfirm
(
arrivalConfirm
);
}
}
...
@@ -3743,6 +3747,15 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
...
@@ -3743,6 +3747,15 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
customerDO
.
setWeightUnit
(
weightUnit
);
customerDO
.
setWeightUnit
(
weightUnit
);
}
}
// 修改是否开启集运服务
if
(
isConsService
!=
null
)
{
customerDO
.
setIsConsService
(
isConsService
);
}
// 修改集运服务输运方式偏好
if
(
preferenceTransportType
!=
null
)
{
customerDO
.
setPreferenceTransportType
(
preferenceTransportType
);
}
customerMapper
.
updateById
(
customerDO
);
customerMapper
.
updateById
(
customerDO
);
if
(
lightUnit
==
null
)
{
if
(
lightUnit
==
null
)
{
...
...
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/vo/customer/vo/CustomerDetailRespVO.java
View file @
b3301cf1
...
@@ -318,4 +318,8 @@ public class CustomerDetailRespVO extends CustomerBaseVO {
...
@@ -318,4 +318,8 @@ public class CustomerDetailRespVO extends CustomerBaseVO {
//联系人信息
//联系人信息
private
String
contactstr
;
private
String
contactstr
;
private
Integer
isConsService
;
private
Integer
preferenceTransportType
;
}
}
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/vo/customer/vo/CustomerSetupUpdateReqVO.java
View file @
b3301cf1
...
@@ -72,4 +72,17 @@ public class CustomerSetupUpdateReqVO {
...
@@ -72,4 +72,17 @@ public class CustomerSetupUpdateReqVO {
@Valid
@Valid
private
List
<
CustomerLineUpdateReqVO
>
customerLines
;
private
List
<
CustomerLineUpdateReqVO
>
customerLines
;
/**
* 泡货标准(kg)
*/
@ApiModelProperty
(
value
=
"是否开启集运服务"
)
private
Integer
isConsService
;
/**
* 泡货标准(kg)
*/
@ApiModelProperty
(
value
=
"集运服务运输方式偏好"
)
private
Integer
preferenceTransportType
;
}
}
yudao-module-customer/yudao-module-customer-core/src/main/resources/mapper/customer/CustomerMapper.xml
View file @
b3301cf1
...
@@ -86,6 +86,8 @@
...
@@ -86,6 +86,8 @@
<result
column=
"creator_name"
jdbcType=
"VARCHAR"
property=
"creatorName"
/>
<result
column=
"creator_name"
jdbcType=
"VARCHAR"
property=
"creatorName"
/>
<result
column=
"updater_name"
jdbcType=
"VARCHAR"
property=
"updaterName"
/>
<result
column=
"updater_name"
jdbcType=
"VARCHAR"
property=
"updaterName"
/>
<result
column=
"customer_service_name"
jdbcType=
"VARCHAR"
property=
"customerServiceName"
/>
<result
column=
"customer_service_name"
jdbcType=
"VARCHAR"
property=
"customerServiceName"
/>
<result
column=
"is_cons_service"
jdbcType=
"INTEGER"
property=
"isConsService"
/>
<result
column=
"preference_transport_type"
jdbcType=
"INTEGER"
property=
"preferenceTransportType"
/>
<collection
property=
"productList"
ofType=
"cn.iocoder.yudao.module.product.vo.product.ProductRespVO"
>
<collection
property=
"productList"
ofType=
"cn.iocoder.yudao.module.product.vo.product.ProductRespVO"
>
<id
column=
"prod_id"
jdbcType=
"BIGINT"
property=
"id"
/>
<id
column=
"prod_id"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"prod_type_id"
jdbcType=
"BIGINT"
property=
"typeId"
/>
<result
column=
"prod_type_id"
jdbcType=
"BIGINT"
property=
"typeId"
/>
...
...
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