|
|
@ -554,7 +554,7 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
|
|
|
|
assetEmailService.deleteIdList(emailidList);
|
|
|
|
assetEmailService.deleteIdList(emailidList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//将子表数据复制到主表中
|
|
|
|
//将子表数据复制到主表中
|
|
|
|
List<AssetEmail> emailNewList = appList.stream()
|
|
|
|
List<AssetEmail> emailNewList = emailCpPoListList.stream()
|
|
|
|
.map(cpPo -> {
|
|
|
|
.map(cpPo -> {
|
|
|
|
AssetEmail current = new AssetEmail();
|
|
|
|
AssetEmail current = new AssetEmail();
|
|
|
|
BeanUtils.copyProperties(cpPo, current); // 复制属性
|
|
|
|
BeanUtils.copyProperties(cpPo, current); // 复制属性
|
|
|
@ -572,7 +572,7 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
|
|
|
|
assetMiniProgramsService.deleteIdList(miniidList);
|
|
|
|
assetMiniProgramsService.deleteIdList(miniidList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//将子表数据复制到主表中
|
|
|
|
//将子表数据复制到主表中
|
|
|
|
List<AssetMiniPrograms> miniNewList = appList.stream()
|
|
|
|
List<AssetMiniPrograms> miniNewList = miniProgramsCpPoListList.stream()
|
|
|
|
.map(cpPo -> {
|
|
|
|
.map(cpPo -> {
|
|
|
|
AssetMiniPrograms current = new AssetMiniPrograms();
|
|
|
|
AssetMiniPrograms current = new AssetMiniPrograms();
|
|
|
|
BeanUtils.copyProperties(cpPo, current); // 复制属性
|
|
|
|
BeanUtils.copyProperties(cpPo, current); // 复制属性
|
|
|
@ -591,7 +591,7 @@ public class AssetTaskServiceImpl extends ServiceImpl<AssetTaskMapper, AssetTask
|
|
|
|
assetOfficialAccountService.deleteIdList(officialidList);
|
|
|
|
assetOfficialAccountService.deleteIdList(officialidList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//将子表数据复制到主表中
|
|
|
|
//将子表数据复制到主表中
|
|
|
|
List<AssetOfficialAccount> officialNewList = appList.stream()
|
|
|
|
List<AssetOfficialAccount> officialNewList = officialAccountCpPoListList.stream()
|
|
|
|
.map(cpPo -> {
|
|
|
|
.map(cpPo -> {
|
|
|
|
AssetOfficialAccount current = new AssetOfficialAccount();
|
|
|
|
AssetOfficialAccount current = new AssetOfficialAccount();
|
|
|
|
BeanUtils.copyProperties(cpPo, current); // 复制属性
|
|
|
|
BeanUtils.copyProperties(cpPo, current); // 复制属性
|
|
|
|