/**
* 表是否存在数据库中
*/
function isTablename(tablename){
var flag = false;
$.ajaxSettings.async = false;
$.getJSON(basePath+"/tscstatusconfig/tscstatusconfigJsonAction!isTablename.do",{"entity.tablename":tablename},function(data){
if(data.total > 0)
flag = true;
});
return flag;
}
/**
* 该字段是否存在于指定表中
*/
function isDatafield(tablename, datafield){
var flag = false;
$.ajaxSettings.async = false;
$.getJSON(basePath+"/tscstatusconfig/tscstatusconfigJsonAction!isDatafield.do",{"entity.tablename":tablename,"entity.datafield":datafield},function(data){
if(data.total > 0)
flag = true;
});
return flag;
}
* 表是否存在数据库中
*/
function isTablename(tablename){
var flag = false;
$.ajaxSettings.async = false;
$.getJSON(basePath+"/tscstatusconfig/tscstatusconfigJsonAction!isTablename.do",{"entity.tablename":tablename},function(data){
if(data.total > 0)
flag = true;
});
return flag;
}
/**
* 该字段是否存在于指定表中
*/
function isDatafield(tablename, datafield){
var flag = false;
$.ajaxSettings.async = false;
$.getJSON(basePath+"/tscstatusconfig/tscstatusconfigJsonAction!isDatafield.do",{"entity.tablename":tablename,"entity.datafield":datafield},function(data){
if(data.total > 0)
flag = true;
});
return flag;
}