/// <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); } }
public BasicResponse UpdatePointDefines(PointDefinesUpdateRequest PointDefineRequest) { return(_PointDefineService.UpdatePointDefines(PointDefineRequest)); }