数据库查询分析器选择相应帐套执行以下命令 update as_tablekeys set maxkey=(select max(goodsid) from l_goods) where tablename='L_GOODS'