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
d4aad8ed
Commit
d4aad8ed
authored
Aug 22, 2024
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加客户更新首次成交时间的接口
parent
eaabfcd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
CustomerApiImpl.java
...er/yudao/module/customer/service/api/CustomerApiImpl.java
+10
-0
CustomerApi.java
...cn/iocoder/yudao/module/ecw/api/customer/CustomerApi.java
+5
-0
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/service/api/CustomerApiImpl.java
View file @
d4aad8ed
package
cn
.
iocoder
.
yudao
.
module
.
customer
.
service
.
api
;
package
cn
.
iocoder
.
yudao
.
module
.
customer
.
service
.
api
;
import
cn.iocoder.yudao.module.customer.dal.dataobject.customer.CustomerDO
;
import
cn.iocoder.yudao.module.customer.dal.dataobject.customerContacts.CustomerContactsDO
;
import
cn.iocoder.yudao.module.customer.dal.dataobject.customerContacts.CustomerContactsDO
;
import
cn.iocoder.yudao.module.customer.service.customer.CustomerService
;
import
cn.iocoder.yudao.module.customer.service.customer.CustomerService
;
import
cn.iocoder.yudao.module.customer.service.customerContacts.CustomerContactsService
;
import
cn.iocoder.yudao.module.customer.service.customerContacts.CustomerContactsService
;
...
@@ -10,6 +11,7 @@ import cn.iocoder.yudao.module.ecw.dal.dataobject.country.CountryDO;
...
@@ -10,6 +11,7 @@ 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.CustomerCreateFromEnum
;
import
cn.iocoder.yudao.module.ecw.enums.CustomerStatusEnum
;
import
cn.iocoder.yudao.module.ecw.enums.CustomerStatusEnum
;
import
cn.iocoder.yudao.module.ecw.service.country.CountryService
;
import
cn.iocoder.yudao.module.ecw.service.country.CountryService
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
...
@@ -102,4 +104,12 @@ public class CustomerApiImpl implements CustomerApi {
...
@@ -102,4 +104,12 @@ public class CustomerApiImpl implements CustomerApi {
public
void
approvalCustomerTransfer
(
String
approveId
,
Integer
result
)
{
public
void
approvalCustomerTransfer
(
String
approveId
,
Integer
result
)
{
customerService
.
approvalCustomerTransfer
(
approveId
,
result
);
customerService
.
approvalCustomerTransfer
(
approveId
,
result
);
}
}
@Override
public
void
fillFirstDealTimeIfNull
(
Long
customerId
,
Date
firstDealTime
)
{
customerService
.
update
(
new
LambdaUpdateWrapper
<
CustomerDO
>()
.
set
(
CustomerDO:
:
getFirstDealTime
,
firstDealTime
)
.
isNull
(
CustomerDO:
:
getFirstDealTime
)
.
eq
(
CustomerDO:
:
getId
,
customerId
));
}
}
}
yudao-module-ecw/yudao-module-ecw-api/src/main/java/cn/iocoder/yudao/module/ecw/api/customer/CustomerApi.java
View file @
d4aad8ed
package
cn
.
iocoder
.
yudao
.
module
.
ecw
.
api
.
customer
;
package
cn
.
iocoder
.
yudao
.
module
.
ecw
.
api
.
customer
;
import
java.util.Date
;
public
interface
CustomerApi
{
public
interface
CustomerApi
{
void
associateCustomerAuto
(
String
areaCode
,
String
phone
,
Long
userId
,
String
newName
);
void
associateCustomerAuto
(
String
areaCode
,
String
phone
,
Long
userId
,
String
newName
);
void
approvalCustomerDelay
(
String
approveId
,
Integer
result
);
void
approvalCustomerDelay
(
String
approveId
,
Integer
result
);
void
approvalCustomerTransfer
(
String
approveId
,
Integer
result
);
void
approvalCustomerTransfer
(
String
approveId
,
Integer
result
);
void
fillFirstDealTimeIfNull
(
Long
customerId
,
Date
firstDealTime
);
}
}
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