md
This commit is contained in:
parent
4386b881aa
commit
87e2375db4
@ -816,7 +816,6 @@ public class EmisWaybillController extends EmisBaseController
|
|||||||
// 忽略错误
|
// 忽略错误
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}catch (Exception ex){
|
}catch (Exception ex){
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
@ -825,9 +824,6 @@ public class EmisWaybillController extends EmisBaseController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping("/updatePrintStatus")
|
@RequestMapping("/updatePrintStatus")
|
||||||
public AjaxResult updatePrintStatus(String billCode)
|
public AjaxResult updatePrintStatus(String billCode)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -864,7 +864,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
if("1".equals(emisWaybillSave.getBlGenSubbill()) ){
|
if("1".equals(emisWaybillSave.getBlGenSubbill()) ){
|
||||||
// 子单号拼接
|
// 子单号拼接
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for(int i=1;i<=emisWaybillSave.getParcelQty().intValue() && i<15;i++){
|
for(int i=1;i<=emisWaybillSave.getParcelQty().intValue();i++){
|
||||||
sb.append(emisWaybillSave.getBillCode()+ StringUtils.leftPad(String.valueOf(i),4,"0")+",");
|
sb.append(emisWaybillSave.getBillCode()+ StringUtils.leftPad(String.valueOf(i),4,"0")+",");
|
||||||
}
|
}
|
||||||
emisWaybillSave.setBillCodeSub(sb.toString());
|
emisWaybillSave.setBillCodeSub(sb.toString());
|
||||||
|
|||||||
@ -165,22 +165,22 @@ public class PrintUtils
|
|||||||
return arrayOfByte;
|
return arrayOfByte;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main1(String[] args) {
|
public static void main(String[] args) {
|
||||||
// String jObj = null;
|
String jObj = null;
|
||||||
// try {
|
try {
|
||||||
//// T1232432432432&tplCode=TAN-GM-130&_t=123
|
// T1232432432432&tplCode=TAN-GM-130&_t=123
|
||||||
// for(int i=0;i<1;i++) {
|
for(int i=0;i<1;i++) {
|
||||||
// JSONArray jsonArray = PrintUtils.getImageByBillCode("T1232432432432", "TAN-GM-130","1");
|
JSONArray jsonArray = PrintUtils.getImageByBillCode("T7080300003651", "TAN-GM-130","1");
|
||||||
// System.out.println(jsonArray.toJSONString());
|
System.out.println(jsonArray.toJSONString());
|
||||||
// }
|
}
|
||||||
// } catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// e.printStackTrace();
|
e.printStackTrace();
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main1(String[] args) {
|
||||||
//String target = "/Users/zhiyu/Desktop/test/aaa_bin.bmp";
|
//String target = "/Users/zhiyu/Desktop/test/aaa_bin.bmp";
|
||||||
String target = "/Users/alan/Downloads/T1232432432432.jpg";
|
String target = "/Users/alan/Downloads/T1232432432432.jpg";
|
||||||
File file = new File(target);
|
File file = new File(target);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user