#xinfengYin-21# SAP204-成品差价率维护流程02

ht
xinfengYin 1 month ago
parent 2709b5adbf
commit ff869f8a5c

@ -55,7 +55,7 @@ public class ZOEM_PRICE_DIFFERENCE_RATE_Action extends BaseBean implements Actio
// } // }
// <20><>ϸ<EFBFBD><CFB8>1 // <20><>ϸ<EFBFBD><CFB8>1
DetailTable[] detailtable = requestinfo.getDetailTableInfo().getDetailTable(); DetailTable[] detailtable = requestinfo.getDetailTableInfo().getDetailTable();
log.error("ZOEM_PRICE_DIFFERENCE_RATE_Action detailtable===>"+ JSONObject.toJSONString(detailtable)); // log.error("ZOEM_PRICE_DIFFERENCE_RATE_Action detailtable===>"+ JSONObject.toJSONString(detailtable));
DetailTable dtq = detailtable[0]; DetailTable dtq = detailtable[0];
log.error("length" + detailtable.length); log.error("length" + detailtable.length);
Row[] sq = dtq.getRow(); Row[] sq = dtq.getRow();
@ -107,10 +107,14 @@ public class ZOEM_PRICE_DIFFERENCE_RATE_Action extends BaseBean implements Actio
} }
} }
// <20><>ϸ<EFBFBD><CFB8>2 // <20><>ϸ<EFBFBD><CFB8>2
DetailTable dtq2 = detailtable[1];
DetailTable dtq2 ;
String[][] str2 = new String[][]{};
if(detailtable.length >1){
dtq2 =detailtable[1];
Row[] sq2 = dtq2.getRow(); Row[] sq2 = dtq2.getRow();
StringBuilder sb2 = new StringBuilder(); StringBuilder sb2 = new StringBuilder();
String[][] str2 = new String[sq2.length][7]; str2= new String[sq2.length][7];
if (sq2.length > 0) { if (sq2.length > 0) {
for (int j = 0; j < sq2.length; j++) { for (int j = 0; j < sq2.length; j++) {
Row rq = sq2[j]; Row rq = sq2[j];
@ -148,6 +152,10 @@ public class ZOEM_PRICE_DIFFERENCE_RATE_Action extends BaseBean implements Actio
str2[j][6] = map.get("LJCJLDZS"); str2[j][6] = map.get("LJCJLDZS");
} }
} }
}
ZOEM_PRICE_DIFFERENCE_RATE info = new ZOEM_PRICE_DIFFERENCE_RATE(); ZOEM_PRICE_DIFFERENCE_RATE info = new ZOEM_PRICE_DIFFERENCE_RATE();
String[] ret = info.Getexecute(str, str2); String[] ret = info.Getexecute(str, str2);
state = ret[0]; state = ret[0];

Loading…
Cancel
Save