Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 55e9dd4f
authored
Apr 20, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车家智能数据服务 用户数据插入上加锁--think.wang
1 parent
9e9f18b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
src/main/java/com/glsx/smart/service/impl/SmartUserRelationServiceImpl.java
src/main/java/com/glsx/smart/service/impl/SmartUserRelationServiceImpl.java
View file @
55e9dd4
...
@@ -7,7 +7,6 @@ import com.glsx.smart.exception.ResultEnum;
...
@@ -7,7 +7,6 @@ import com.glsx.smart.exception.ResultEnum;
import
com.glsx.smart.service.SmartUserRelationService
;
import
com.glsx.smart.service.SmartUserRelationService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
...
@@ -46,8 +45,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
...
@@ -46,8 +45,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
}
}
@Override
@Override
@Transactional
public
synchronized
Long
insertSelective
(
SmartUserRelation
record
)
{
public
Long
insertSelective
(
SmartUserRelation
record
)
{
SmartUserRelation
request
=
new
SmartUserRelation
();
SmartUserRelation
request
=
new
SmartUserRelation
();
request
.
setPhone
(
record
.
getPhone
());
request
.
setPhone
(
record
.
getPhone
());
request
.
setChannel
(
record
.
getChannel
());
//涂鸦
request
.
setChannel
(
record
.
getChannel
());
//涂鸦
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment