| | |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_Core.Enums; |
| | | using WIDESEA_IWMsInfoServices; |
| | | using WIDESEA_Model.Models; |
| | | |
| | |
| | | } |
| | | return content; |
| | | } |
| | | public WebResponseContent DeleteAndIntoHty(int[] keys) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | List<Dt_MessageInfo> messageInfos = BaseDal.QueryData(x => keys.Contains(x.Id)); |
| | | foreach (var item in messageInfos) |
| | | { |
| | | item.MessageStatus = MessageStatusEnum.Processed.ObjToInt(); |
| | | item.Modifier = App.User.UserName; |
| | | } |
| | | BaseDal.DeleteAndMoveIntoHty(messageInfos, OperateTypeEnum.浜哄伐瀹屾垚); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | content.Error(ex.Message); |
| | | } |
| | | return content; |
| | | } |
| | | } |
| | | } |