|
|
|
@ -53,14 +53,6 @@ public class ZSRM_PUR_INFO_GY107_Action extends BaseBean implements Action, EsbS
|
|
|
|
|
logger_da6b5da2.error(String.valueOf("ZSRM_PUR_INFO_GY107_Action-start-" + requestid));
|
|
|
|
|
String sync = "";
|
|
|
|
|
Property[] aproperty = requestinfo.getMainTableInfo().getProperty();
|
|
|
|
|
|
|
|
|
|
if (aproperty == null) {
|
|
|
|
|
logger_da6b5da2.error("aproperty is null at line X");
|
|
|
|
|
throw new NullPointerException("aproperty is null");
|
|
|
|
|
}
|
|
|
|
|
logger_da6b5da2.info("aproperty length: " + aproperty.length);
|
|
|
|
|
logger_da6b5da2.info("aproperty content: " + Arrays.toString(aproperty));
|
|
|
|
|
|
|
|
|
|
for (int j = 0; j < aproperty.length; j++) {
|
|
|
|
|
String name = aproperty[j].getName().toUpperCase();
|
|
|
|
|
String value = Util.null2String(aproperty[j].getValue());
|
|
|
|
@ -70,23 +62,8 @@ public class ZSRM_PUR_INFO_GY107_Action extends BaseBean implements Action, EsbS
|
|
|
|
|
}
|
|
|
|
|
if ("0".equals(sync)) {
|
|
|
|
|
DetailTable[] detailtable = requestinfo.getDetailTableInfo().getDetailTable();
|
|
|
|
|
|
|
|
|
|
if (detailtable == null) {
|
|
|
|
|
logger_da6b5da2.error("detailtable is null at line X");
|
|
|
|
|
throw new NullPointerException("detailtable is null");
|
|
|
|
|
}
|
|
|
|
|
logger_da6b5da2.info("detailtable length: " + detailtable.length);
|
|
|
|
|
logger_da6b5da2.info("detailtable content: " + Arrays.toString(detailtable));
|
|
|
|
|
|
|
|
|
|
DetailTable dtq = detailtable[0];
|
|
|
|
|
|
|
|
|
|
logger_da6b5da2.info("dtq content: " + dtq.toString());
|
|
|
|
|
|
|
|
|
|
Row[] sq = dtq.getRow();
|
|
|
|
|
|
|
|
|
|
logger_da6b5da2.info("sq length: " + sq.length);
|
|
|
|
|
logger_da6b5da2.info("sq content: " + Arrays.toString(sq));
|
|
|
|
|
|
|
|
|
|
if (sq.length > 0) {
|
|
|
|
|
String[][] str = new String[sq.length][21];
|
|
|
|
|
for (int j = 0; j < sq.length; j++) {
|
|
|
|
|