Esempio n. 1
0
            private void FillModel(PBM_OrderPayInfo m)
            {
                ID = m.ID;
                PayMode = m.PayMode;
                Amount = m.Amount;
                Remark = m.Remark;
                ApproveFlag = m.ApproveFlag;

                #region 获取字典表名称
                try
                {
                    if (m.PayMode > 0)
                    {
                        Dictionary_Data dic = DictionaryBLL.GetDicCollections("PBM_AC_PayMode")[m.PayMode.ToString()];
                        if (dic != null) PayModeName = dic.Name;
                    }
                }
                catch (System.Exception err)
                {
                    LogWriter.WriteLog("MCSFramework.WSI.PBM_OrderPayInfo", err);
                }
                #endregion
            }
Esempio n. 2
0
 public OrderPayInfo(PBM_OrderPayInfo m)
 {
     if (m != null) FillModel(m);
 }