MySql 插入数据返回数据的Id值 insert into addeditemgroup(addeditemgroupname) value('11') ; select @@IDENTITY as id; 返回最新的Id;