Merge remote-tracking branch 'origin/dev' into dev
commit
df480bf11d
@ -0,0 +1,43 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 生产配方模板
|
||||||
|
* @Reference :
|
||||||
|
* @author: jessica.chen
|
||||||
|
* @date: 2020/4/16 17:10
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Api(value="生产配方模板",description = "生产配方模板")
|
||||||
|
public class MesPartFormulaModel extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 2167743108452607620L;
|
||||||
|
|
||||||
|
@ApiParam(value = "组号")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String groupNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "组内名称")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String groupName;
|
||||||
|
|
||||||
|
@ApiParam(value = "原材料物料号")
|
||||||
|
@AnnoOutputColumn(required = false)
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "编号")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "下标值")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private Integer index;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,45 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.mes;
|
||||||
|
|
||||||
|
|
||||||
|
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("mes导入结果model")
|
||||||
|
public class ExcelImportModel<T> implements Serializable {
|
||||||
|
|
||||||
|
@ApiParam("结果")
|
||||||
|
private boolean result;
|
||||||
|
|
||||||
|
@ApiParam("成功行数量")
|
||||||
|
private int successRowNum;
|
||||||
|
|
||||||
|
@ApiParam("失败行数量")
|
||||||
|
private int failRowNum;
|
||||||
|
|
||||||
|
@ApiParam("错误信息集合")
|
||||||
|
private List<ImportErrorModel> ImportErrorModels;
|
||||||
|
|
||||||
|
@ApiParam("错误的行号")
|
||||||
|
private String errorRows;
|
||||||
|
|
||||||
|
@ApiParam("导入数据集合")
|
||||||
|
private List<T> excelList;
|
||||||
|
|
||||||
|
@ApiParam("导入进度")
|
||||||
|
private String importSpeed;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.mes;
|
||||||
|
|
||||||
|
|
||||||
|
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("mes导入异常结果model")
|
||||||
|
public class ImportErrorModel implements Serializable {
|
||||||
|
|
||||||
|
@ApiParam("错误的行号")
|
||||||
|
private int rowNum;
|
||||||
|
|
||||||
|
@ApiParam("错误数量")
|
||||||
|
private int errorNum;
|
||||||
|
|
||||||
|
@ApiParam("错误列号")
|
||||||
|
private String cellNum;
|
||||||
|
|
||||||
|
@ApiParam("错误描述")
|
||||||
|
private String errorInfo;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue