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
26c696cf
Commit
26c696cf
authored
Sep 20, 2024
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 1、客户合并bug修复 2、添加事务
parent
49d9dfc1
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
382 additions
and
299 deletions
+382
-299
CustomerComplaintMapper.java
.../customer/dal/mysql/customer/CustomerComplaintMapper.java
+1
-1
CustomerMapper.java
...ao/module/customer/dal/mysql/customer/CustomerMapper.java
+3
-3
CustomerComplaintServiceImpl.java
...vice/customer/complaint/CustomerComplaintServiceImpl.java
+1
-1
CustomerController.http
...ustomer/controller/admin/customer/CustomerController.http
+1
-1
CustomerController.java
...ustomer/controller/admin/customer/CustomerController.java
+14
-293
CustomerMergeService.java
...tomer/controller/admin/customer/CustomerMergeService.java
+10
-0
CustomerMergeServiceImpl.java
...r/controller/admin/customer/CustomerMergeServiceImpl.java
+352
-0
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/dal/mysql/customer/CustomerComplaintMapper.java
View file @
26c696cf
...
...
@@ -122,7 +122,7 @@ public interface CustomerComplaintMapper extends BaseMapperX<CustomerComplaintDO
"</script>"
})
List
<
CustomerComplaintExcelVO
>
selectList
(
@Param
(
"query"
)
CustomerComplaintExportReqVO
query
);
List
<
CustomerComplaintExcelVO
>
select
Excel
List
(
@Param
(
"query"
)
CustomerComplaintExportReqVO
query
);
}
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/dal/mysql/customer/CustomerMapper.java
View file @
26c696cf
...
...
@@ -25,13 +25,13 @@ import java.util.List;
public
interface
CustomerMapper
extends
BaseMapperX
<
CustomerDO
>
{
//合并操作日志
void
doMergeCustomerOperateLog
(
long
customer_id1
,
l
ong
customer_id2
);
void
doMergeCustomerOperateLog
(
@Param
(
"customer_id1"
)
Long
customer_id1
,
@Param
(
"customer_id2"
)
L
ong
customer_id2
);
//合并客户信用日志
void
doMergeCustomerCreditLog
(
long
customer_id1
,
l
ong
customer_id2
);
void
doMergeCustomerCreditLog
(
@Param
(
"customer_id1"
)
Long
customer_id1
,
@Param
(
"customer_id2"
)
L
ong
customer_id2
);
//合并客户登记日志
void
doMergeCustomerLevelLog
(
long
customer_id1
,
l
ong
customer_id2
);
void
doMergeCustomerLevelLog
(
@Param
(
"customer_id1"
)
Long
customer_id1
,
@Param
(
"customer_id2"
)
L
ong
customer_id2
);
IPage
<
CustomerDO
>
getPage
(
IPage
<
CustomerDO
>
page
,
@Param
(
Constants
.
WRAPPER
)
Wrapper
<
CustomerDO
>
queryWrapper
);
...
...
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/service/customer/complaint/CustomerComplaintServiceImpl.java
View file @
26c696cf
...
...
@@ -131,7 +131,7 @@ public class CustomerComplaintServiceImpl extends AbstractService<CustomerCompla
@Override
public
List
<
CustomerComplaintExcelVO
>
getCustomerComplaintList
(
CustomerComplaintExportReqVO
exportReqVO
)
{
return
customerComplaintMapper
.
selectList
(
exportReqVO
);
return
customerComplaintMapper
.
select
Excel
List
(
exportReqVO
);
}
}
yudao-module-customer/yudao-module-customer-rest/src/main/java/cn/iocoder/yudao/module/customer/controller/admin/customer/CustomerController.http
View file @
26c696cf
...
...
@@ -15,7 +15,7 @@ Content-Type: application/json
### 合并客户
GET {{baseUrl}}/ecw/customer/mergeCus?customerIdSaved=520
09&customerIdDeleted=51966
GET {{baseUrl}}/ecw/customer/mergeCus?customerIdSaved=520
43&customerIdDeleted=52042
Authorization: Bearer {{token}}
tenant-id: {{adminTenentId}}
Content-Type: application/json
...
...
yudao-module-customer/yudao-module-customer-rest/src/main/java/cn/iocoder/yudao/module/customer/controller/admin/customer/CustomerController.java
View file @
26c696cf
This diff is collapsed.
Click to expand it.
yudao-module-customer/yudao-module-customer-rest/src/main/java/cn/iocoder/yudao/module/customer/controller/admin/customer/CustomerMergeService.java
0 → 100644
View file @
26c696cf
package
cn
.
iocoder
.
yudao
.
module
.
customer
.
controller
.
admin
.
customer
;
import
cn.iocoder.yudao.module.customer.dal.dataobject.customer.CustomerDO
;
public
interface
CustomerMergeService
{
boolean
doMergeCus
(
CustomerDO
customerDOSaved
,
CustomerDO
customerDODeleted
,
long
loginUserId
);
}
yudao-module-customer/yudao-module-customer-rest/src/main/java/cn/iocoder/yudao/module/customer/controller/admin/customer/CustomerMergeServiceImpl.java
0 → 100644
View file @
26c696cf
This diff is collapsed.
Click to expand it.
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