feat:
1. update Mall
This commit is contained in:
@@ -32,27 +32,17 @@ import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
||||
import lombok.AllArgsConstructor;
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
import org.springblade.core.secure.BladeUser;
|
||||
import org.springblade.core.secure.annotation.IsAdmin;
|
||||
import org.springblade.core.mp.support.Condition;
|
||||
import org.springblade.core.mp.support.Query;
|
||||
import org.springblade.core.tool.api.R;
|
||||
import org.springblade.core.tool.utils.Func;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.modules.common.pojo.entity.CommonRegionsInfoEntity;
|
||||
import org.springblade.modules.common.pojo.vo.CommonRegionsInfoVO;
|
||||
import org.springblade.modules.common.excel.CommonRegionsInfoExcel;
|
||||
import org.springblade.modules.common.wrapper.CommonRegionsInfoWrapper;
|
||||
import org.springblade.modules.common.service.ICommonRegionsInfoService;
|
||||
import org.springblade.core.boot.ctrl.BladeController;
|
||||
import org.springblade.core.tool.utils.DateUtil;
|
||||
import org.springblade.core.excel.util.ExcelUtil;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* 地区详情表 控制器
|
||||
@@ -139,23 +129,4 @@ public class CommonRegionsInfoController extends BladeController {
|
||||
public R remove(@Parameter(description = "主键集合", required = true) @RequestParam String ids) {
|
||||
return R.status(regionsInfoService.deleteLogic(Func.toLongList(ids)));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*/
|
||||
@IsAdmin
|
||||
@GetMapping("/export-regionsInfo")
|
||||
@ApiOperationSupport(order = 9)
|
||||
@Operation(summary = "导出数据", description = "传入regionsInfo")
|
||||
public void exportRegionsInfo(@Parameter(hidden = true) @RequestParam Map<String, Object> regionsInfo, BladeUser bladeUser, HttpServletResponse response) {
|
||||
QueryWrapper<CommonRegionsInfoEntity> queryWrapper = Condition.getQueryWrapper(regionsInfo, CommonRegionsInfoEntity.class);
|
||||
//if (!AuthUtil.isAdministrator()) {
|
||||
// queryWrapper.lambda().eq(RegionsInfo::getTenantId, bladeUser.getTenantId());
|
||||
//}
|
||||
//queryWrapper.lambda().eq(RegionsInfoEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED);
|
||||
List<CommonRegionsInfoExcel> list = regionsInfoService.exportRegionsInfo(queryWrapper);
|
||||
ExcelUtil.export(response, "地区详情表数据" + DateUtil.time(), "地区详情表数据表", list, CommonRegionsInfoExcel.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -32,27 +32,18 @@ import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
||||
import lombok.AllArgsConstructor;
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
import org.springblade.core.secure.BladeUser;
|
||||
import org.springblade.core.secure.annotation.IsAdmin;
|
||||
import org.springblade.core.mp.support.Condition;
|
||||
import org.springblade.core.mp.support.Query;
|
||||
import org.springblade.core.tool.api.R;
|
||||
import org.springblade.core.tool.utils.Func;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.modules.common.pojo.entity.CommonUserAddressEntity;
|
||||
import org.springblade.modules.common.pojo.vo.CommonUserAddressVO;
|
||||
import org.springblade.modules.common.excel.CommonUserAddressExcel;
|
||||
import org.springblade.modules.common.wrapper.CommonUserAddressWrapper;
|
||||
import org.springblade.modules.common.service.ICommonUserAddressService;
|
||||
import org.springblade.core.boot.ctrl.BladeController;
|
||||
import org.springblade.core.tool.utils.DateUtil;
|
||||
import org.springblade.core.excel.util.ExcelUtil;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* 用户地址表 控制器
|
||||
@@ -140,22 +131,4 @@ public class CommonUserAddressController extends BladeController {
|
||||
return R.status(userAddressService.deleteLogic(Func.toLongList(ids)));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*/
|
||||
@IsAdmin
|
||||
@GetMapping("/export-userAddress")
|
||||
@ApiOperationSupport(order = 9)
|
||||
@Operation(summary = "导出数据", description = "传入userAddress")
|
||||
public void exportUserAddress(@Parameter(hidden = true) @RequestParam Map<String, Object> userAddress, BladeUser bladeUser, HttpServletResponse response) {
|
||||
QueryWrapper<CommonUserAddressEntity> queryWrapper = Condition.getQueryWrapper(userAddress, CommonUserAddressEntity.class);
|
||||
//if (!AuthUtil.isAdministrator()) {
|
||||
// queryWrapper.lambda().eq(UserAddress::getTenantId, bladeUser.getTenantId());
|
||||
//}
|
||||
//queryWrapper.lambda().eq(UserAddressEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED);
|
||||
List<CommonUserAddressExcel> list = userAddressService.exportUserAddress(queryWrapper);
|
||||
ExcelUtil.export(response, "用户地址表数据" + DateUtil.time(), "用户地址表数据表", list, CommonUserAddressExcel.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,103 +0,0 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.common.excel;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
||||
import cn.idev.excel.annotation.write.style.ContentRowHeight;
|
||||
import cn.idev.excel.annotation.write.style.HeadRowHeight;
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
|
||||
/**
|
||||
* 地区详情表 Excel实体类
|
||||
*
|
||||
* @author BladeX
|
||||
* @since 2026-02-05
|
||||
*/
|
||||
@Data
|
||||
@ColumnWidth(25)
|
||||
@HeadRowHeight(20)
|
||||
@ContentRowHeight(18)
|
||||
public class CommonRegionsInfoExcel implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 父主键
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("父主键")
|
||||
private Integer pid;
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("主键")
|
||||
private Integer id;
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("名称")
|
||||
private String name;
|
||||
/**
|
||||
* 层级
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("层级")
|
||||
private Integer level;
|
||||
/**
|
||||
* 坐标
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("坐标")
|
||||
private Object coordinates;
|
||||
/**
|
||||
* 地区编码
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("地区编码")
|
||||
private String regionCode;
|
||||
/**
|
||||
* 全称
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("全称")
|
||||
private String fullName;
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("是否删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
@@ -1,127 +0,0 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.common.excel;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
||||
import cn.idev.excel.annotation.write.style.ContentRowHeight;
|
||||
import cn.idev.excel.annotation.write.style.HeadRowHeight;
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
|
||||
/**
|
||||
* 用户地址表 Excel实体类
|
||||
*
|
||||
* @author BladeX
|
||||
* @since 2026-02-05
|
||||
*/
|
||||
@Data
|
||||
@ColumnWidth(25)
|
||||
@HeadRowHeight(20)
|
||||
@ContentRowHeight(18)
|
||||
public class CommonUserAddressExcel implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("主键")
|
||||
private Long id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("用户id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 地区信息id
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("地区信息id")
|
||||
private Long regionsInfoId;
|
||||
/**
|
||||
* 省份
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("省份")
|
||||
private String province;
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("城市")
|
||||
private String city;
|
||||
/**
|
||||
* 区县
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("区县")
|
||||
private String district;
|
||||
/**
|
||||
* 街道
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("街道")
|
||||
private String street;
|
||||
/**
|
||||
* 详细地址
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("详细地址")
|
||||
private String detail;
|
||||
/**
|
||||
* 收货人
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("收货人")
|
||||
private String consignee;
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("联系电话")
|
||||
private String phone;
|
||||
/**
|
||||
* 是否默认地址(0=否,1=是)
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("是否默认地址(0=否,1=是)")
|
||||
private Integer isDefault;
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
@@ -27,11 +27,8 @@ package org.springblade.modules.common.mapper;
|
||||
|
||||
import org.springblade.modules.common.pojo.entity.CommonRegionsInfoEntity;
|
||||
import org.springblade.modules.common.pojo.vo.CommonRegionsInfoVO;
|
||||
import org.springblade.modules.common.excel.CommonRegionsInfoExcel;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -51,13 +48,4 @@ public interface CommonRegionsInfoMapper extends BaseMapper<CommonRegionsInfoEnt
|
||||
*/
|
||||
List<CommonRegionsInfoVO> selectRegionsInfoPage(IPage page, CommonRegionsInfoVO regionsInfo);
|
||||
|
||||
|
||||
/**
|
||||
* 获取导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<RegionsInfoExcel>
|
||||
*/
|
||||
List<CommonRegionsInfoExcel> exportRegionsInfo(@Param("ew") Wrapper<CommonRegionsInfoEntity> queryWrapper);
|
||||
|
||||
}
|
||||
|
||||
@@ -25,9 +25,4 @@
|
||||
select * from regions_info where is_deleted = 0
|
||||
</select>
|
||||
|
||||
|
||||
<select id="exportRegionsInfo" resultType="org.springblade.modules.common.excel.CommonRegionsInfoExcel">
|
||||
SELECT * FROM regions_info ${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -27,11 +27,8 @@ package org.springblade.modules.common.mapper;
|
||||
|
||||
import org.springblade.modules.common.pojo.entity.CommonUserAddressEntity;
|
||||
import org.springblade.modules.common.pojo.vo.CommonUserAddressVO;
|
||||
import org.springblade.modules.common.excel.CommonUserAddressExcel;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -51,13 +48,4 @@ public interface CommonUserAddressMapper extends BaseMapper<CommonUserAddressEnt
|
||||
*/
|
||||
List<CommonUserAddressVO> selectUserAddressPage(IPage page, CommonUserAddressVO userAddress);
|
||||
|
||||
|
||||
/**
|
||||
* 获取导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<UserAddressExcel>
|
||||
*/
|
||||
List<CommonUserAddressExcel> exportUserAddress(@Param("ew") Wrapper<CommonUserAddressEntity> queryWrapper);
|
||||
|
||||
}
|
||||
|
||||
@@ -29,9 +29,4 @@
|
||||
select * from user_address where is_deleted = 0
|
||||
</select>
|
||||
|
||||
|
||||
<select id="exportUserAddress" resultType="org.springblade.modules.common.excel.CommonUserAddressExcel">
|
||||
SELECT * FROM user_address ${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -25,13 +25,11 @@
|
||||
*/
|
||||
package org.springblade.modules.common.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import jakarta.validation.constraints.Max;
|
||||
import jakarta.validation.constraints.Min;
|
||||
import org.springblade.modules.common.pojo.entity.CommonRegionsInfoEntity;
|
||||
import org.springblade.modules.common.pojo.vo.AppCommonRegionsInfoVO;
|
||||
import org.springblade.modules.common.pojo.vo.CommonRegionsInfoVO;
|
||||
import org.springblade.modules.common.excel.CommonRegionsInfoExcel;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseService;
|
||||
import java.util.List;
|
||||
@@ -52,14 +50,5 @@ public interface ICommonRegionsInfoService extends BaseService<CommonRegionsInfo
|
||||
*/
|
||||
IPage<CommonRegionsInfoVO> selectRegionsInfoPage(IPage<CommonRegionsInfoVO> page, CommonRegionsInfoVO regionsInfo);
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<RegionsInfoExcel>
|
||||
*/
|
||||
List<CommonRegionsInfoExcel> exportRegionsInfo(Wrapper<CommonRegionsInfoEntity> queryWrapper);
|
||||
|
||||
List<AppCommonRegionsInfoVO> findRegionList(@Min(value = 0) Long pid, @Max(value = 4 ) @Min(value = 0) Integer level);
|
||||
}
|
||||
|
||||
@@ -25,13 +25,10 @@
|
||||
*/
|
||||
package org.springblade.modules.common.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import org.springblade.modules.common.pojo.entity.CommonUserAddressEntity;
|
||||
import org.springblade.modules.common.pojo.vo.CommonUserAddressVO;
|
||||
import org.springblade.modules.common.excel.CommonUserAddressExcel;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseService;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户地址表 服务类
|
||||
@@ -49,13 +46,4 @@ public interface ICommonUserAddressService extends BaseService<CommonUserAddress
|
||||
*/
|
||||
IPage<CommonUserAddressVO> selectUserAddressPage(IPage<CommonUserAddressVO> page, CommonUserAddressVO userAddress);
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<UserAddressExcel>
|
||||
*/
|
||||
List<CommonUserAddressExcel> exportUserAddress(Wrapper<CommonUserAddressEntity> queryWrapper);
|
||||
|
||||
}
|
||||
|
||||
@@ -30,11 +30,9 @@ import org.springblade.modules.common.convert.AppCommonConvert;
|
||||
import org.springblade.modules.common.pojo.entity.CommonRegionsInfoEntity;
|
||||
import org.springblade.modules.common.pojo.vo.AppCommonRegionsInfoVO;
|
||||
import org.springblade.modules.common.pojo.vo.CommonRegionsInfoVO;
|
||||
import org.springblade.modules.common.excel.CommonRegionsInfoExcel;
|
||||
import org.springblade.modules.common.mapper.CommonRegionsInfoMapper;
|
||||
import org.springblade.modules.common.service.ICommonRegionsInfoService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseServiceImpl;
|
||||
import java.util.List;
|
||||
@@ -53,16 +51,6 @@ public class CommonRegionsInfoServiceImpl extends BaseServiceImpl<CommonRegionsI
|
||||
return page.setRecords(baseMapper.selectRegionsInfoPage(page, regionsInfo));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<CommonRegionsInfoExcel> exportRegionsInfo(Wrapper<CommonRegionsInfoEntity> queryWrapper) {
|
||||
List<CommonRegionsInfoExcel> regionsInfoList = baseMapper.exportRegionsInfo(queryWrapper);
|
||||
//regionsInfoList.forEach(regionsInfo -> {
|
||||
// regionsInfo.setTypeName(DictCache.getValue(DictEnum.YES_NO, RegionsInfo.getType()));
|
||||
//});
|
||||
return regionsInfoList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AppCommonRegionsInfoVO> findRegionList(Long pid, Integer level) {
|
||||
|
||||
|
||||
@@ -27,14 +27,11 @@ package org.springblade.modules.common.service.impl;
|
||||
|
||||
import org.springblade.modules.common.pojo.entity.CommonUserAddressEntity;
|
||||
import org.springblade.modules.common.pojo.vo.CommonUserAddressVO;
|
||||
import org.springblade.modules.common.excel.CommonUserAddressExcel;
|
||||
import org.springblade.modules.common.mapper.CommonUserAddressMapper;
|
||||
import org.springblade.modules.common.service.ICommonUserAddressService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseServiceImpl;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户地址表 服务实现类
|
||||
@@ -50,14 +47,4 @@ public class CommonUserAddressServiceImpl extends BaseServiceImpl<CommonUserAddr
|
||||
return page.setRecords(baseMapper.selectUserAddressPage(page, userAddress));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<CommonUserAddressExcel> exportUserAddress(Wrapper<CommonUserAddressEntity> queryWrapper) {
|
||||
List<CommonUserAddressExcel> userAddressList = baseMapper.exportUserAddress(queryWrapper);
|
||||
//userAddressList.forEach(userAddress -> {
|
||||
// userAddress.setTypeName(DictCache.getValue(DictEnum.YES_NO, UserAddress.getType()));
|
||||
//});
|
||||
return userAddressList;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user