数据复核
parent
f3b7ae8bc5
commit
f578311f55
@ -0,0 +1,59 @@
|
|||||||
|
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.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :物料校验项
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wangjie
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_PART_CHECK")
|
||||||
|
@Api("物料校验项")
|
||||||
|
public class MesPartCheck extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -7706120594398072630L;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "OBJECT_CODE")
|
||||||
|
@ApiParam("对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@Column(name = "CHECK_SPEL_EXPRESS")
|
||||||
|
@ApiParam("校验表达式")
|
||||||
|
private String checkSpelExpress;
|
||||||
|
|
||||||
|
@Column(name = "TYPE_SPEL_EXPRESS")
|
||||||
|
@ApiParam("类型表达式")
|
||||||
|
private String typeSpelExpress;
|
||||||
|
|
||||||
|
@Column(name = "RECORD_NUM_SPEL_EXPRESS")
|
||||||
|
@ApiParam("记录数量表达式")
|
||||||
|
private String recordNumSpelExpress;
|
||||||
|
|
||||||
|
@Column(name = "RECORD_NUM_DESC")
|
||||||
|
@ApiParam("校验表达式")
|
||||||
|
private String recordNumDesc;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("数据复核model")
|
||||||
|
public class DataReviewStepModel {
|
||||||
|
|
||||||
|
@ApiParam("关键件")
|
||||||
|
private String itemPartNo;
|
||||||
|
|
||||||
|
@ApiParam("需要数量")
|
||||||
|
private String needNum;
|
||||||
|
|
||||||
|
@ApiParam("实际数量")
|
||||||
|
private String realNum;
|
||||||
|
|
||||||
|
@ApiParam("对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("生产数据缓存model")
|
||||||
|
public class ProductDataCacheModel {
|
||||||
|
|
||||||
|
@ApiParam("对象代码")
|
||||||
|
private String objectCode;
|
||||||
|
|
||||||
|
@ApiParam("字段名称")
|
||||||
|
private List<ProductDataModel> productDataModelList;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPartCheck;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: wangjie
|
||||||
|
* @CreateDate: 2019\11\18 10:34
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface MesPartCheckRepository extends BaseRepository<MesPartCheck, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue