change(portal): 添加注释

master
zangch@mesnac.com 2 months ago
parent e61e00e95d
commit b5b6a62ff3

@ -74,6 +74,7 @@ public class HwWebServiceImpl implements IHwWebService
List<HwWeb> exists = hwWebMapper.selectHwWebList(codeWeb);
if (!exists.isEmpty()) {
Long[] webIds = exists.stream().map(HwWeb::getWebId).toArray(Long[]::new);
//逻辑删除旧纪录
hwWebMapper.deleteHwWebByWebIds(webIds);
}
// 插入新记录,避免复用旧主键

@ -83,6 +83,7 @@ public class HwWebServiceImpl1 implements IHwWebService1
List<HwWeb1> exists = hwWebMapper1.selectHwWebList(codeWeb);
if (!exists.isEmpty()) {
Long[] webIds = exists.stream().map(HwWeb1::getWebId).toArray(Long[]::new);
//逻辑删除旧纪录
hwWebMapper1.deleteHwWebByWebIds(webIds);
}
// 插入新记录,避免复用旧主键

Loading…
Cancel
Save