public void UpdateTrainjiaoluDutyPlace(string strTrainjiaoluGUID, string strPlaceIDS)
        {
            dal.DeleteByTrainJiaoluGUID(strTrainjiaoluGUID);
            string[] strPlaceArray = strPlaceIDS.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
            int      i             = 0;

            foreach (string placeId in strPlaceArray)
            {
                TF.RunSafty.Model.TAB_Base_TrainJiaolu_DutyPlace model = new TF.RunSafty.Model.TAB_Base_TrainJiaolu_DutyPlace();
                model.strPlaceID         = placeId;
                model.strTrainJiaoluGUID = strTrainjiaoluGUID;
                model.nPlaceIndex        = i;
                this.Add(model);
                i++;
            }
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(TF.RunSafty.Model.TAB_Base_TrainJiaolu_DutyPlace model)
 {
     return(dal.Update(model));
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(TF.RunSafty.Model.TAB_Base_TrainJiaolu_DutyPlace model)
 {
     return(dal.Add(model));
 }