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
7bc0cadf
Commit
7bc0cadf
authored
Jan 13, 2025
by
Smile
Committed by
wux
Jan 13, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员积分规则匹配,当有两个不相冲突的积分规则,只匹配一个问题修改
parent
141ac79e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
64 deletions
+80
-64
CustomerContactsServiceImpl.java
...service/customerContacts/CustomerContactsServiceImpl.java
+12
-1
OrderVStrategy.java
.../module/member/mq/consumer/score/core/OrderVStrategy.java
+68
-63
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/service/customerContacts/CustomerContactsServiceImpl.java
View file @
7bc0cadf
...
...
@@ -16,6 +16,8 @@ import cn.iocoder.yudao.module.customer.vo.customer.customerContacts.CustomerCon
import
cn.iocoder.yudao.module.customer.vo.customer.customerContacts.CustomerContactsPageReqVO
;
import
cn.iocoder.yudao.module.customer.vo.customer.customerContacts.CustomerContactsUpdateReqVO
;
import
cn.iocoder.yudao.module.ecw.service.paramValid.ParamValidatorService
;
import
cn.iocoder.yudao.module.member.api.user.MemberUserApi
;
import
cn.iocoder.yudao.module.member.api.user.dto.UserRespDTO
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.apache.commons.lang3.StringUtils
;
...
...
@@ -44,6 +46,8 @@ public class CustomerContactsServiceImpl extends AbstractService<CustomerContact
private
CustomerContactsMapper
customerContactsMapper
;
@Resource
private
ParamValidatorService
paramValidatorService
;
@Resource
private
MemberUserApi
memberUserApi
;
@Override
public
Long
createCustomerContacts
(
CustomerContactsCreateReqVO
createReqVO
)
{
...
...
@@ -124,7 +128,14 @@ public class CustomerContactsServiceImpl extends AbstractService<CustomerContact
@Override
public
List
<
CustomerContactsDO
>
getCustomerContactsListByCustomerId
(
Long
customerId
)
{
return
customerContactsMapper
.
selectList
(
new
LambdaQueryWrapperX
<
CustomerContactsDO
>().
eqIfPresent
(
CustomerContactsDO:
:
getCustomerId
,
customerId
));
List
<
CustomerContactsDO
>
customerContactsDOS
=
customerContactsMapper
.
selectList
(
new
LambdaQueryWrapperX
<
CustomerContactsDO
>().
eqIfPresent
(
CustomerContactsDO:
:
getCustomerId
,
customerId
));
customerContactsDOS
.
forEach
(
customerContactsDO
->
{
if
(
customerContactsDO
.
getUserid
()!=
null
)
{
UserRespDTO
user
=
memberUserApi
.
getUser
(
customerContactsDO
.
getUserid
());
customerContactsDO
.
setUsername
(
user
.
getNickname
());
}
});
return
customerContactsDOS
;
}
@Override
...
...
yudao-module-member/yudao-module-member-impl/src/main/java/cn/iocoder/yudao/module/member/mq/consumer/score/core/OrderVStrategy.java
View file @
7bc0cadf
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