diff --git a/coolstore-partner-model/src/main/java/com/cool/store/dto/pre/fry/ApplyManagementDTO.java b/coolstore-partner-model/src/main/java/com/cool/store/dto/pre/fry/ApplyManagementDTO.java index f7cee8346..cfbefefbb 100644 --- a/coolstore-partner-model/src/main/java/com/cool/store/dto/pre/fry/ApplyManagementDTO.java +++ b/coolstore-partner-model/src/main/java/com/cool/store/dto/pre/fry/ApplyManagementDTO.java @@ -2,6 +2,7 @@ package com.cool.store.dto.pre.fry; import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelProperty; +import com.alibaba.excel.annotation.write.style.ColumnWidth; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -19,12 +20,15 @@ public class ApplyManagementDTO { @ExcelProperty(value = "门店编号",order = 3) @ApiModelProperty("门店Code") + @ColumnWidth(30) private String storeCode; @ExcelProperty(value = "门店名称",order = 2) @ApiModelProperty("门店名称") + @ColumnWidth(30) private String storeName; + @ColumnWidth(30) @ExcelProperty(value = "申请单号",order = 1) @ApiModelProperty("申请单号") private String applyCode; @@ -33,6 +37,7 @@ public class ApplyManagementDTO { @ApiModelProperty("申请类型:1-有冷藏展示柜,2-有常温展示柜,3-无展示柜 ") private Integer applyType; + @ColumnWidth(30) @ExcelProperty(value = "申请类型",order =4) private String applyTypeName; @@ -40,14 +45,17 @@ public class ApplyManagementDTO { @ApiModelProperty("申请人ID") private String createUserId; + @ColumnWidth(30) @ExcelProperty(value = "申请人",order = 5) @ApiModelProperty("申请人名称") private String createUserName; + @ColumnWidth(30) @ExcelProperty(value = "申请人手机号",order =6) @ApiModelProperty("申请人手机号") private String createUserMobile; + @ColumnWidth(30) @ExcelProperty(value = "申请时间",order = 7) private String createTimeStr; @@ -55,6 +63,7 @@ public class ApplyManagementDTO { @ApiModelProperty("申请时间") private Date createTime; + @ColumnWidth(30) @ExcelProperty(value = "审核状态",order =8) private String auditStatusName; diff --git a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/ExportRealizeServiceImpl.java b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/ExportRealizeServiceImpl.java index c9387f28d..fb3adeeca 100644 --- a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/ExportRealizeServiceImpl.java +++ b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/ExportRealizeServiceImpl.java @@ -701,6 +701,7 @@ public class ExportRealizeServiceImpl implements ExportRealizeService { } @Override + @Async public void exportPreFryQualificationApply(List list, ImportTaskDO importTaskDO) { String url = ""; try {