|
@@ -331,15 +331,17 @@ public class SyPreAssembledPackingListItem implements Serializable {
|
|
|
outerBoxLength=new BigDecimal(parsms[12]);
|
|
|
outerBoxWidth=new BigDecimal(parsms[13]);
|
|
|
outerBoxHeight=new BigDecimal(parsms[14]);
|
|
|
- if(parsms[15]==null||parsms[15].length()==0){
|
|
|
+
|
|
|
+ /*if(parsms[15]==null||parsms[15].length()==0){
|
|
|
netWeightToo=new BigDecimal("0");
|
|
|
}else{
|
|
|
netWeightToo=new BigDecimal(parsms[15]);
|
|
|
- }
|
|
|
- withCode=parsms[17];//配码
|
|
|
+ }*/
|
|
|
+
|
|
|
+ withCode=parsms[16];//配码
|
|
|
//发运明细分组ID 发运明细主表ID 申报要素ID
|
|
|
- groupId=parsms[17+5];//分组id
|
|
|
- syDeclarationElementsId=parsms[18+5];
|
|
|
+ groupId=parsms[16+5];//分组id
|
|
|
+ syDeclarationElementsId=parsms[16+6];
|
|
|
sizeTables=new ArrayList<>();
|
|
|
String planSize="";
|
|
|
int piecesBox=0;
|
|
@@ -369,9 +371,8 @@ public class SyPreAssembledPackingListItem implements Serializable {
|
|
|
}
|
|
|
|
|
|
public static boolean isNumeric(String str) {
|
|
|
- String bigStr;
|
|
|
try {
|
|
|
- bigStr = new BigDecimal(str).toString();
|
|
|
+ new BigDecimal(str).toString();
|
|
|
} catch (Exception e) {
|
|
|
return false;//异常 说明包含非数字。
|
|
|
}
|