update
This commit is contained in:
+6
@@ -6897,6 +6897,11 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
public List<PhasedImplementationDetailsEO> insertBatchPhasedImplementationDetailsInfo(Map<String, Object> map){
|
||||
String id = (String) map.get("id");
|
||||
|
||||
// 删除之前的分阶段实施明细信息
|
||||
QueryWrapper<PhasedImplementationDetailsEO> deleteWrap = new QueryWrapper<>();
|
||||
deleteWrap.lambda().eq(PhasedImplementationDetailsEO::getBussDocumentLibraryId,id);
|
||||
this.phasedImplementationDetailsEOService.getBaseMapper().delete(deleteWrap);
|
||||
|
||||
List<PhasedImplementationDetailsEO> phasedImplDetailsEOList = new ArrayList<>();
|
||||
if(map.containsKey("phasedImplementationDetailsEOList")){
|
||||
PhasedImplementationDetailsEO phasedImplDetailsEO = null;
|
||||
@@ -6910,6 +6915,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
||||
orderNum ++;
|
||||
}
|
||||
|
||||
// 批量插入最新的分阶段实施明细信息
|
||||
boolean insertPhasedBatchFlag = this.phasedImplementationDetailsEOService.insertBatch(phasedImplDetailsEOList);
|
||||
if(!insertPhasedBatchFlag){
|
||||
throw new JeroBootException("添加分阶段实施详情信息失败!");
|
||||
|
||||
Reference in New Issue
Block a user