wwl 3 năm trước cách đây
mục cha
commit
9b91e85f72

+ 1 - 1
twzd-common/src/main/java/com/miaxis/common/utils/XmlUtil.java

@@ -100,7 +100,7 @@ public class XmlUtil {
         org.w3c.dom.Element image = document.createElement("Image");
         root.appendChild(image);
         org.w3c.dom.Element mediaId = document.createElement("MediaId");
-        msgType.setTextContent(data.get("MediaId"));
+        mediaId.setTextContent(data.get("MediaId"));
         image.appendChild(mediaId);
 
         TransformerFactory tf = TransformerFactory.newInstance();