var param = new DynamicParameters(); param.Add("_inAdminId", 3); param.Add("_numValue", 0); param.Add("res", 0, DbType.Int32, ParameterDirection.Output); cn.Execute("pro_CopyGoods", param, null, null, CommandType.StoredProcedure); int res = param.Get<int>("res");
时间: 2024-10-06 19:51:01