|
|
@ -50,7 +50,9 @@ public class ZSRM_PUR_INFO_CheckAction extends BaseBean implements Action, EsbSe
|
|
|
|
for (int j = 0; j < aproperty.length; j++) {
|
|
|
|
for (int j = 0; j < aproperty.length; j++) {
|
|
|
|
String name = aproperty[j].getName().toUpperCase();
|
|
|
|
String name = aproperty[j].getName().toUpperCase();
|
|
|
|
String value = Util.null2String(aproperty[j].getValue());
|
|
|
|
String value = Util.null2String(aproperty[j].getValue());
|
|
|
|
if ("xxjllx".equals(name)) {
|
|
|
|
logger_9ad0d62b.error(String.valueOf("name-" + name));
|
|
|
|
|
|
|
|
logger_9ad0d62b.error(String.valueOf("value-" + value));
|
|
|
|
|
|
|
|
if ("XXJLLX".equals(name)) {
|
|
|
|
xxjllx = value;
|
|
|
|
xxjllx = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -93,8 +95,8 @@ public class ZSRM_PUR_INFO_CheckAction extends BaseBean implements Action, EsbSe
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
DetailTable[] detailtable = requestinfo.getDetailTableInfo().getDetailTable();
|
|
|
|
DetailTable[] detailtable = requestinfo.getDetailTableInfo().getDetailTable();
|
|
|
|
DetailTable dtq = detailtable[0];
|
|
|
|
logger_9ad0d62b.error("dtq -----"+ Arrays.deepToString(detailtable));
|
|
|
|
logger_9ad0d62b.error("dtq -----"+ dtq.toString());
|
|
|
|
DetailTable dtq = detailtable[1];
|
|
|
|
Row[] sq = dtq.getRow();
|
|
|
|
Row[] sq = dtq.getRow();
|
|
|
|
if (sq.length > 0) {
|
|
|
|
if (sq.length > 0) {
|
|
|
|
String[][] str = new String[sq.length][21];
|
|
|
|
String[][] str = new String[sq.length][21];
|
|
|
@ -108,6 +110,7 @@ public class ZSRM_PUR_INFO_CheckAction extends BaseBean implements Action, EsbSe
|
|
|
|
String valueq = Util.null2String(cq1.getValue());
|
|
|
|
String valueq = Util.null2String(cq1.getValue());
|
|
|
|
map.put(nameq, valueq);
|
|
|
|
map.put(nameq, valueq);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
logger_9ad0d62b.error("map -----"+ map);
|
|
|
|
str[j][0] = requestid + "_" + j;
|
|
|
|
str[j][0] = requestid + "_" + j;
|
|
|
|
str[j][1] = map.get("MXCGZZ");
|
|
|
|
str[j][1] = map.get("MXCGZZ");
|
|
|
|
str[j][2] = map.get("CGZ");
|
|
|
|
str[j][2] = map.get("CGZ");
|
|
|
@ -141,7 +144,9 @@ public class ZSRM_PUR_INFO_CheckAction extends BaseBean implements Action, EsbSe
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
|
|
|
|
|
|
logger_9ad0d62b.error(String.valueOf("ZSRM_PUR_INFO_CheckAction-error-" + requestid + "-[" + e.toString() + "]"));
|
|
|
|
logger_9ad0d62b.error(String.valueOf("ZSRM_PUR_INFO_CheckAction-error-" + requestid + "-[" + e.toString() + "]"));
|
|
|
|
|
|
|
|
logger_9ad0d62b.error( "ZSRM_PUR_INFO_CheckAction-error -" ,e);
|
|
|
|
requestinfo.getRequestManager().setMessageid("ERROR");
|
|
|
|
requestinfo.getRequestManager().setMessageid("ERROR");
|
|
|
|
requestinfo.getRequestManager().setMessagecontent("调用SAP接口校验数据出错:" + e.toString());
|
|
|
|
requestinfo.getRequestManager().setMessagecontent("调用SAP接口校验数据出错:" + e.toString());
|
|
|
|
return WeaResult.fail(500, "调用SAP接口校验数据出错:" + e, getResultMapForAction(weaverResultMap, "result", "", requestinfo.getRequestManager()));
|
|
|
|
return WeaResult.fail(500, "调用SAP接口校验数据出错:" + e, getResultMapForAction(weaverResultMap, "result", "", requestinfo.getRequestManager()));
|
|
|
|