解决方法: 注意,请进行帐套备份,然后执行以下SQL语句 update t_itemdetail set f3012=0,fdetailcount=1 where fdetailid=1170 sp_cleanitemdetailv—重建核算项目纵表