Esempio n. 1
0
        /// <summary>
        /// 根据开始时间结束时间删除指定时间段的数据
        /// </summary>
        /// <param name="operatelogrequest"></param>
        /// <returns></returns>
        public BasicResponse DeleteOperatelogByStimeEtime(OperatelogDeleteByStimeEtimeRequest operatelogrequest)
        {
            _Repository.DeleteOperatelogByStimeEtime(operatelogrequest.Etime, operatelogrequest.Stime);
            var operatelogresponse = new BasicResponse();

            return(operatelogresponse);
        }
Esempio n. 2
0
 public BasicResponse DeleteOperatelogByStimeEtime(OperatelogDeleteByStimeEtimeRequest operatelogrequest)
 {
     return(_operatelogService.DeleteOperatelogByStimeEtime(operatelogrequest));
 }
Esempio n. 3
0
        /// <summary>
        /// 根据结束时间删除
        /// </summary>
        /// <param name="operatelogrequest"></param>
        /// <returns></returns>
        public BasicResponse DeleteOperatelogByEtime(OperatelogDeleteByStimeEtimeRequest operatelogrequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Operatelog/DeleteOperatelogByEtime?token=" + Token, JSONHelper.ToJSONString(operatelogrequest));

            return(JSONHelper.ParseJSONString <BasicResponse>(responseStr));
        }