/// <summary> /// 老化下架时间插入 /// </summary> /// <param name="lhx"></param> /// <param name="SQLCommand"></param> /// <returns></returns> public bool insertProjectorInformation_MainTable_LHXBll(ProjectorInformation_LHX lhx, string SQLCommand) { if (pmtd.insertProjectorInformation_MainTable_LHXDal(lhx, SQLCommand) > 0) { return(true); } else { return(false); } }
/// <summary> /// 老化下架时间插入 /// </summary> /// <param name="lhx"></param> /// <param name="SQLCommand"></param> /// <returns></returns> public int insertProjectorInformation_MainTable_LHXDal(ProjectorInformation_LHX lhx, string SQLCommand) { string sql = SQLhelp.GetSQLCommand(SQLCommand); SqlParameter[] pms = new SqlParameter[] { new SqlParameter("@FuselageCode", SqlDbType.VarChar, 80) { Value = lhx.FuselageCode }, new SqlParameter("@AgeingEndTime", SqlDbType.DateTime) { Value = lhx.AgeingEndTime } }; return(SQLhelp.ExecuteNonQuery(sql, CommandType.Text, pms)); }