You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySQL数据库
SysStatus字段类型为smallint
生成的sql语句使用了CAST类型转化,索引失效
SELECT ExcelSheet.ID AS ID,ExcelSheet.Name AS Name FROM ExcelSheet AS ExcelSheet WHERE (ExcelSheet.UserID = ?P_0 AND CAST(ExcelSheet.SysStatus AS SIGNED) = 1 AND ExcelSheet.ID IN (3))
请问是基于什么原因要进行类型转化?
The text was updated successfully, but these errors were encountered:
MySQL数据库
SysStatus字段类型为smallint
生成的sql语句使用了CAST类型转化,索引失效
SELECT
ExcelSheet
.ID
ASID
,ExcelSheet
.Name
ASName
FROMExcelSheet
ASExcelSheet
WHERE (ExcelSheet
.UserID
= ?P_0 AND CAST(ExcelSheet
.SysStatus
AS SIGNED) = 1 ANDExcelSheet
.ID
IN (3))请问是基于什么原因要进行类型转化?
The text was updated successfully, but these errors were encountered: