2025-02-17 11:55:55,224 [13304] ERROR Serviceapp_error_log - 增加记录失败 System.Data.SqlClient.SqlException (0x80131904): 不允许从数据类型 sql_variant 到 nvarchar 的隐式转换。请使用 CONVERT 函数来运行此查询。 在 Zeego.Data.ExecuteQueryHandler.HandleQueryException(Exception exception) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 107 在 Zeego.Data.ExecuteQueryHandler.ExecuteQuery(Boolean useReader, Action action) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 28 在 Zeego.Data.DbCommand.Execute() 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Command\PartialClasses\Execute.cs:行号 9 在 Zeego.Data.BaseInsertBuilder.Execute() 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Builders\Insert\BaseInsertBuilder.cs:行号 22 在 Zeego.Core.ServiceBase`1.<>c__DisplayClass60_0.b__0() 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Core\Base\ServiceBaseInsert.cs:行号 34 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 ClientConnectionId:d4fd6e4f-3baf-4d77-bae6-2c341b9b9586 Error Number:257,State:3,Class:16