安灯项目优化
commit
da56d45a68
@ -0,0 +1,46 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : ANDON_事件处理方法
|
||||||
|
* @Reference :
|
||||||
|
* @Author : hansen.ke
|
||||||
|
* @CreateDate : 2019-05-13 17:16
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@Table(name="ANDON_EVENT_METHOD")
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Api("ANDON_事件处理方法")
|
||||||
|
public class AndonEventMethod extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "EM_CODE")
|
||||||
|
@ApiParam(value = "事件方法代码")
|
||||||
|
private String emCode;
|
||||||
|
|
||||||
|
@Column(name = "EM_NAME")
|
||||||
|
@ApiParam(value = "事件方法描述")
|
||||||
|
private String emName;
|
||||||
|
|
||||||
|
@Column(name = "PARENT_EM_CODE")
|
||||||
|
@ApiParam(value = "父阶方法代码")
|
||||||
|
private String parentEmCode;
|
||||||
|
|
||||||
|
@Column(name = "ALARM_CODE")
|
||||||
|
@ApiParam(value = "安灯类型")
|
||||||
|
private String alarmCode;
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :mes系统业务动作
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-04-19
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MES_SHIFT")
|
||||||
|
@Api("班次信息")
|
||||||
|
public class MesShift extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name="SHIFT_CODE")
|
||||||
|
@ApiParam("班次代码")
|
||||||
|
private String shiftCode;
|
||||||
|
|
||||||
|
@Column(name="SHIFT_NAME")
|
||||||
|
@ApiParam("班次名称")
|
||||||
|
private String shiftName;
|
||||||
|
|
||||||
|
@Column(name="START_TIME")
|
||||||
|
@ApiParam("开班时间")
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
@Column(name="WORK_TIMES")
|
||||||
|
@ApiParam("作业时长")
|
||||||
|
private String workTimes;
|
||||||
|
|
||||||
|
public MesShift() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public MesShift(String workCenterCode,String organizeCode) {
|
||||||
|
this.workCenterCode = workCenterCode;
|
||||||
|
this.organizeCode = organizeCode;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.andon.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.andon.bean.MesShift;
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: Crish
|
||||||
|
* @CreateDate:2019-04-19-13:53
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesShiftRepository extends BaseRepository<MesShift, Long> {
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.ListPager;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 待发布订单列表发布输入模型
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.lv
|
||||||
|
* @CreateDate : 2019-05-13 13:13
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class SwebPOUpdatePublishForPublishModel extends BaseBean {
|
||||||
|
|
||||||
|
@ApiParam(value = "拆分请求时间数量列表", example = "1")
|
||||||
|
private List<String> reqTimeList;
|
||||||
|
|
||||||
|
@ApiParam(value = "列表项", example = "1")
|
||||||
|
private SwebPOForPubListResultItemModel item;
|
||||||
|
}
|
Loading…
Reference in New Issue