fix(测试跟踪): 缺陷管理表头自定义字段排序有误
--bug=1019771 --user=宋昌昌 【测试跟踪】缺陷管理-表头排序报sql错 https://www.tapd.cn/55049933/s/1300292
This commit is contained in:
parent
d2a15ef377
commit
47c697fd5f
|
@ -41,7 +41,7 @@ public class OrderRequest {
|
||||||
if (StringUtils.isEmpty(script)) {
|
if (StringUtils.isEmpty(script)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Pattern pattern = Pattern.compile("^\\w+$");
|
Pattern pattern = Pattern.compile("^[\\w|\\-]+$");
|
||||||
Matcher matcher = pattern.matcher(script.toLowerCase());
|
Matcher matcher = pattern.matcher(script.toLowerCase());
|
||||||
return !matcher.find();
|
return !matcher.find();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue