ALTER PROCEDURE [dbo].[sp_updateStuStateYRCode]@StuId varchar(100)ASBEGINupdate StuState set KM1YR_Code=0,KM2YR_Code=0,KM3YR_Code=0 where Stuid=@StuIdEND、成功为1 失败则返回0