商品模块代码提交

This commit is contained in:
Tankaikai
2025-02-13 15:34:22 +08:00
parent 6f66bc8d43
commit 7a0563a434

View File

@@ -32,7 +32,7 @@ public class SqlUtil {
*/
public static String escapeOrderBySql(String value) {
if (StrUtil.isNotEmpty(value)) {
if (!check(value)) {
if (check(value)) {
throw new IllegalArgumentException("参数不符合规范,不能进行查询");
}
if (value.length() > ORDER_BY_MAX_LENGTH) {