修改常用查询的删除查询条件未能查询的bug

master
zengwh 4 years ago
parent 39919b686e
commit a151972c2c

@ -853,7 +853,7 @@
})
</script>
<script type="text/javascript" src="${path}/static/js/recordManage/templateSearch/searchCommomMethodqf.js?time=2021-11-28"></script>
<script type="text/javascript" src="${path}/static/js/recordManage/commomSearch/commomListqf.js?time=2021-11-28"></script>
<script type="text/javascript" src="${path}/static/js/recordManage/commomSearch/commomListqf.js?time=2021-12-23"></script>
<script type="text/javascript" src="${path}/static/js/dateUtil.js"></script>
<script type="text/javascript" src="${path}/static/js/approveManage/approveList/approveDateCommmomMethod.js"></script>
<script type="text/javascript" src="${path}/static/js/commom.js"></script>

@ -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);

Loading…
Cancel
Save