This commit is contained in:
linfso 2024-06-24 07:43:30 +08:00
parent af3e645cfc
commit 0eca9da8ed
2 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ public class EmisWaybillController extends EmisBaseController
return AjaxResult.error("参数错误");
}
billCode=WaybillHelper.formatQueryValue(billCode)
if(!StringUtils.isEmpty(billCode) ){
waybillOrder = emisWaybillService.getWaybillOrderByBillCode(billCode);
if(waybillOrder==null){

View File

@ -218,6 +218,7 @@ public class WaybillHelper {
public static String formatQueryValue(String str) {
if(!StringUtils.isEmpty(str)){
str=str.replaceAll("\\n", ",");
str=str.replaceAll("\\t", ",");
str=str.replaceAll(",+", ",");
str=StringUtils.removeEnd(str, ",");
}