BEIJING/BANGKOK - China said on Thursday that the ruling military in Myanmar and an alliance of ethnic minority militias have agreed to a temporary cease-fire and continued dialogue during peace talks it mediated.