Merge pull request 'andon' (#347) from jhforever.wang/i3plus-pojo-U7:test into test
Reviewed-on: http://git.estsh.com/i3-IMPP/i3plus-pojo/pulls/347yun-zuoyi
commit
c95650ed90
@ -0,0 +1,35 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.andon.model;
|
||||||
|
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: wangjie
|
||||||
|
* @CreateDate: 2019/8/21 9:19 AM
|
||||||
|
* @Description:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("andon导入异常结果model")
|
||||||
|
public class ExcelImportErrorModel implements Serializable {
|
||||||
|
|
||||||
|
@ApiParam("错误的行号")
|
||||||
|
private int rowNum;
|
||||||
|
|
||||||
|
@ApiParam("错误数量")
|
||||||
|
private int errorNum;
|
||||||
|
|
||||||
|
@ApiParam("错误列号")
|
||||||
|
private String cellNum;
|
||||||
|
|
||||||
|
@ApiParam("错误描述")
|
||||||
|
private String errorInfo;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.andon.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: wangjie
|
||||||
|
* @CreateDate: 2019/8/21 9:19 AM
|
||||||
|
* @Description:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("andon导入结果model")
|
||||||
|
public class ExcelImportResultModel<T> implements Serializable {
|
||||||
|
|
||||||
|
@ApiParam("结果")
|
||||||
|
private boolean result;
|
||||||
|
|
||||||
|
@ApiParam("成功行数量")
|
||||||
|
private int successRowNum;
|
||||||
|
|
||||||
|
@ApiParam("失败行数量")
|
||||||
|
private int failRowNum;
|
||||||
|
|
||||||
|
@ApiParam("错误信息集合")
|
||||||
|
private List<ExcelImportErrorModel> excelImportErrorModels;
|
||||||
|
|
||||||
|
@ApiParam("错误的行号")
|
||||||
|
private String errorRows;
|
||||||
|
|
||||||
|
@ApiParam("导入数据集合")
|
||||||
|
private List<T> excelList;
|
||||||
|
|
||||||
|
@ApiParam("导入进度")
|
||||||
|
private String importSpeed;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue