|
@@ -99,7 +99,7 @@ public class UserAccountServiceImpl implements IUserAccountService {
|
|
|
*/
|
|
*/
|
|
|
@Override
|
|
@Override
|
|
|
public Boolean deleteById(String userId) {
|
|
public Boolean deleteById(String userId) {
|
|
|
- UserAccountVo vo = baseMapper.selectVoById(userId);
|
|
|
|
|
|
|
+ UserAccountVo vo = TenantHelper.ignore(() -> baseMapper.selectVoById(userId));
|
|
|
vo.setDelFlag(DefaultConstants.DELETED);
|
|
vo.setDelFlag(DefaultConstants.DELETED);
|
|
|
kafkaNormalProducer.sendKafkaMessage(KafkaTopicConstants.SYNC_DATA_TOPIC, EventTypeConstants.ACCOUNT, EventSenderEnum.BACKSTAGE.code(), vo);
|
|
kafkaNormalProducer.sendKafkaMessage(KafkaTopicConstants.SYNC_DATA_TOPIC, EventTypeConstants.ACCOUNT, EventSenderEnum.BACKSTAGE.code(), vo);
|
|
|
return TenantHelper.ignore(() -> baseMapper.update(null, new LambdaUpdateWrapper<UserAccount>()
|
|
return TenantHelper.ignore(() -> baseMapper.update(null, new LambdaUpdateWrapper<UserAccount>()
|
|
@@ -111,7 +111,7 @@ public class UserAccountServiceImpl implements IUserAccountService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public Boolean deleteById(Long userId, Long operationId) {
|
|
public Boolean deleteById(Long userId, Long operationId) {
|
|
|
- UserAccountVo vo = baseMapper.selectVoById(userId);
|
|
|
|
|
|
|
+ UserAccountVo vo = TenantHelper.ignore(() -> baseMapper.selectVoById(userId));
|
|
|
vo.setDelFlag(DefaultConstants.DELETED);
|
|
vo.setDelFlag(DefaultConstants.DELETED);
|
|
|
vo.setUpdateBy(operationId);
|
|
vo.setUpdateBy(operationId);
|
|
|
vo.setUpdateTime(DateUtil.date());
|
|
vo.setUpdateTime(DateUtil.date());
|