md
This commit is contained in:
parent
5c8b1029e1
commit
876003afd9
@ -1031,7 +1031,6 @@ public class EmisWaybillController extends EmisBaseController
|
|||||||
String billSubCodeAllStr="";
|
String billSubCodeAllStr="";
|
||||||
String[] billCodeArr = billCode.split(",");
|
String[] billCodeArr = billCode.split(",");
|
||||||
if(billCodeArr.length>0){
|
if(billCodeArr.length>0){
|
||||||
// IXddTplPrint xtp = new TanexPdfPrinter();
|
|
||||||
for (String billCodeItem:billCodeArr) {
|
for (String billCodeItem:billCodeArr) {
|
||||||
// 查询主单信息
|
// 查询主单信息
|
||||||
EmisWaybill emisWaybill = emisBaseService.getWaybillByBillCode(billCodeItem);
|
EmisWaybill emisWaybill = emisBaseService.getWaybillByBillCode(billCodeItem);
|
||||||
@ -1112,7 +1111,6 @@ public class EmisWaybillController extends EmisBaseController
|
|||||||
|
|
||||||
String[] billCodeArr = billCode.split(",");
|
String[] billCodeArr = billCode.split(",");
|
||||||
if(billCodeArr.length>0) {
|
if(billCodeArr.length>0) {
|
||||||
// IXddTplPrint xtp = new TanexPdfPrinter();
|
|
||||||
for (String billCodeItem : billCodeArr) {
|
for (String billCodeItem : billCodeArr) {
|
||||||
|
|
||||||
String uuid = UUID.fastUUID().toString();
|
String uuid = UUID.fastUUID().toString();
|
||||||
|
|||||||
@ -220,8 +220,6 @@ public class TanexPdfPrinter extends XddBasePrint {
|
|||||||
order.put("k9", "缅甸快递");
|
order.put("k9", "缅甸快递");
|
||||||
order.put("k18", "1232");
|
order.put("k18", "1232");
|
||||||
|
|
||||||
// ByteArrayOutputStream os = new ByteArrayOutputStream();
|
|
||||||
|
|
||||||
String tplCode="FM";
|
String tplCode="FM";
|
||||||
String pngFile="/Users/alan/Downloads/tst1.png";
|
String pngFile="/Users/alan/Downloads/tst1.png";
|
||||||
|
|
||||||
@ -229,26 +227,8 @@ public class TanexPdfPrinter extends XddBasePrint {
|
|||||||
IXddTplPrint tplPrint = new TanexPdfPrinter();
|
IXddTplPrint tplPrint = new TanexPdfPrinter();
|
||||||
tplPrint.genPNG(order,tplCode,"", os);
|
tplPrint.genPNG(order,tplCode,"", os);
|
||||||
|
|
||||||
// IXddTplPrint xtp = new TanexPdfPrinter();
|
|
||||||
// xtp.genPDF(order,os);
|
|
||||||
// xtp.genPNG(order,out);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
try {
|
|
||||||
|
|
||||||
for(int i=0;i<1;i++){
|
|
||||||
testPrint(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user