Commit a12241fe authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent c7d6c87e
...@@ -102,6 +102,12 @@ public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<Perform ...@@ -102,6 +102,12 @@ public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<Perform
} else { } else {
entity.setOtherCount(0); entity.setOtherCount(0);
} }
}else {
entity.setAttendCount(0);
entity.setAssessCount(0);
entity.setWorkCount(0);
entity.setOtherCount(0);
entity.setEffectCount(0);
} }
} }
...@@ -123,6 +129,12 @@ public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<Perform ...@@ -123,6 +129,12 @@ public class PerformStaffConfServiceImpl extends AbstractCRUDServiceImpl<Perform
} }
} }
performStaffConfDetailService.save(entity.getStaffConfDetail(), context); performStaffConfDetailService.save(entity.getStaffConfDetail(), context);
}else {
List<PerformStaffConfDetailEntity> list = performStaffConfDetailService.find(new PerformStaffConfDetailQuery().staffConfId(entity.getId()));
if(CollectionUtils.isNotEmpty(list)){
Long[] ids = list.stream().map(PerformStaffConfDetailEntity::getId).toArray(Long[]::new);
performStaffConfDetailService.remove(ids,context);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment