/// <summary> /// 批量删除图片: /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnBatchDeleteImage_Click(object sender, RoutedEventArgs e) { StringBuilder updateImage = new StringBuilder(); ImageVM.ForEach(item => { if (!item.IsChecked) { updateImage.Append(item.ImageUrl).Append('|'); } }); if (!string.IsNullOrEmpty(updateImage.ToString())) { if (updateImage.ToString().TrimEnd('|') != vm.ImageUrl) { string param = updateImage.ToString().TrimEnd('|') + "!" + SysNo.ToString();//拼接SysNo facade.DeleteProductReviewImage(param, (obj, args) => { if (args.FaultsHandle()) { return; } InitProductReivewDate(); }); } else { CPApplication.Current.CurrentPage.Context.Window.Alert(ResNewsInfo.Information_MoreThanOneRecord, MessageType.Error); } } }
public override void OnPageLoad(object sender, EventArgs e) { base.OnPageLoad(sender, e); CheckRights(); facade = new RefundAdjustFacade(this); this.DataContext = filter = new RefundAdjustQueryFilter(); IsUrl = false; BindComboxData(); if (SysNo != null && SysNo != 0) { filter.SysNo = SysNo.ToString(); this.txtSysNo.Text = filter.SysNo; IsUrl = true; DataGrid_ResultList.Bind(); } }
public override bool Equals(object obj) { if (this == obj) { return(true); } var entity = obj as BaseEntity; if (entity == null) { return(false); } if (!this.GetType().Equals(obj.GetType())) { return(false); } if (!SysNo.Equals(entity.SysNo)) { return(false); } return(true); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(SYS_Famous_CommentMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(BLG_CommentMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(RSH_BaziLogicMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(AreaEntity other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(USR_CustomerMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(AdvUserMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(REL_Article_ChartMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(USR_MessageMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(USR_RecordMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(SYS_ArticleMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(ORD_PointMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(BLG_AttentionMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(VenusLoveMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(QQWeiBoUserMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(SPD_FamousMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(SYS_Famous_AstroStarMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(SYS_SMSMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(Category_360Entity other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(AdvTopicContentMod other) { return(SysNo.CompareTo(other.SysNo)); }
protected override string GetIdentityValue() { return(SysNo.ToString()); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(SCENIC_RWYEntity other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(SYS_DistrictMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(COZ_CourseMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(LoveRoseMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(QA_AnswerMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(REL_Question_ChartMod other) { return(SysNo.CompareTo(other.SysNo)); }
/// <sumary> /// 根据SysNo字段实现的IComparable<T>接口的泛型排序方法 /// </sumary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(QA_CategoryShow other) { return(SysNo.CompareTo(other.SysNo)); }