コード例 #1
0
ファイル: RfqMgr.cs プロジェクト: phox/AmbleSystem
 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;
 }
コード例 #2
0
ファイル: RfqMgr.cs プロジェクト: hnjm/AmbleSystem
        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);
        }