//更新秒杀信息 //public bool UpdateSingleItem(int ItemID, string Days, string Hours, string Minutes, string Seconds, string IsSecondKill) //{ // if (helper.ExcuteCommandInt("update Items set Days='" // + Days + "',Hours='" + Hours + "',Minutes='" + Minutes + "',Seconds='" + Seconds + "',IsSecondKill='" + IsSecondKill + "' where IID=" + ItemID + "") > 0) // return true; // else // return false; //} public bool UpdateSingleItemSeckill(Entity.Items items) { if (helper.ExcuteCommandInt("update Items set Days='" + items.getDays() + "',Hours='" + items.getHours() + "',Minutes='" + items.getMinutes() + "',Seconds='" + items.getSeconds() + "',IsSecondKill='" + items.getIsSecondKill() + "' where IID=" + items.getItemID() + "") > 0) { return(true); } else { return(false); } }