public bool MultiUpdate(string mapId, List <MapReleationInputDto> listInput, string user)
        {
            try
            {
                _IMapReleationRepository.Delete(x => x.MapID == mapId);

                if (listInput != null)
                {
                    foreach (var input in listInput)
                    {
                        MapReleationDto dto = Insert(input);
                    }
                }

                List <string> layers = listInput.Select(t => t.DataConfigID).ToList();

                UpdateMap(mapId, layers);

                _IOperateLogAppService.WriteOperateLog(mapId, user, 1002, 1102, 1201, 1441, null);
                return(true);
            }
            catch (Exception ex)
            {
                _IOperateLogAppService.WriteOperateLog(mapId, user, 1002, 1102, 1202, 1442, null);
                return(false);
            }
        }
        /// <summary>
        /// 批量新增
        /// </summary>
        /// <param name="listInput"></param>
        /// <returns></returns>
        public bool MultiInsert(List <MapReleationInputDto> listInput)
        {
            try
            {
                string mapId = string.Empty;
                foreach (var input in listInput)
                {
                    MapReleationDto dto = Insert(input);
                    mapId = dto.MapID;
                }

                List <string> layers = listInput.Select(t => t.DataConfigID).ToList();

                UpdateMap(mapId, layers);
                return(true);
            }
            catch (Exception ex)
            {
                return(false);
            }
        }