|
|
@@ -104,7 +104,7 @@ public class EnterpriseHandler extends BaseNotifyHandler {
|
|
|
entity.setAccountId(accountId);
|
|
|
entity.setStatus(status);
|
|
|
entity.setRemark(remark);
|
|
|
- enterpriseMapper.insert(entity);
|
|
|
+ enterpriseMapper.updateIgnoreTenant(entity);
|
|
|
log.info("通知创建企业记录: enterprise_id={}, status={}, providerId={}", enterpriseId, status, entity.getServiceProviderId());
|
|
|
} else {
|
|
|
// 已存在 → 更新状态
|