md
This commit is contained in:
parent
2f18a2c827
commit
c534d8d987
@ -1901,7 +1901,7 @@ public class EmisBaseService {
|
||||
|
||||
|
||||
extData.put("freight",waybill.getFreight());
|
||||
extData.put("feeRemark",waybill.getFeeRemark());
|
||||
extData.put("feeRemark",WaybillHelper.removeUnSeeChar(waybill.getFeeRemark()));
|
||||
extData.put("volumeWeight",waybill.getVolumeWeight());
|
||||
extData.put("settlementWeight",waybill.getSettlementWeight());
|
||||
|
||||
|
||||
@ -250,7 +250,7 @@ public class WaybillHelper {
|
||||
|
||||
public static String removeUnSeeChar(String str) {
|
||||
if(!StringUtils.isEmpty(str)){
|
||||
return str.replaceAll("\\p{C}+", "");
|
||||
return str.replaceAll("\\p{C}+", "").replaceAll("\\u00A0+", " ");
|
||||
}
|
||||
|
||||
return str;
|
||||
@ -343,6 +343,13 @@ public class WaybillHelper {
|
||||
// String mainBillCode=billCode.substring(0,len-4);
|
||||
// System.out.print(mainBillCode);
|
||||
|
||||
|
||||
String m1="Esmi Lee苏星";
|
||||
System.out.println(m1);
|
||||
String m2 = m1.replaceAll("\\p{C}", "");
|
||||
m2 = m2.replaceAll("\\u00A0+", " ");
|
||||
System.out.println(m2);
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user