diff --git a/src/main/webapp/WEB-INF/views/recordManage/commomSearch/commomListqf.jsp b/src/main/webapp/WEB-INF/views/recordManage/commomSearch/commomListqf.jsp
index ae3184b..c536e6c 100644
--- a/src/main/webapp/WEB-INF/views/recordManage/commomSearch/commomListqf.jsp
+++ b/src/main/webapp/WEB-INF/views/recordManage/commomSearch/commomListqf.jsp
@@ -853,7 +853,7 @@
})
-
+
diff --git a/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js b/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js
index bc596a1..00bdae4 100644
--- a/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js
+++ b/src/main/webapp/static/js/recordManage/commomSearch/commomListqf.js
@@ -247,6 +247,8 @@ var commomtable1 = 'commomtable1';
//拼接sql
function getSql() {
+ $("#whereSql").val('');
+ $("#fromTableSql").val('');
var inputValue = getInputValue();
if (inputValue != '') {
//from语句字符串
@@ -530,8 +532,6 @@ function getSql() {
name = 'is_oper';
whereNames += commomtable + "." + name + " = '1' AND ";
}
- $("#whereSql").val('');
- $("#fromTableSql").val('');
if (whereNames != ' where ') {
whereNames = whereNames.substring(0, whereNames.length - 4);
$("#whereSql").val(whereNames);