开发天津看板功能
parent
ce054916b4
commit
fcc66835b8
@ -0,0 +1,48 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:49 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_CUSTOM_PARAM_CFG")
|
||||
@Api("MES_看板自定义参数配置")
|
||||
public class MesBoardCustomParamCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3932883827194753734L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MgnBoardAreaYieldModel {
|
||||
|
||||
@ApiParam("组装")
|
||||
private MgnBoardListModel assembleBoardListModel;
|
||||
|
||||
@ApiParam("涂装")
|
||||
private MgnBoardListModel paintBoardListModel;
|
||||
|
||||
@ApiParam("注塑")
|
||||
private MgnBoardListModel injectMoldBoardListModel;
|
||||
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MgnBoardAssembleCompRateModel {
|
||||
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("合格率目标值")
|
||||
private String qualifiedRateTargetValue;
|
||||
|
||||
@ApiParam("完成率")
|
||||
private String planCompleteRate;
|
||||
|
||||
@ApiParam("合格率偏差值")
|
||||
private String fpyDeviationValue;
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class MgnBoardListModel {
|
||||
|
||||
@ApiParam("产线产量汇总")
|
||||
private List<MgnBoardYieldModel> centerYieldList;
|
||||
|
||||
@ApiParam("月度产量汇总")
|
||||
private List<MgnBoardYieldModel> monthlyYieldList;
|
||||
|
||||
@ApiParam("当班计划产量")
|
||||
private Double shiftPlanYield;
|
||||
|
||||
@ApiParam("当班实际产量")
|
||||
private Double shiftActualYield;
|
||||
|
||||
@ApiParam("计划完成率")
|
||||
private String planCompleteRate;
|
||||
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MgnBoardYieldModel {
|
||||
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("日期")
|
||||
private String date;
|
||||
|
||||
@ApiParam("计划产量")
|
||||
private Double planYield;
|
||||
|
||||
@ApiParam("实际产量")
|
||||
private Double actualYield;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBoardCustomParamCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesBoardCustomParamCfgRepository extends BaseRepository<MesBoardCustomParamCfg, Long> {
|
||||
}
|
Loading…
Reference in New Issue