/// <summary>
        /// 根据开始时间结束时间删除指定时间段的数据
        /// </summary>
        /// <param name="Runlogrequest"></param>
        /// <returns></returns>
        public BasicResponse DeleteRunlogByStimeEtime(RunlogDeleteByStimeEtimeRequest runlogrequest)
        {
            _Repository.DeleteRunlogByStimeEtime(runlogrequest.Etime, runlogrequest.Stime);
            var Runlogresponse = new BasicResponse();

            return(Runlogresponse);
        }
Beispiel #2
0
 public BasicResponse DeleteRunlogByEtime(RunlogDeleteByStimeEtimeRequest runlogrequest)
 {
     return(_runlogService.DeleteRunlogByEtime(runlogrequest));
 }
        /// <summary>
        /// 根据开始时间结束时间删除指定时间段的数据
        /// </summary>
        /// <param name="operatelogrequest"></param>
        /// <returns></returns>
        public BasicResponse DeleteRunlogByStimeEtime(RunlogDeleteByStimeEtimeRequest runlogrequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Runlog/DeleteRunlogByStimeEtime?token=" + Token, JSONHelper.ToJSONString(runlogrequest));

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