开发涂装检查工位和一次、二次箱条码Un-Pack-后端开发业务逻辑
parent
17783e1698
commit
295860683a
@ -0,0 +1,90 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :不良信息接口表
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-06-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "IF_DEFECT_DATA")
|
||||
@Api("不良信息接口数据")
|
||||
public class IfDefectData extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 4320604250440221049L;
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serailNumber;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name = "DEFECT_NAME")
|
||||
@ApiParam("缺陷名称")
|
||||
private String defectName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Column(name = "DEFECT_ACTION_TYPE")
|
||||
@ApiParam("不良处理类型")
|
||||
private Integer defectActionType;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
|
||||
@Lob
|
||||
@Column(name = "ERROR_MESSAGE")
|
||||
@ApiParam("异常消息")
|
||||
private String errorMessage;
|
||||
|
||||
@Column(name = "ACTION_TYPE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionType;
|
||||
|
||||
@Column(name = "IF_CODE")
|
||||
@ApiParam("接口代码")
|
||||
private String ifCode;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description: 条码解绑实体
|
||||
* @Reference:
|
||||
* @Author: siliter.yuan
|
||||
* @CreateDate: 2020-06-28-11:44
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class PackageSnModel {
|
||||
|
||||
@ApiParam("包装条码")
|
||||
private String packageNo;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam("批次")
|
||||
private String lotNo;
|
||||
|
||||
@ApiParam("创建人")
|
||||
private String createUser;
|
||||
|
||||
@ApiParam("创建时间")
|
||||
private String createDateTime;
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWindowModuleParam;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: siliter.yuan
|
||||
* @CreateDate: 2020/6/28 8:06 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Api("涂装检测MODEL")
|
||||
public class PaintCheckModel {
|
||||
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@ApiParam("颜色")
|
||||
private String color;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("界面编号")
|
||||
private String windowNo;
|
||||
|
||||
@ApiParam("缺陷类型")
|
||||
private String defectType;
|
||||
|
||||
@ApiParam("缺陷描述")
|
||||
private String defectDesc;
|
||||
|
||||
@ApiParam("缺陷标识值")
|
||||
private String defectFlagValue;
|
||||
|
||||
@ApiParam("不良品处理类型")
|
||||
private Integer defectActionType;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE_CODE")
|
||||
@ApiParam("项目代码")
|
||||
private String prodCfgTypeCode;
|
||||
|
||||
@ApiParam("界面组件参数数据")
|
||||
List<MesWindowModuleParam> windowModuleParamList;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.IfDefectData;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : if不良信息接口
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-06-28 16:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IfDefectDataRepository extends BaseRepository<IfDefectData, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue