【修改初始化仿真时,群组信息不重置BUG】

This commit is contained in:
weizhihong 2023-05-22 14:58:42 +08:00
parent b302f7d4d4
commit 803d1a761f

View File

@ -301,11 +301,8 @@ public class Simulation extends club.joylink.rtss.simulation.Simulation<Simulati
*/
public void initDefaultConversationGroupMap() {
SimulationBuildParams buildParams = this.getBuildParams();
List<ConversationGroupVO> conversationGroupVOList = buildParams.getMap().getGraphDataNew()
List<ConversationGroupVO> conversationGroupVOList = buildParams.getMap().getGraphDataNew()
.getConversationGroupMap().get(buildParams.getWorkParamVO().getType());
if (CollectionUtils.isEmpty(conversationGroupVOList)) {
return;
}
Map<Long, ConversationGroup> groupMap = conversationGroupVOList.stream().filter(ConversationGroupVO::isValid)
.map(g ->{
ConversationGroup group = new ConversationGroup(this, g);