Value was either too large or too small for an Int32
无法将类型long?隐式转换为long
改成: 报错: Value was either too large or too small for an Int32 数据类型转换的时候超出了 Int32 相当于 int ,占4个字节 范围 -2147483648 ~ 2147483647 而这里的department_id在数据库中定义的是bigint,所以会超出范围 改: ok
Value was either too large or too small for an Int32
Value was either too large or too small for an Int32无法将类型long?隐式转换为long改成:报错:Value was either too large or too small for an Int32数据类型转换的时候超出了Int32 相当于 int ,占4个字节 范围 -2147483648 ~ 2147483647而这里的department_id在数据库中定义的是bigint,所以会超出范围改:ok...