新人求指导,EAS客户端sql语句执行报错
0人赞赏了该文章
1,121次浏览
未经作者许可,禁止转载编辑于2016年06月13日 11:44:40
[tr][td]sql语句执行的时候总是报错,为什么会出现DbUtil未定义,找不到的问题?查询语句全文如下:var sql = "SELECT 'DEPARTMENTMAPPING'.FID AS 'ID', 'DEPARTMENTMAPPING'.FNumber AS 'NUMBER', 'DEPARTMENTMAPPING'.FName_l2 AS 'NAME', 'DEPARTMENTMAPPING'.FSimpleName AS 'SIMPLENAME', 'DEPARTMENTMAPPING'.FDescription_l2 AS 'DESCRIPTION', 'DEPARTMENTMAPPING'.CFDepartmentNumber AS 'DEPARTMENTNUMBER', 'DEPARTMENTMAPPING'.CFDepartmentName_l2 AS 'DEPARTMENTNAME', 'DEPARTMENTMAPPING'.CFBelongCompanyNumber AS 'BELONGCOMPANYNUMBER', 'DEPARTMENTMAPPING'.CFBelongCompanyName_l2 AS 'BELONGCOMPANYNAME' FROM CT_CUS_DepartmentMapping AS 'DEPARTMENTMAPPING' WHERE 'DEPARTMENTMAPPING'.CFBelongCompanyNumber = " + companyID + " ORDER BY 'NUMBER' ASC";
[tr][td]