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
9eea35ec
Commit
9eea35ec
authored
Aug 22, 2024
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 客户添加获取方式 和 归属时间的实现
parent
a15d5e12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
CustomerServiceImpl.java
...module/customer/service/customer/CustomerServiceImpl.java
+11
-4
CustomerMapper.xml
...ore/src/main/resources/mapper/customer/CustomerMapper.xml
+6
-0
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/service/customer/CustomerServiceImpl.java
View file @
9eea35ec
...
@@ -64,10 +64,7 @@ import cn.iocoder.yudao.module.customer.vo.customerBank.CustomerBankUpdateReqVO;
...
@@ -64,10 +64,7 @@ import cn.iocoder.yudao.module.customer.vo.customerBank.CustomerBankUpdateReqVO;
import
cn.iocoder.yudao.module.customer.vo.customerDetail.CustomerOrderBackPageVO
;
import
cn.iocoder.yudao.module.customer.vo.customerDetail.CustomerOrderBackPageVO
;
import
cn.iocoder.yudao.module.customer.vo.customerOperateLog.CustomerOperateLogCreateReqVO
;
import
cn.iocoder.yudao.module.customer.vo.customerOperateLog.CustomerOperateLogCreateReqVO
;
import
cn.iocoder.yudao.module.ecw.dal.dataobject.country.CountryDO
;
import
cn.iocoder.yudao.module.ecw.dal.dataobject.country.CountryDO
;
import
cn.iocoder.yudao.module.ecw.enums.CustomerCreateFromEnum
;
import
cn.iocoder.yudao.module.ecw.enums.*
;
import
cn.iocoder.yudao.module.ecw.enums.CustomerOperateTypeEnum
;
import
cn.iocoder.yudao.module.ecw.enums.CustomerStatusEnum
;
import
cn.iocoder.yudao.module.ecw.enums.ErrorCodeConstants
;
import
cn.iocoder.yudao.module.ecw.service.country.CountryService
;
import
cn.iocoder.yudao.module.ecw.service.country.CountryService
;
import
cn.iocoder.yudao.module.ecw.service.internalMessage.InternalMessageService
;
import
cn.iocoder.yudao.module.ecw.service.internalMessage.InternalMessageService
;
import
cn.iocoder.yudao.module.ecw.service.paramValid.ParamValidatorService
;
import
cn.iocoder.yudao.module.ecw.service.paramValid.ParamValidatorService
;
...
@@ -322,6 +319,11 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
...
@@ -322,6 +319,11 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
// 设置跟进客户经理
// 设置跟进客户经理
customer
.
setCustomerService
(
WebFrameworkUtils
.
getLoginUserId
());
customer
.
setCustomerService
(
WebFrameworkUtils
.
getLoginUserId
());
// 获取方式:自主创建
customer
.
setGetMethod
(
CustomerGetMethodEnum
.
CREATE
.
getValue
());
// 归属时间:当前时间
customer
.
setCustomerServiceConfirmedTime
(
new
Date
());
boolean
isFcl
=
isFcl
(
customer
);
boolean
isFcl
=
isFcl
(
customer
);
...
@@ -535,6 +537,11 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
...
@@ -535,6 +537,11 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
if
(
customerOld
.
getCustomerServiceAssignedTime
()
==
null
)
{
if
(
customerOld
.
getCustomerServiceAssignedTime
()
==
null
)
{
customerNew
.
setCustomerServiceAssignedTime
(
now
);
customerNew
.
setCustomerServiceAssignedTime
(
now
);
}
}
// 获取方式:分配/移交接收
customerNew
.
setGetMethod
(
CustomerGetMethodEnum
.
ASSIGN
.
getValue
());
//老的归属时间为空,就设置归属时间
customerNew
.
setCustomerServiceConfirmedTime
(
now
);
//设置预计进行公海池时间
//设置预计进行公海池时间
//海运整柜 不掉入公海
//海运整柜 不掉入公海
if
(
isFcl
)
{
if
(
isFcl
)
{
...
...
yudao-module-customer/yudao-module-customer-core/src/main/resources/mapper/customer/CustomerMapper.xml
View file @
9eea35ec
...
@@ -788,6 +788,8 @@
...
@@ -788,6 +788,8 @@
a.customer_service = #{customerServiceId},
a.customer_service = #{customerServiceId},
-- 分配时间
-- 分配时间
a.customer_service_assigned_time = now(),
a.customer_service_assigned_time = now(),
-- 获取方式:分配/移交接收
a.get_method = 2,
-- 确认接收置为false
-- 确认接收置为false
a.is_customer_service_confirmed = 0,
a.is_customer_service_confirmed = 0,
...
@@ -867,6 +869,10 @@
...
@@ -867,6 +869,10 @@
a.is_customer_service_confirmed = 1,
a.is_customer_service_confirmed = 1,
-- 分配时间
-- 分配时间
a.customer_service_assigned_time = now(),
a.customer_service_assigned_time = now(),
-- 归属时间
a.customer_service_confirmed_time = now(),
-- 获取方式:公海捞取
a.get_method = 3,
-- 设置捞取时间
-- 设置捞取时间
a.catch_time = now(),
a.catch_time = now(),
-- 报价单延期次数重置为0
-- 报价单延期次数重置为0
...
...
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