多品牌使用
This commit is contained in:
@@ -31,6 +31,14 @@
|
||||
<version>1.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>easyexcel</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>easyexcel</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.cool.store.dto;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
||||
import com.alibaba.excel.annotation.write.style.ContentStyle;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.apache.poi.ss.usermodel.HorizontalAlignment;
|
||||
|
||||
import java.time.temporal.ChronoUnit;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2024/4/26 15:00
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.LEFT,wrapped = true)
|
||||
public class PreparationScheduleDTO {
|
||||
|
||||
@ExcelProperty("加盟商名称")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("加盟商名称")
|
||||
private String username;
|
||||
|
||||
@ExcelProperty("加盟商手机号")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("加盟手机号")
|
||||
private String mobile;
|
||||
|
||||
@ExcelProperty("门店名称")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("门店名称")
|
||||
private String shopName;
|
||||
|
||||
@ExcelProperty("门店编号")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("门店编码")
|
||||
private String storeNum;
|
||||
|
||||
|
||||
@ExcelProperty("当前进度")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("当前进度")
|
||||
private String currentProgress;
|
||||
|
||||
@ExcelProperty("计划开店时间")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("计划开店时间")
|
||||
private String planOpenTime;
|
||||
|
||||
@ExcelProperty("开店时长(小时)")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("开店时长")
|
||||
private String days;
|
||||
|
||||
@ExcelProperty("所属区域")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("所属站区")
|
||||
private String regionNodeName;
|
||||
|
||||
@ExcelProperty("招商经理")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("招商经理名称")
|
||||
private String investmentManagerName;
|
||||
|
||||
@ExcelProperty("招商经理名称")
|
||||
@ColumnWidth(30)
|
||||
@ApiModelProperty("督导")
|
||||
private String supervisionName;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package com.cool.store.entity;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author 邵凌志
|
||||
* @date 2020/12/9 16:00
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ImportTaskDO {
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 文件名
|
||||
*/
|
||||
private String fileName;
|
||||
|
||||
/**
|
||||
* 文件类型:region-区域,store-门店,user-人员
|
||||
*/
|
||||
private String fileType;
|
||||
|
||||
/**
|
||||
* 是否是导入
|
||||
*/
|
||||
private Boolean isImport;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 文件地址
|
||||
*/
|
||||
private String fileUrl;
|
||||
|
||||
/**
|
||||
* 成功条数
|
||||
*/
|
||||
private Integer successNum;
|
||||
|
||||
/**
|
||||
* 总条数
|
||||
*/
|
||||
private Integer totalNum;
|
||||
|
||||
/**
|
||||
* 上传人员id
|
||||
*/
|
||||
private String createUserId;
|
||||
|
||||
/**
|
||||
* 上传人
|
||||
*/
|
||||
private String createName;
|
||||
|
||||
/**
|
||||
* 上传时间
|
||||
*/
|
||||
private Long createTime;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
public ImportTaskDO(String fileName, String fileType, Boolean isImport, Integer status, String createUserId, String createName, Long createTime) {
|
||||
this.fileName = fileName;
|
||||
this.fileType = fileType;
|
||||
this.isImport = isImport;
|
||||
this.status = status;
|
||||
this.createUserId = createUserId;
|
||||
this.createName = createName;
|
||||
this.createTime = createTime;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.cool.store.vo.Preparation;
|
||||
|
||||
import com.cool.store.vo.BaseInfoVO;
|
||||
import com.lowagie.text.alignment.HorizontalAlignment;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user