This commit is contained in:
linfso 2024-08-04 17:17:41 +08:00
parent cc9af40cea
commit d67fc374eb

View File

@ -266,6 +266,7 @@ public class WaybillHelper {
*/
public static String formatQueryValue(String str) {
if(!StringUtils.isEmpty(str)){
log.error("==formatQueryValue111==>str:{}",str);
try {
str= URLDecoder.decode(str,"UTF-8");
} catch (UnsupportedEncodingException e) {
@ -277,6 +278,7 @@ public class WaybillHelper {
str=str.replaceAll("\\s*", "");
str=str.replaceAll(",+", ",");
str=StringUtils.removeEnd(str, ",");
log.error("==formatQueryValue222==>str:{}",str);
}
return str;