Browse Source

修改导出问题

master
刘忱 1 month ago
parent
commit
041a858dbe
  1. 2
      win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/location/LocationController.java
  2. 2
      win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/locationarea/LocationAreaController.java
  3. 2
      win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/supplier/SupplierController.java

2
win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/location/LocationController.java

@ -144,6 +144,8 @@ public class LocationController {
private List<LocationExcelVO> getExcelVo(List<LocationDO> list, Map<Integer, String[]> mapDropDown) {
String[] type = DictFrameworkUtils.dictTypeDictDataValue(DictTypeConstants.LOCATION_AREA_TYPE);
mapDropDown.put(4, type);
String[] isInAccount = DictFrameworkUtils.dictTypeDictDataValue(DictTypeConstants.TRUE_FALSE);
mapDropDown.put(5, isInAccount);
// 导出 Excel
List<LocationExcelVO> resultList = LocationConvert.INSTANCE.convertList02(list);
for (LocationExcelVO locationExcelVO : resultList) {

2
win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/locationarea/LocationAreaController.java

@ -107,6 +107,8 @@ public class LocationAreaController {
}
private List<LocationAreaExcelVO> getExcelVo(List<LocationAreaDO> list, Map<Integer, String[]> mapDropDown) {
String[] type = DictFrameworkUtils.dictTypeDictDataValue(DictTypeConstants.LOCATION_AREA_TYPE);
mapDropDown.put(2, type);
// 导出 Excel
List<LocationAreaExcelVO> resultList = LocationAreaConvert.INSTANCE.convertList02(list);
return resultList;

2
win-module-eam/win-module-eam-biz/src/main/java/com/win/module/eam/controller/supplier/SupplierController.java

@ -110,8 +110,6 @@ public class SupplierController {
}
private List<SupplierExcelVO> getExcelVo(List<SupplierDO> list, Map<Integer, String[]> mapDropDown) {
String[] available = DictFrameworkUtils.dictTypeDictDataValue(DictTypeConstants.TRUE_FALSE);
mapDropDown.put(6, available);
// 导出 Excel
List<SupplierExcelVO> resultList = SupplierConvert.INSTANCE.convertList02(list);
return resultList;

Loading…
Cancel
Save