mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
Caused by: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
This commit is contained in:
@@ -39,8 +39,8 @@ public class DataUserSyncServiceImpl implements IDataUserSyncService{
|
||||
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public void syncUserFull(UserData user) {
|
||||
// @Transactional
|
||||
public synchronized void syncUserFull(UserData user) {
|
||||
log.info("同步用户【"+user.getId()+","+user.getCode()+"】");
|
||||
//如果删除状态为空,则设置为不删除
|
||||
if(user.getDeleted()==null) {
|
||||
|
||||
Reference in New Issue
Block a user