md
This commit is contained in:
parent
cc9af40cea
commit
d67fc374eb
@ -266,6 +266,7 @@ public class WaybillHelper {
|
|||||||
*/
|
*/
|
||||||
public static String formatQueryValue(String str) {
|
public static String formatQueryValue(String str) {
|
||||||
if(!StringUtils.isEmpty(str)){
|
if(!StringUtils.isEmpty(str)){
|
||||||
|
log.error("==formatQueryValue111==>str:{}",str);
|
||||||
try {
|
try {
|
||||||
str= URLDecoder.decode(str,"UTF-8");
|
str= URLDecoder.decode(str,"UTF-8");
|
||||||
} catch (UnsupportedEncodingException e) {
|
} catch (UnsupportedEncodingException e) {
|
||||||
@ -277,6 +278,7 @@ public class WaybillHelper {
|
|||||||
str=str.replaceAll("\\s*", "");
|
str=str.replaceAll("\\s*", "");
|
||||||
str=str.replaceAll(",+", ",");
|
str=str.replaceAll(",+", ",");
|
||||||
str=StringUtils.removeEnd(str, ",");
|
str=StringUtils.removeEnd(str, ",");
|
||||||
|
log.error("==formatQueryValue222==>str:{}",str);
|
||||||
}
|
}
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user