提交zh修改问题
parent
6f375edf9a
commit
878acb869f
@ -0,0 +1,44 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: Wynne.Lu
|
||||||
|
* @CreateDate: 2019/7/30 9:30 AM
|
||||||
|
* @Description:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_PART_SAMPLE")
|
||||||
|
@Api("产品样本配置")
|
||||||
|
public class MesPartSample extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = -9190123981329081945L;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "QTY")
|
||||||
|
@ApiParam("数量")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,49 @@
|
|||||||
|
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.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2020/6/16 14:21
|
||||||
|
* @desc 打包样本
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("打包样本")
|
||||||
|
public class PackageSampleModel {
|
||||||
|
|
||||||
|
@ApiParam(name = "已打包数量")
|
||||||
|
private Double alreadyPackageCount;
|
||||||
|
|
||||||
|
@ApiParam(name = "标准打包数量")
|
||||||
|
private Double standardPackageCount;
|
||||||
|
|
||||||
|
@ApiParam(name = "样本类型")
|
||||||
|
private Map<String, String> sampleTypeMap;
|
||||||
|
|
||||||
|
@ApiParam(name = "样本类型代码")
|
||||||
|
private String lastSampleTypeCode;
|
||||||
|
|
||||||
|
@ApiParam(name = "选择的样本类型")
|
||||||
|
private String chooseSampleTypeCode;
|
||||||
|
|
||||||
|
@ApiParam(name = "强制执行工步")
|
||||||
|
private String forceStepCode;
|
||||||
|
|
||||||
|
@ApiParam(name = "强制打包密码")
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
@ApiParam(name = "工厂")
|
||||||
|
private String organizeCode;
|
||||||
|
|
||||||
|
@ApiParam(name = "工单号")
|
||||||
|
private String workOrderNo;
|
||||||
|
|
||||||
|
}
|
@ -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.MesPartSample;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesPartSampleRepository extends BaseRepository<MesPartSample, Long> {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue