public static bool ChangeRfqState(RfqStatesEnum rfqState,int rfqId) { string strSql = string.Format("update rfq set rfqStates={0} where rfqNo={1}", rfqState.GetHashCode(), rfqId); if (db.ExecDataBySql(strSql) == 1) return true; return false; }
public static bool ChangeRfqState(RfqStatesEnum rfqState, int rfqId) { string strSql = string.Format("update rfq set rfqStates={0} where rfqNo={1}", rfqState.GetHashCode(), rfqId); if (db.ExecDataBySql(strSql) == 1) { return(true); } return(false); }