【修改初始化仿真时,群组信息不重置BUG】
This commit is contained in:
parent
b302f7d4d4
commit
803d1a761f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user