md
This commit is contained in:
parent
7d592845d3
commit
c897d29dd1
@ -851,13 +851,16 @@ public class EmisWaybillController extends EmisBaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// 循环子单,最多60个早点
|
// 循环子单,最多60
|
||||||
log.error("===>billSubCodeAllStr==>",billSubCodeAllStr);
|
log.error("===>billSubCodeAllStr==>",billSubCodeAllStr);
|
||||||
if(!StringUtils.isEmpty(billSubCodeAllStr)) {
|
if(!StringUtils.isEmpty(billSubCodeAllStr)) {
|
||||||
String[] subCodArr=billSubCodeAllStr.split(",");
|
String[] subCodArr=billSubCodeAllStr.split(",");
|
||||||
for (String item:subCodArr) {
|
int i=0;
|
||||||
|
for (int i<0;i<50 && i<subCodArr.length;i++ ) {
|
||||||
|
String item = subCodArr[i];
|
||||||
|
|
||||||
if(!StringUtils.isEmpty(item)) {
|
if(!StringUtils.isEmpty(item)) {
|
||||||
Map<String, Object> order = emisBaseService.getWaybillPrintOrder(item, billCodeRange, tpCodeItem, "zh", tpCodeItem, printManCode);
|
Map<String, Object> order = emisBaseService.getWaybillPrintOrder(item, subBillCodeRange, tpCodeItem, "zh", tpCodeItem, printManCode);
|
||||||
String pdfBase64Data = xtp.genPDFBase64(order);
|
String pdfBase64Data = xtp.genPDFBase64(order);
|
||||||
JSONObject jObj = new JSONObject();
|
JSONObject jObj = new JSONObject();
|
||||||
jObj.put("result", "success");
|
jObj.put("result", "success");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user