コード例 #1
0
        /// <summary>
        /// 批量更新
        /// </summary>
        /// <param name="items"></param>
        /// <returns></returns>
        public static bool UpdateDEFsCache(List <Jc_DefInfo> items)
        {
            PointDefinesUpdateRequest PointDefineRequest = new PointDefinesUpdateRequest();

            PointDefineRequest.PointDefinesInfo = items;
            var result = _PointDefineService.UpdatePointDefines(PointDefineRequest);

            if (result.IsSuccess == true)
            {
                return(true);
            }
            else
            {
                throw new Exception(result.Message);
            }
        }
コード例 #2
0
 public BasicResponse UpdatePointDefines(PointDefinesUpdateRequest PointDefineRequest)
 {
     return(_PointDefineService.UpdatePointDefines(PointDefineRequest));
 }