fix: 修复 href name 重复验证不准确问题
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user