Merge branch 'master' of http://git.estsh.com/i3-IMPP/i3plus-pojo
commit
41b0855f5d
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.wms.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;
|
||||
|
||||
/**
|
||||
* @Description : 作业步骤处理组件
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2018-11-22 16:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ACTION_MODULE")
|
||||
@Api("作业步骤处理组")
|
||||
public class WmsActionModule extends BaseBean {
|
||||
|
||||
@Column(name="AM_NAME")
|
||||
@ApiParam("组件名称")
|
||||
public String amName;
|
||||
|
||||
@Column(name="AM_DESC")
|
||||
@ApiParam("组件描述")
|
||||
public String amDesc;
|
||||
|
||||
@Column(name="CALL_CLASS")
|
||||
@ApiParam("实现类")
|
||||
public String callClass;
|
||||
|
||||
@Column(name="CALL_FUN")
|
||||
@ApiParam("调用方法")
|
||||
public String callFun;
|
||||
|
||||
@Column(name="AM_TYPE")
|
||||
@ApiParam(value = "组件类型", example = "0")
|
||||
public Integer amType;
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.wms.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;
|
||||
|
||||
/**
|
||||
* @Description : 作业步骤处理组参数
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2018-11-22 16:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ACTION_MODULE_PARAM")
|
||||
@Api("作业步骤处理组参数")
|
||||
public class WmsActionModuleParam extends BaseBean {
|
||||
|
||||
@Column(name="AM_ID")
|
||||
@ApiParam("组件ID")
|
||||
public Long amID;
|
||||
|
||||
@Column(name="PARAM_CODE")
|
||||
@ApiParam("参数编码")
|
||||
public String paramCode;
|
||||
|
||||
@Column(name="PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
public String paramName;
|
||||
|
||||
@Column(name="PARAM_VALUE_LIST")
|
||||
@ApiParam("参数可选值列表")
|
||||
public String paramValueList;
|
||||
|
||||
@Column(name="PARAM_TYPE")
|
||||
@ApiParam(value = "参数类型", example = "0")
|
||||
public Integer paramType;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : PDA传输到后台的实体bean对象
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2018-11-22 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("返回前端数据实体")
|
||||
public class WmsActionResponseBean extends BaseBean {
|
||||
|
||||
@ApiParam("进度")
|
||||
public Double percent;
|
||||
|
||||
@ApiParam("当前步骤")
|
||||
public Integer currentStep;
|
||||
|
||||
@ApiParam("总步数")
|
||||
public int totalStep;
|
||||
|
||||
@ApiParam("提示信息")
|
||||
public String message;
|
||||
|
||||
@ApiParam("列表信息")
|
||||
public List<String> informations;
|
||||
|
||||
@ApiParam("可选项")
|
||||
public List<String> options;
|
||||
|
||||
@ApiParam("选中的明细数据")
|
||||
public String details;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package cn.estsh.i3plus.pojo.wms.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;
|
||||
|
||||
/**
|
||||
* @Description :作业步骤类型信息
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2018-11-22 9:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_ACTION_STEP")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="作业步骤信息",description = "作业步骤信息")
|
||||
public class WmsActionStep extends BaseBean {
|
||||
|
||||
@Column(name = "AS_NAME_E")
|
||||
@ApiParam(value = "英文类型名称")
|
||||
private String asNameE;
|
||||
|
||||
@Column(name = "AS_DESC_E")
|
||||
@ApiParam(value = "英文类型描述")
|
||||
private String asDescE;
|
||||
|
||||
@Column(name = "AS_NAME_C")
|
||||
@ApiParam(value = "中文类型名称")
|
||||
private String asNameC;
|
||||
|
||||
@Column(name = "AS_DESC_C")
|
||||
@ApiParam(value = "中文类型描述")
|
||||
private String asDescC;
|
||||
|
||||
@Column(name = "AT_NAME_C_RDD")
|
||||
@ApiParam(value = "步骤类型名称")
|
||||
private String atNameCRdd;
|
||||
|
||||
@Column(name = "AT_ID")
|
||||
@ApiParam(value = "步骤类型编号", example = "0")
|
||||
private Long atId;
|
||||
|
||||
//get单独处理
|
||||
public Long getAtId() {
|
||||
if(atId != null) {
|
||||
return atId.longValue();
|
||||
}else{
|
||||
return atId;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : 作业步骤调用
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2018-11-22 14:18
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ACTION_STEP_CALL")
|
||||
@Api("作业步骤调用信息")
|
||||
public class WmsActionStepCall extends BaseBean {
|
||||
|
||||
@Column(name="AS_ID")
|
||||
@ApiParam(value = "作业步骤ID",example = "0")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long asId;
|
||||
|
||||
@Column(name="SEQ")
|
||||
@ApiParam(value = "序号",example = "0")
|
||||
public Integer seq;
|
||||
|
||||
@Column(name="AM_ID")
|
||||
@ApiParam(value = "处理组件ID",example = "0")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
public Long amId;
|
||||
|
||||
@ApiParam(value = "组件名称")
|
||||
public transient String amName;
|
||||
|
||||
@ApiParam(value = "组件描述")
|
||||
public transient String amDesc;
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.wms.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;
|
||||
|
||||
/**
|
||||
* @Description :作业步骤类型信息
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2018-11-22 9:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_ACTION_TYPE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="作业步骤类型信息",description = "作业步骤类型信息")
|
||||
public class WmsActionStepType extends BaseBean {
|
||||
|
||||
@Column(name = "AT_NAME_E")
|
||||
@ApiParam(value = "英文类型名称")
|
||||
private String atNameE;
|
||||
|
||||
@Column(name = "AT_DESC_E")
|
||||
@ApiParam(value = "英文类型描述")
|
||||
private String atDescE;
|
||||
|
||||
@Column(name = "AT_NAME_C")
|
||||
@ApiParam(value = "中文类型名称")
|
||||
private String atNameC;
|
||||
|
||||
@Column(name = "AT_DESC_C")
|
||||
@ApiParam(value = "中文类型描述")
|
||||
private String atDescC;
|
||||
|
||||
@Column(name = "FUN_CALL_NAME")
|
||||
@ApiParam(value = "方法调用名称")
|
||||
private String funCallName;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionModuleParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 作业步骤处理组件参数
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2018-11-22 17:01
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionModuleParamRepository extends BaseRepository<WmsActionModuleParam, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionModule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
/**
|
||||
* @Description : 作业步骤处理组件
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2018-11-22 17:01
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionModuleRepository extends BaseRepository<WmsActionModule, Long> {
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionStepCall;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 作业步骤调用信息
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2018-11-22 14:41
|
||||
* @Modify:
|
||||
**/
|
||||
public interface WmsActionStepCallRepository extends BaseRepository<WmsActionStepCall, Long> {
|
||||
|
||||
@Query("from WmsActionStepCall was, WmsActionStep wass where was.amId = wass.id ")
|
||||
List<WmsActionStepCall> findWmsActionStepCallByAmid(@Param("id") long id);
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionStep;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 作业步骤操作类
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2018-11-22 11:25
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionStepRepository extends BaseRepository<WmsActionStep, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionStepType;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsQCDetails;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 作业步骤类型操作类
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2018-11-22 11:25
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsActionStepTypeRepository extends BaseRepository<WmsActionStepType, Long> {
|
||||
}
|
Loading…
Reference in New Issue