feat 添加省市区管理
This commit is contained in:
parent
f0083d5b68
commit
df9f9fe6a7
38
ARW.Model/Dto/Business/Regions/RegionDto.cs
Normal file
38
ARW.Model/Dto/Business/Regions/RegionDto.cs
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using ARW.Model.Models.Business.Regions;
|
||||||
|
|
||||||
|
namespace ARW.Model.Dto.Business.Regions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 省市区数据表输入对象
|
||||||
|
/// </summary>
|
||||||
|
public class RegionDto
|
||||||
|
{
|
||||||
|
public int RegionId { get; set; }
|
||||||
|
[Required(ErrorMessage = "区划名称不能为空")]
|
||||||
|
public string RegionName { get; set; }
|
||||||
|
[Required(ErrorMessage = "父级ID不能为空")]
|
||||||
|
public int RegionPid { get; set; }
|
||||||
|
[Required(ErrorMessage = "区划编码不能为空")]
|
||||||
|
public string RegionCode { get; set; }
|
||||||
|
[Required(ErrorMessage = "层级(1省级 2市级 3区/县级)不能为空")]
|
||||||
|
public int RegionLevel { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 省市区数据表查询对象
|
||||||
|
/// </summary>
|
||||||
|
public class RegionQueryDto : PagerInfo
|
||||||
|
{
|
||||||
|
public string RegionName { get; set; }
|
||||||
|
|
||||||
|
public string ids { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
72
ARW.Model/Models/Business/Regions/Region.cs
Normal file
72
ARW.Model/Models/Business/Regions/Region.cs
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using SqlSugar;
|
||||||
|
using OfficeOpenXml.Attributes;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace ARW.Model.Models.Business.Regions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 省市区数据表,数据实体对象
|
||||||
|
///
|
||||||
|
/// @author admin
|
||||||
|
/// @date 2023-06-05
|
||||||
|
/// </summary>
|
||||||
|
[SugarTable("tb_region")]
|
||||||
|
public class Region : BusinessBase
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :区划信息ID
|
||||||
|
/// 空值 : false
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "区划信息ID")]
|
||||||
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "region_id")]
|
||||||
|
public int RegionId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :区划名称
|
||||||
|
/// 空值 : false
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "区划名称")]
|
||||||
|
[SugarColumn(ColumnName = "region_name")]
|
||||||
|
public string RegionName { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :父级ID
|
||||||
|
/// 空值 : false
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "父级ID")]
|
||||||
|
[SugarColumn(ColumnName = "region_pid")]
|
||||||
|
public int RegionPid { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :区划编码
|
||||||
|
/// 空值 : false
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "区划编码")]
|
||||||
|
[SugarColumn(ColumnName = "region_code")]
|
||||||
|
public string RegionCode { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :层级(1省级 2市级 3区/县级)
|
||||||
|
/// 空值 : false
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "层级(1省级 2市级 3区/县级)")]
|
||||||
|
[SugarColumn(ColumnName = "region_level")]
|
||||||
|
public int RegionLevel { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
||||||
|
[SugarColumn(IsIgnore = true)]
|
||||||
|
public List<Region> Children { get; set; }
|
||||||
|
}
|
||||||
|
}
|
56
ARW.Model/Vo/Business/Regions/RegionVo.cs
Normal file
56
ARW.Model/Vo/Business/Regions/RegionVo.cs
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
using Newtonsoft.Json;
|
||||||
|
using OfficeOpenXml.Attributes;
|
||||||
|
using SqlSugar;
|
||||||
|
using System;
|
||||||
|
using ARW.Model.Models.Business.Regions;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace ARW.Model.Vo.Business.Regions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 省市区数据表展示对象
|
||||||
|
/// </summary>
|
||||||
|
public class RegionVo
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :区划信息ID
|
||||||
|
/// </summary>
|
||||||
|
[EpplusIgnore]
|
||||||
|
[SugarColumn(IsTreeKey = true)]
|
||||||
|
public int RegionId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :区划名称
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "区划名称")]
|
||||||
|
public string RegionName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :父级ID
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "父级ID")]
|
||||||
|
public int RegionPid { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :区划编码
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "区划编码")]
|
||||||
|
public string RegionCode { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 描述 :层级(1省级 2市级 3区/县级)
|
||||||
|
/// </summary>
|
||||||
|
[EpplusTableColumn(Header = "层级(1省级 2市级 3区/县级)")]
|
||||||
|
public int RegionLevel { get; set; }
|
||||||
|
|
||||||
|
[EpplusIgnore]
|
||||||
|
public string ParentName { get; set; }
|
||||||
|
|
||||||
|
[EpplusIgnore]
|
||||||
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
||||||
|
[SugarColumn(IsIgnore = true)]
|
||||||
|
public List<RegionVo> Children { get; set; }
|
||||||
|
}
|
||||||
|
}
|
20
ARW.Repository/Business/Regions/RegionRepository.cs
Normal file
20
ARW.Repository/Business/Regions/RegionRepository.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
using Infrastructure.Attribute;
|
||||||
|
using ARW.Repository.System;
|
||||||
|
using ARW.Model.Models.Business.Regions;
|
||||||
|
|
||||||
|
namespace ARW.Repository.Business.Regions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 省市区数据表仓储
|
||||||
|
///
|
||||||
|
/// @author admin
|
||||||
|
/// @date 2023-06-05
|
||||||
|
/// </summary>
|
||||||
|
[AppService(ServiceLifetime = LifeTime.Transient)]
|
||||||
|
public class RegionRepository : BaseRepository<Region>
|
||||||
|
{
|
||||||
|
#region 业务逻辑代码
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
135
ARW.Service/Business/BusinessService/Regions/RegionService.cs
Normal file
135
ARW.Service/Business/BusinessService/Regions/RegionService.cs
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
using Infrastructure.Attribute;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
|
using SqlSugar;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Infrastructure;
|
||||||
|
using ARW.Model;
|
||||||
|
using ARW.Repository;
|
||||||
|
using ARW.Repository.Business.Regions;
|
||||||
|
using ARW.Service.Business.IBusinessService.Regions;
|
||||||
|
using ARW.Model.Dto.Business.Regions;
|
||||||
|
using ARW.Model.Models.Business.Regions;
|
||||||
|
using ARW.Model.Vo.Business.Regions;
|
||||||
|
|
||||||
|
namespace ARW.Service.Business.BusinessService.Regions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 省市区数据表接口实现类
|
||||||
|
/// </summary>
|
||||||
|
[AppService(ServiceType = typeof(IRegionService), ServiceLifetime = LifeTime.Transient)]
|
||||||
|
public class RegionServiceImpl : BaseService<Region>, IRegionService
|
||||||
|
{
|
||||||
|
private readonly RegionRepository _RegionRepository;
|
||||||
|
|
||||||
|
public RegionServiceImpl(RegionRepository RegionRepository)
|
||||||
|
{
|
||||||
|
this._RegionRepository = RegionRepository;
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 业务逻辑代码
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查询省市区数据表树形列表
|
||||||
|
/// </summary>
|
||||||
|
public async Task<List<RegionVo>> GetRegionTreeList(RegionQueryDto parm)
|
||||||
|
{
|
||||||
|
//开始拼装查询条件
|
||||||
|
var predicate = Expressionable.Create<Region>();
|
||||||
|
|
||||||
|
var query = _RegionRepository
|
||||||
|
.Queryable()
|
||||||
|
.LeftJoin<Region>((s, c) => s.RegionPid == c.RegionId)
|
||||||
|
.Where(predicate.ToExpression())
|
||||||
|
.OrderBy(s => s.RegionId, OrderByType.Asc)
|
||||||
|
.Select((s, c) => new RegionVo
|
||||||
|
{
|
||||||
|
RegionId = s.RegionId,
|
||||||
|
RegionName = s.RegionName,
|
||||||
|
RegionPid = s.RegionPid,
|
||||||
|
RegionCode = s.RegionCode,
|
||||||
|
RegionLevel = s.RegionLevel,
|
||||||
|
ParentName = c.RegionName,
|
||||||
|
});
|
||||||
|
|
||||||
|
return await query.ToTreeAsync(it => it.Children, it => it.RegionPid, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查询省市区数据表列表
|
||||||
|
/// </summary>
|
||||||
|
public Task<List<RegionVo>> GetRegionList(RegionQueryDto parm)
|
||||||
|
{
|
||||||
|
//开始拼装查询条件d
|
||||||
|
var predicate = Expressionable.Create<Region>();
|
||||||
|
|
||||||
|
predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.RegionName), it => it.RegionName.Contains(parm.RegionName));
|
||||||
|
var query = _RegionRepository
|
||||||
|
.Queryable()
|
||||||
|
.Where(predicate.ToExpression())
|
||||||
|
.OrderBy(s => s.RegionId, OrderByType.Asc)
|
||||||
|
.Select(s => new RegionVo
|
||||||
|
{
|
||||||
|
RegionId = s.RegionId,
|
||||||
|
RegionName = s.RegionName,
|
||||||
|
RegionPid = s.RegionPid,
|
||||||
|
RegionCode = s.RegionCode,
|
||||||
|
RegionLevel = s.RegionLevel,
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
return query.ToListAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 添加或修改省市区数据表
|
||||||
|
/// </summary>
|
||||||
|
public async Task<string> AddOrUpdateRegion(Region model)
|
||||||
|
{
|
||||||
|
if (model.RegionId != 0)
|
||||||
|
{
|
||||||
|
var type = await _RegionRepository.GetListAsync(s => s.RegionPid == model.RegionId);
|
||||||
|
if (type != null)
|
||||||
|
{
|
||||||
|
foreach (var item in type)
|
||||||
|
{
|
||||||
|
if (model.RegionPid == item.RegionId) throw new CustomException("上级菜单不能选择自己的子级!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (model.RegionPid == model.RegionId) throw new CustomException("上级菜单不能选择与当前菜单一样的!");
|
||||||
|
var response = await _RegionRepository.UpdateAsync(model);
|
||||||
|
return "修改成功!";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var info = _RegionRepository.GetFirst(it => it.RegionId == model.RegionPid);
|
||||||
|
|
||||||
|
var response = await _RegionRepository.InsertAsync(model);
|
||||||
|
return "添加成功!";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Excel处理
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Excel数据导出处理
|
||||||
|
/// </summary>
|
||||||
|
public async Task<List<RegionVo>> HandleExportData(List<RegionVo> data)
|
||||||
|
{
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using ARW.Model;
|
||||||
|
using ARW.Model.Dto.Business.Regions;
|
||||||
|
using ARW.Model.Models.Business.Regions;
|
||||||
|
using ARW.Model.Vo.Business.Regions;
|
||||||
|
|
||||||
|
namespace ARW.Service.Business.IBusinessService.Regions
|
||||||
|
{
|
||||||
|
public interface IRegionService : IBaseService<Region>
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取省市区数据表树形列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parm"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
Task<List<RegionVo>> GetRegionTreeList(RegionQueryDto parm);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取省市区数据表列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parm"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
Task<List<RegionVo>> GetRegionList(RegionQueryDto parm);
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 添加或修改省市区数据表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parm"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
Task<string> AddOrUpdateRegion(Region parm);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Excel导出
|
||||||
|
/// </summary>
|
||||||
|
Task<List<RegionVo>> HandleExportData(List<RegionVo> data);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
140
ARW.WebApi/Controllers/Business/Regions/RegionController.cs
Normal file
140
ARW.WebApi/Controllers/Business/Regions/RegionController.cs
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
using Infrastructure;
|
||||||
|
using Infrastructure.Attribute;
|
||||||
|
using Infrastructure.Enums;
|
||||||
|
using Infrastructure.Model;
|
||||||
|
using Mapster;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using ARW.Admin.WebApi.Extensions;
|
||||||
|
using ARW.Admin.WebApi.Filters;
|
||||||
|
using ARW.Common;
|
||||||
|
using ARW.Model.Dto.Business.Regions;
|
||||||
|
using ARW.Service.Business.IBusinessService.Regions;
|
||||||
|
using ARW.Admin.WebApi.Controllers;
|
||||||
|
using ARW.Model.Models.Business.Regions;
|
||||||
|
using ARW.Model.Vo.Business.Regions;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using ARW.Admin.WebApi.Framework;
|
||||||
|
|
||||||
|
|
||||||
|
namespace ARW.WebApi.Controllers.Business.Regions
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 省市区数据表控制器
|
||||||
|
/// </summary>
|
||||||
|
[Verify]
|
||||||
|
[Route("business/[controller]")]
|
||||||
|
public class RegionController : BaseController
|
||||||
|
{
|
||||||
|
private readonly IRegionService _RegionService;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 依赖注入
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="RegionService">省市区数据表服务</param>
|
||||||
|
public RegionController(IRegionService RegionService)
|
||||||
|
{
|
||||||
|
_RegionService = RegionService;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取省市区数据表树形列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parm">查询参数</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet("getRegionTreeList")]
|
||||||
|
[ActionPermissionFilter(Permission = "business:region:treelist")]
|
||||||
|
public async Task<IActionResult> GetRegionList([FromQuery] RegionQueryDto parm)
|
||||||
|
{
|
||||||
|
var res = await _RegionService.GetRegionTreeList(parm);
|
||||||
|
res ??= new List<RegionVo>();
|
||||||
|
|
||||||
|
return SUCCESS(res);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 添加或修改省市区数据表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parm"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost("addOrUpdateRegion")]
|
||||||
|
[ActionPermissionFilter(Permission = "business:region:addOrUpdate")]
|
||||||
|
[Log(Title = "添加或修改省市区数据表", BusinessType = BusinessType.ADDORUPDATE)]
|
||||||
|
public async Task<IActionResult> AddOrUpdateRegion([FromBody] RegionDto parm)
|
||||||
|
{
|
||||||
|
if (parm == null) { throw new CustomException("请求参数错误"); }
|
||||||
|
|
||||||
|
var modal = new Region();
|
||||||
|
if (parm.RegionId != 0) modal = parm.Adapt<Region>().ToUpdate(HttpContext);
|
||||||
|
else modal = parm.Adapt<Region>().ToCreate(HttpContext);
|
||||||
|
|
||||||
|
var res = await _RegionService.AddOrUpdateRegion(modal);
|
||||||
|
return SUCCESS(res);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除省市区数据表
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpDelete("{ids}")]
|
||||||
|
[ActionPermissionFilter(Permission = "business:region:delete")]
|
||||||
|
[Log(Title = "省市区数据表删除", BusinessType = BusinessType.DELETE)]
|
||||||
|
public IActionResult Delete(string ids)
|
||||||
|
{
|
||||||
|
long[] idsArr = Tools.SpitLongArrary(ids);
|
||||||
|
if (idsArr.Length <= 0) { return ToResponse(ApiResult.Error($"删除失败Id 不能为空")); }
|
||||||
|
var response = _RegionService.Delete(idsArr);
|
||||||
|
return SUCCESS("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 导出省市区数据表
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
[Log(Title = "省市区数据表导出", BusinessType = BusinessType.EXPORT, IsSaveResponseData = false)]
|
||||||
|
[HttpGet("exportRegion")]
|
||||||
|
[ActionPermissionFilter(Permission = "business:region:export")]
|
||||||
|
public async Task<IActionResult> ExportExcel([FromQuery] RegionQueryDto parm)
|
||||||
|
{
|
||||||
|
var list = await _RegionService.GetRegionList(parm);
|
||||||
|
var data = list;
|
||||||
|
|
||||||
|
// 选中数据
|
||||||
|
if (!string.IsNullOrEmpty(parm.ids))
|
||||||
|
{
|
||||||
|
int[] idsArr = Tools.SpitIntArrary(parm.ids);
|
||||||
|
var selectDataList = new List<RegionVo>();
|
||||||
|
//foreach (var item in idsArr)
|
||||||
|
//{
|
||||||
|
// var select_data = data.Where(s => s.RegionId == item).First();
|
||||||
|
// selectDataList.Add(select_data);
|
||||||
|
|
||||||
|
// // 查看当前数据有没有子级
|
||||||
|
// var newRegions = data.FindAll(delegate (RegionVo region)
|
||||||
|
// {
|
||||||
|
// string[] parentRegionId = region.RegionAncestralGuid.Split(",", StringSplitOptions.RemoveEmptyEntries);
|
||||||
|
// return parentRegionId.Contains(select_data.RegionGuid.ToString());
|
||||||
|
// });
|
||||||
|
// string[] regionArr = newRegions.Select(x => x.RegionGuid.ToString()).ToArray();
|
||||||
|
// var ancestorArr = data.Where(s => regionArr.Contains(s.RegionGuid.ToString())).ToList();
|
||||||
|
// selectDataList.AddRange(ancestorArr);
|
||||||
|
//}
|
||||||
|
data = selectDataList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 导出数据处理
|
||||||
|
var handleData = await _RegionService.HandleExportData(data);
|
||||||
|
|
||||||
|
string sFileName = ExportExcel(handleData, "Region", "省市区数据表列表");
|
||||||
|
return SUCCESS(new { path = "/export/" + sFileName, fileName = sFileName });
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user