春风项目四线(合箱线、总装线)
wujian
2024-08-25 a5383f185d9ea618cfed8e887dfc020f1b23b64b
jcdm-main/src/main/java/com/jcdm/main/webservice/service/ReceivingServices.java
@@ -240,16 +240,24 @@
        if (ObjectUtil.isNotNull(result)){
            logger.info("messageLocation2,"+result);
            String string = result.get("EV_MESSAGE").toString();
            if (string.contains("查询成功")){
                logger.info("messageLocation3,"+string);
                JsonObject etData = jsonObject2
                        .getAsJsonObject("SOAP:Envelope")
                        .getAsJsonObject("SOAP:Body")
                        .getAsJsonObject("n0:ZPP_CF_MES_005.Response")
                        .getAsJsonObject("ET_DATA");
                data = etData.toString();
                logger.info("messageLocation4,"+data);
            }
//            if (string.contains("查询成功")){
//                logger.info("messageLocation3,"+string);
//                JsonObject etData = jsonObject2
//                        .getAsJsonObject("SOAP:Envelope")
//                        .getAsJsonObject("SOAP:Body")
//                        .getAsJsonObject("n0:ZPP_CF_MES_005.Response")
//                        .getAsJsonObject("ET_DATA");
//                data = etData.toString();
//                logger.info("messageLocation4,"+data);
//            }
            logger.info("messageLocation3,"+string);
            JsonObject etData = jsonObject2
                    .getAsJsonObject("SOAP:Envelope")
                    .getAsJsonObject("SOAP:Body")
                    .getAsJsonObject("n0:ZPP_CF_MES_005.Response")
                    .getAsJsonObject("ET_DATA");
            data = etData.toString();
            logger.info("messageLocation4,"+data);
        }
        return data;