Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
向汉
/
uc-engine
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4a8cf5bd
...
4a8cf5bd6c8f7d003e35702f5f400f16bec8668e
authored
2022-06-16 10:09:06 +0800
by
xianghan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.添加日志记录
1 parent
a9e603e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
member-service-impl/src/main/java/com/topdraw/business/module/user/iptv/service/impl/UserTvServiceImpl.java
member-service-impl/src/main/java/com/topdraw/business/module/user/iptv/service/impl/UserTvServiceImpl.java
View file @
4a8cf5b
...
...
@@ -12,6 +12,7 @@ import com.topdraw.business.module.user.iptv.repository.UserTvRepository;
import
com.topdraw.business.module.user.iptv.service.UserTvService
;
import
com.topdraw.business.module.user.iptv.service.dto.UserTvDTO
;
import
com.topdraw.business.module.user.iptv.service.mapper.UserTvMapper
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.aop.framework.AopContext
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -31,6 +32,7 @@ import java.util.Optional;
*/
@Service
@Transactional
(
propagation
=
Propagation
.
SUPPORTS
,
readOnly
=
true
,
rollbackFor
=
Exception
.
class
)
@Slf4j
public
class
UserTvServiceImpl
implements
UserTvService
{
...
...
@@ -84,6 +86,7 @@ public class UserTvServiceImpl implements UserTvService {
Integer
integer
=
this
.
userTvRepository
.
updateUserTvVisUserId
(
userTvDTO
.
getId
(),
resources
.
getVisUserId
(),
LocalDateTime
.
now
());
if
(
integer
==
1
)
{
log
.
info
(
"修改大屏vis_user id成功,同步至大屏侧数据库, userTvDTO ==>> {}"
,
userTvDTO
);
((
UserTvServiceImpl
)
AopContext
.
currentProxy
()).
asyncUpdateUserTvVisUserId
(
userTvDTO
);
}
...
...
Please
register
or
sign in
to post a comment