yun-zuoyi
wynne1005 5 years ago
commit ea6fc313c3

@ -0,0 +1,54 @@
package cn.estsh.i3plus.pojo.andon.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.Table;
import java.io.Serializable;
/**
* @Description :
* @Reference :
* @Author : siliter
* @CreateDate : 2019-03-07 09:58
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="ANDON_PLC_COLOR_CFG")
@Api(value="PLC三色灯控制")
public class AndonPlcColorCfg extends BaseBean implements Serializable {
private static final long serialVersionUID = -3284234821448131212L;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元")
private String workCellCode;
@Column(name="RED_PLC_CODE")
@ApiParam(value ="红灯PLC代码")
private String redPlcCode;
@Column(name="YELLOW_PLC_CODE")
@ApiParam(value ="黄灯PLC代码")
private String yellowPlcCode;
@Column(name="GREEN_PLC_CODE")
@ApiParam(value ="绿灯PLC代码")
private String greenPlcCode;
}

@ -0,0 +1,17 @@
package cn.estsh.i3plus.pojo.andon.repository;
import cn.estsh.i3plus.pojo.andon.bean.AndonActionModule;
import cn.estsh.i3plus.pojo.andon.bean.AndonPlcColorCfg;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-05-13 11:07
* @Modify:
**/
@Repository
public interface IAndonPlcColorCfgRepository extends BaseRepository<AndonPlcColorCfg, Long> {
}

@ -57,7 +57,7 @@ public class MesDbCheckRecord extends BaseBean implements Serializable {
@Column(name = "PRODUCT_DATA_ID") @Column(name = "PRODUCT_DATA_ID")
@ApiParam("生产记录表主键ID") @ApiParam("生产记录表主键ID")
private String productDataId; private Long productDataId;
//是否停线1=是2=否 //是否停线1=是2=否
@Column(name = "IS_STOP_LINE") @Column(name = "IS_STOP_LINE")

@ -155,4 +155,8 @@ public class MesPart extends BaseBean implements Serializable {
@Transient @Transient
@ApiParam("拉动数量") @ApiParam("拉动数量")
private Double pullQty; private Double pullQty;
@Transient
@ApiParam("BOM用量")
private Double bomQty = 0d;
} }

@ -100,4 +100,8 @@ public class MesRepairRecord extends BaseBean implements Serializable {
@Transient @Transient
@ApiParam("缺陷集合") @ApiParam("缺陷集合")
private List<MesDefect> mesDefectList; private List<MesDefect> mesDefectList;
@Transient
@ApiParam("质量状态")
private Integer qcStatus;
} }

@ -0,0 +1,35 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description:
* @CreateDate: 2020/9/24
* @Author: simon.song
*/
@Data
public class MesDbCheckRecordModel {
@ApiParam("过程条码")
private String serialNumber;
@ApiParam("物料号")
private String partNo;
@ApiParam("物料名称")
private String partDesc;
@ApiParam("异常取值字段")
private String errorFiledCode;
@ApiParam("异常描述")
private String errorDesc;
public MesDbCheckRecordModel(String serialNumber, String partNo, String partDesc, String errorFiledCode, String errorDesc) {
this.serialNumber = serialNumber;
this.partNo = partNo;
this.partDesc = partDesc;
this.errorFiledCode = errorFiledCode;
this.errorDesc = errorDesc;
}
}

@ -353,7 +353,7 @@ public class MesPcnHqlPack {
DdlPreparedPack.getStringLikerPack(dbCheckRecord.getErrorFiledCode(), "errorFiledCode", packBean); DdlPreparedPack.getStringLikerPack(dbCheckRecord.getErrorFiledCode(), "errorFiledCode", packBean);
} }
if (!StringUtils.isEmpty(dbCheckRecord.getProductDataId())) { if (!StringUtils.isEmpty(dbCheckRecord.getProductDataId())) {
DdlPreparedPack.getStringLikerPack(dbCheckRecord.getProductDataId(), "productDataId", packBean); DdlPreparedPack.getNumberBiggerEqualPack(dbCheckRecord.getProductDataId(), "productDataId", packBean);
} }
if (!StringUtils.isEmpty(dbCheckRecord.getIsStopLine())) { if (!StringUtils.isEmpty(dbCheckRecord.getIsStopLine())) {
DdlPreparedPack.getNumberBiggerEqualPack(dbCheckRecord.getIsStopLine(), "isStopLine", packBean); DdlPreparedPack.getNumberBiggerEqualPack(dbCheckRecord.getIsStopLine(), "isStopLine", packBean);

@ -173,4 +173,8 @@ public class WmsInterfaceDataMapper extends BaseBean {
@ColumnDefault("10") @ColumnDefault("10")
@AnnoOutputColumn(refClass = WmsEnumUtil.SOFT_DATA_FORM.class, refForeignKey = "value", value = "description", required = false) @AnnoOutputColumn(refClass = WmsEnumUtil.SOFT_DATA_FORM.class, refForeignKey = "value", value = "description", required = false)
public Integer softDataType; public Integer softDataType;
@ApiParam("接口名称")
@Column(name = "INTERFACE_NAME")
public String interfaceName;
} }

@ -2543,6 +2543,7 @@ public class WmsHqlPack {
DdlPreparedPack.getStringLikerPack(wmsInterfaceDataMapper.getDestBeanName(), "destBeanName", result); DdlPreparedPack.getStringLikerPack(wmsInterfaceDataMapper.getDestBeanName(), "destBeanName", result);
DdlPreparedPack.getStringLikerPack(wmsInterfaceDataMapper.getBusiRoute(), "busiRoute", result); DdlPreparedPack.getStringLikerPack(wmsInterfaceDataMapper.getBusiRoute(), "busiRoute", result);
DdlPreparedPack.getStringLikerPack(wmsInterfaceDataMapper.getGroupName(), "groupName", result); DdlPreparedPack.getStringLikerPack(wmsInterfaceDataMapper.getGroupName(), "groupName", result);
DdlPreparedPack.getStringLikerPack(wmsInterfaceDataMapper.getInterfaceName(), "interfaceName", result);
getStringBuilderPack(wmsInterfaceDataMapper, result); getStringBuilderPack(wmsInterfaceDataMapper, result);

Loading…
Cancel
Save