fix: 修复 href name 重复验证不准确问题

This commit is contained in:
shizhendong
2024-09-05 14:31:23 +08:00
parent bba9a543b0
commit 00a647eb35

View File

@@ -41,13 +41,10 @@ public class ApplicationHrefServiceImpl extends ServiceImpl<ApplicationHrefDao,
entity.setCreateTimestamp(System.currentTimeMillis()); entity.setCreateTimestamp(System.currentTimeMillis());
entity.setCreateUserId(StpUtil.getLoginIdAsString()); entity.setCreateUserId(StpUtil.getLoginIdAsString());
}
// update batch // save or update
if (T.CollUtil.isNotEmpty(hrefList)) { this.saveOrUpdate(entity);
this.saveOrUpdateBatch(hrefList);
} }
return hrefList; return hrefList;
} }