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.setCreateUserId(StpUtil.getLoginIdAsString());
}
// update batch
if (T.CollUtil.isNotEmpty(hrefList)) {
this.saveOrUpdateBatch(hrefList);
// save or update
this.saveOrUpdate(entity);
}
return hrefList;
}