Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
						commit
						2bc15b56ea
					
				| @ -0,0 +1,53 @@ | ||||
| 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 : MES_看板工位信息 | ||||
|  * @Reference : | ||||
|  * @Author : amy | ||||
|  * @CreateDate : 2018-11-07 14:21 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| @Entity | ||||
| @DynamicInsert | ||||
| @DynamicUpdate | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Table(name = "MES_BOARD_LINE_COORDS_MATRIX") | ||||
| @Api("MES_看板产线坐标") | ||||
| public class MesBoardLineCoordsMatrix extends BaseBean implements Serializable { | ||||
|     private static final long serialVersionUID = -7823702941907604215L; | ||||
| 
 | ||||
|     @Column(name = "BOARD_CODE") | ||||
|     @ApiParam("看板代码") | ||||
|     private String boardCode; | ||||
| 
 | ||||
|     @Column(name = "AREA_CODE") | ||||
|     @ApiParam("区域代码") | ||||
|     private String areaCode; | ||||
| 
 | ||||
|     @Column(name = "WORK_CENTER_CODE") | ||||
|     @ApiParam("产线代码") | ||||
|     private String workCenterCode; | ||||
| 
 | ||||
|     @Column(name = "X_AXIS") | ||||
|     @ApiParam("X坐标") | ||||
|     private String xAxis; | ||||
| 
 | ||||
|     @Column(name = "Y_AXIS") | ||||
|     @ApiParam("Y坐标") | ||||
|     private String yAxis; | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,73 @@ | ||||
| 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 : MES_看板工位信息 | ||||
|  * @Reference : | ||||
|  * @Author : amy | ||||
|  * @CreateDate : 2018-11-07 14:21 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| @Entity | ||||
| @DynamicInsert | ||||
| @DynamicUpdate | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Table(name = "MES_BOARD_LINE_MATRIX") | ||||
| @Api("MES_看板产线矩阵") | ||||
| public class MesBoardLineMatrix extends BaseBean implements Serializable { | ||||
|     private static final long serialVersionUID = 4414374274261870347L; | ||||
| 
 | ||||
|     @Column(name = "BOARD_CODE") | ||||
|     @ApiParam("看板代码") | ||||
|     private String boardCode; | ||||
| 
 | ||||
|     @Column(name = "AREA_CODE") | ||||
|     @ApiParam("区域代码") | ||||
|     private String areaCode; | ||||
| 
 | ||||
|     @Column(name = "WORK_CENTER_CODE") | ||||
|     @ApiParam("产线代码") | ||||
|     private String workCenterCode; | ||||
| 
 | ||||
|     @Column(name = "PICTURE_URL") | ||||
|     @ApiParam("产线图片路径") | ||||
|     private String pictureUrl; | ||||
| 
 | ||||
|     @Column(name = "USER_FIRST") | ||||
|     @ApiParam("用户编号1") | ||||
|     private String userFirst; | ||||
| 
 | ||||
|     @Column(name = "USER_SECOND") | ||||
|     @ApiParam("用户编号2") | ||||
|     private String userSecond; | ||||
| 
 | ||||
|     @Column(name = "USER_THIRD") | ||||
|     @ApiParam("用户编号3") | ||||
|     private String userThird; | ||||
| 
 | ||||
|     @Column(name = "USER_FORTH") | ||||
|     @ApiParam("用户编号4") | ||||
|     private String userForth; | ||||
| 
 | ||||
|     @Column(name = "USER_FIFTH") | ||||
|     @ApiParam("用户编号5") | ||||
|     private String userFifth; | ||||
| 
 | ||||
|     @Column(name = "USER_SIXTH") | ||||
|     @ApiParam("用户编号6") | ||||
|     private String userSixth; | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,61 @@ | ||||
| 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 : MES_看板工位信息 | ||||
|  * @Reference : | ||||
|  * @Author : amy | ||||
|  * @CreateDate : 2018-11-07 14:21 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| @Entity | ||||
| @DynamicInsert | ||||
| @DynamicUpdate | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Table(name = "MES_BOARD_LINE_STAFF_MATRIX") | ||||
| @Api("MES_看板产线员工能力矩阵") | ||||
| public class MesBoardLineStaffMatrix extends BaseBean implements Serializable { | ||||
|     private static final long serialVersionUID = 1889056360071546259L; | ||||
| 
 | ||||
|     @Column(name = "BOARD_CODE") | ||||
|     @ApiParam("看板代码") | ||||
|     private String boardCode; | ||||
| 
 | ||||
|     @Column(name = "AREA_CODE") | ||||
|     @ApiParam("区域代码") | ||||
|     private String areaCode; | ||||
| 
 | ||||
|     @Column(name = "WORK_CENTER_CODE") | ||||
|     @ApiParam("产线代码") | ||||
|     private String workCenterCode; | ||||
| 
 | ||||
|     @Column(name = "WORK_CELL_CODE") | ||||
|     @ApiParam("工位代码") | ||||
|     private String workCellCode; | ||||
| 
 | ||||
|     @Column(name = "USER_CODE") | ||||
|     @ApiParam("员工编号") | ||||
|     private String userCode; | ||||
| 
 | ||||
|     @Column(name = "X_AXIS") | ||||
|     @ApiParam("X坐标") | ||||
|     private Double xAxis; | ||||
| 
 | ||||
|     @Column(name = "Y_AXIS") | ||||
|     @ApiParam("Y坐标") | ||||
|     private Double yAxis; | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,43 @@ | ||||
| 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 | ||||
|  * @date 2020/10/27 13:29 | ||||
|  * @desc | ||||
|  */ | ||||
| @Data | ||||
| @Entity | ||||
| @DynamicInsert | ||||
| @DynamicUpdate | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Table(name = "MES_LINE_FAULT_RECORD") | ||||
| @Api("产线故障记录表") | ||||
| public class MesLineFaultRecord extends BaseBean implements Serializable { | ||||
| 
 | ||||
|     private static final long serialVersionUID = 6108659377329720059L; | ||||
| 
 | ||||
|     @Column(name = "AREA_CODE") | ||||
|     @ApiParam("区域代码") | ||||
|     private String areaCode; | ||||
| 
 | ||||
|     @Column(name = "EQU_NAME") | ||||
|     @ApiParam("设备名称") | ||||
|     private String equName; | ||||
| 
 | ||||
|     @Column(name = "FAULT_TIME") | ||||
|     @ApiParam("故障时长(分)") | ||||
|     private Double faultTime; | ||||
| } | ||||
| @ -0,0 +1,58 @@ | ||||
| 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 javax.persistence.Transient; | ||||
| import java.io.Serializable; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : 员工信息 | ||||
|  * @Reference : | ||||
|  * @Author : amy | ||||
|  * @CreateDate : 2018-11-07 14:21 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| @Entity | ||||
| @DynamicInsert | ||||
| @DynamicUpdate | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Table(name = "MES_STAFF") | ||||
| @Api("员工信息") | ||||
| public class MesStaff extends BaseBean implements Serializable { | ||||
|     private static final long serialVersionUID = -8330599945613548761L; | ||||
| 
 | ||||
|     @Column(name = "USER_CODE") | ||||
|     @ApiParam("员工编号") | ||||
|     private String userCode; | ||||
| 
 | ||||
|     @Column(name = "USER_NAME") | ||||
|     @ApiParam("姓名") | ||||
|     private String userName; | ||||
| 
 | ||||
|     @Column(name = "PICTURE_URL") | ||||
|     @ApiParam("照片路径") | ||||
|     private String pictureUrl; | ||||
| 
 | ||||
|     @Column(name = "SKILL_LEVEL") | ||||
|     @ApiParam("技能等级") | ||||
|     private Integer skillLevel; | ||||
| 
 | ||||
|     @Transient | ||||
|     private Double xAxis; | ||||
| 
 | ||||
|     @Transient | ||||
|     private Double yAxis; | ||||
| 
 | ||||
|     @Transient | ||||
|     private String workCellCode; | ||||
| } | ||||
| @ -0,0 +1,41 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import io.swagger.annotations.ApiParam; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| import java.io.Serializable; | ||||
| import java.util.List; | ||||
| 
 | ||||
| /** | ||||
|  * @Description: | ||||
|  * @Author: jokelin | ||||
|  * @Date: 2020/10/28 11:27 AM | ||||
|  * @Modify: | ||||
|  */ | ||||
| @Data | ||||
| public class BjBoardModel implements Serializable { | ||||
| 
 | ||||
|     @ApiParam("jsa数量") | ||||
|     private Integer jsaQty; | ||||
|     @ApiParam("完成数量") | ||||
|     private Integer completeQty; | ||||
|     @ApiParam("总数量") | ||||
|     private Integer totalQty; | ||||
|     @ApiParam("预警数量") | ||||
|     private Integer warnQty; | ||||
|     @ApiParam("预警率") | ||||
|     private Integer warnRate; | ||||
|     @ApiParam("目标合格率") | ||||
|     private Integer targetRate = 0; | ||||
|     @ApiParam("一次合格率") | ||||
|     private Integer onceQualityRate = 0; | ||||
| 
 | ||||
|     @ApiParam("x坐标内容") | ||||
|     private String xAxis; | ||||
| 
 | ||||
|     @ApiParam("x坐标内容") | ||||
|     private List<String> xAxisList; | ||||
| 
 | ||||
|     @ApiParam("显示数据") | ||||
|     private List<BjBoardSeriesModel> seriesModels; | ||||
| } | ||||
| @ -0,0 +1,18 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import io.swagger.annotations.ApiParam; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| /** | ||||
|  * @Description: | ||||
|  * @Author: jokelin | ||||
|  * @Date: 2020/10/28 2:56 PM | ||||
|  * @Modify: | ||||
|  */ | ||||
| @Data | ||||
| public class BjBoardSeriesModel { | ||||
|     @ApiParam("名称") | ||||
|     private String name; | ||||
|     @ApiParam("显示数量") | ||||
|     private Integer qty; | ||||
| } | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import lombok.Data; | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import lombok.Data; | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import lombok.Data; | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import com.thoughtworks.xstream.annotations.XStreamImplicit; | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import lombok.Data; | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import io.swagger.annotations.ApiParam; | ||||
| @ -1,4 +1,4 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import lombok.Data; | ||||
| @ -1,11 +1,10 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgnbj; | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.bj; | ||||
| 
 | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import io.swagger.annotations.ApiParam; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| import java.io.Serializable; | ||||
| import java.util.ArrayList; | ||||
| import java.util.List; | ||||
| 
 | ||||
| /** | ||||
| @ -0,0 +1,20 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.tj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| /** | ||||
|  * @author Wynne.Lu | ||||
|  * @date 2020/10/28 17:30 | ||||
|  * @desc | ||||
|  */ | ||||
| @Data | ||||
| public class AndonModel { | ||||
| 
 | ||||
|     private String workCenterCode; | ||||
| 
 | ||||
|     private Double xAxis; | ||||
| 
 | ||||
|     private Double yAxis; | ||||
| 
 | ||||
|     private String expInfo; | ||||
| } | ||||
| @ -0,0 +1,22 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.tj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| import java.util.Map; | ||||
| 
 | ||||
| /** | ||||
|  * @author Wynne.Lu | ||||
|  * @date 2020/10/28 13:47 | ||||
|  * @desc | ||||
|  */ | ||||
| @Data | ||||
| public class DefectModel { | ||||
| 
 | ||||
|     private String workCenterCode; | ||||
| 
 | ||||
|     private Map<String, Double> percents; | ||||
| 
 | ||||
|     private Integer total; | ||||
| 
 | ||||
|     private String queryBeginTime; | ||||
| } | ||||
| @ -0,0 +1,26 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.tj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| /** | ||||
|  * @author Wynne.Lu | ||||
|  * @date 2020/10/28 20:50 | ||||
|  * @desc | ||||
|  */ | ||||
| @Data | ||||
| public class GoodRateModel { | ||||
| 
 | ||||
|     private String workCenterCode; | ||||
| 
 | ||||
|     private Double goodRate; | ||||
| 
 | ||||
|     private Integer total; | ||||
| 
 | ||||
|     private Integer goodTotal; | ||||
| 
 | ||||
|     private String color; | ||||
| 
 | ||||
|     private Double passPercentMax; | ||||
| 
 | ||||
|     private Double passPercentMin; | ||||
| } | ||||
| @ -0,0 +1,30 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.tj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| /** | ||||
|  * @author Wynne.Lu | ||||
|  * @date 2020/10/28 13:47 | ||||
|  * @desc | ||||
|  */ | ||||
| @Data | ||||
| public class OeeModel { | ||||
| 
 | ||||
|     private String workCenterCode; | ||||
| 
 | ||||
|     private Integer takt; | ||||
| 
 | ||||
|     private Integer standardTakt; | ||||
| 
 | ||||
|     private String color; | ||||
| 
 | ||||
|     private Double threshold = 0.03; | ||||
| 
 | ||||
|     private Double realProductivity; | ||||
| 
 | ||||
|     private Double oeePercent; | ||||
| 
 | ||||
|     private Double realWorkTime; | ||||
| 
 | ||||
|     private String shiftBeginTime; | ||||
| } | ||||
| @ -0,0 +1,20 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.tj; | ||||
| 
 | ||||
| import lombok.Data; | ||||
| 
 | ||||
| /** | ||||
|  * @author Wynne.Lu | ||||
|  * @date 2020/10/28 14:10 | ||||
|  * @desc | ||||
|  */ | ||||
| @Data | ||||
| public class ProductivityModel { | ||||
| 
 | ||||
|     private String time; | ||||
| 
 | ||||
|     private Integer planProductivity; | ||||
| 
 | ||||
|     private Integer realProductivity; | ||||
| 
 | ||||
|     private boolean isCurrentInfo; | ||||
| } | ||||
| @ -0,0 +1,24 @@ | ||||
| package cn.estsh.i3plus.pojo.mes.model.mgn.tj; | ||||
| 
 | ||||
| import cn.estsh.i3plus.pojo.mes.bean.MesStaff; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| import java.util.List; | ||||
| 
 | ||||
| /** | ||||
|  * @author Wynne.Lu | ||||
|  * @date 2020/10/28 21:44 | ||||
|  * @desc | ||||
|  */ | ||||
| @Data | ||||
| public class StaffMatrixModel { | ||||
| 
 | ||||
|     private List<String> workCenterCodes; | ||||
| 
 | ||||
|     private String currentWorkCenterCode; | ||||
| 
 | ||||
|     private String workCenterPictureUrl; | ||||
| 
 | ||||
|     private List<MesStaff> staffs; | ||||
| 
 | ||||
| } | ||||
| @ -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.MesBoardLineCoordsMatrix; | ||||
| import org.springframework.stereotype.Repository; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : | ||||
|  * @Reference : | ||||
|  * @Author : wangjie | ||||
|  * @CreateDate : 2019-10-11 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Repository | ||||
| public interface MesBoardLineCoordsMatrixRepository extends BaseRepository<MesBoardLineCoordsMatrix, Long> { | ||||
| } | ||||
| @ -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.MesBoardLineMatrix; | ||||
| import org.springframework.stereotype.Repository; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : | ||||
|  * @Reference : | ||||
|  * @Author : wangjie | ||||
|  * @CreateDate : 2019-10-11 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Repository | ||||
| public interface MesBoardLineMatrixRepository extends BaseRepository<MesBoardLineMatrix, Long> { | ||||
| } | ||||
| @ -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.MesBoardLineStaffMatrix; | ||||
| import org.springframework.stereotype.Repository; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : | ||||
|  * @Reference : | ||||
|  * @Author : wangjie | ||||
|  * @CreateDate : 2019-10-11 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Repository | ||||
| public interface MesBoardLineStaffMatrixRepository extends BaseRepository<MesBoardLineStaffMatrix, Long> { | ||||
| } | ||||
| @ -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.MesLineFaultRecord; | ||||
| import org.springframework.stereotype.Repository; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : | ||||
|  * @Reference : | ||||
|  * @Author : wynne.lu | ||||
|  * @CreateDate : 2019-07-30 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Repository | ||||
| public interface MesLineFaultRecordRepository extends BaseRepository<MesLineFaultRecord, Long> { | ||||
| } | ||||
| @ -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.MesStaff; | ||||
| import org.springframework.stereotype.Repository; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : | ||||
|  * @Reference : | ||||
|  * @Author : jack.jia | ||||
|  * @CreateDate : 2019-04-02 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Repository | ||||
| public interface MesStaffRepository extends BaseRepository<MesStaff, Long> { | ||||
| } | ||||
| @ -0,0 +1,45 @@ | ||||
| package cn.estsh.i3plus.pojo.model.softswitch; | ||||
| 
 | ||||
| import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn; | ||||
| import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil; | ||||
| import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseParam; | ||||
| import io.swagger.annotations.ApiParam; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| import java.io.Serializable; | ||||
| import java.util.List; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : | ||||
|  *      软适配执行适配器(客户端服务端适配总入口) | ||||
|  *      所需的参数模型 | ||||
|  * @Reference : | ||||
|  * @Author : yunhao | ||||
|  * @CreateDate : 2020-10-28 15:51 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| public class SuitModel implements Serializable { | ||||
| 
 | ||||
|     private static final long serialVersionUID = 8981933192688480221L; | ||||
| 
 | ||||
|     @ApiParam(value = "适配器代码") | ||||
|     private String suitCaseCode; | ||||
| 
 | ||||
|     @ApiParam(value = "适配SID") | ||||
|     private String suitSid; | ||||
| 
 | ||||
|     @AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.REQUEST_SOURCE.class) | ||||
|     @ApiParam(value = "适配来源") | ||||
|     private Integer requestSource; | ||||
| 
 | ||||
|     @ApiParam(value = "重试记录id") | ||||
|     private Long retryRecordId; | ||||
| 
 | ||||
|     @ApiParam(value = "适配器参数XML") | ||||
|     private String paramXml; | ||||
| 
 | ||||
|     @ApiParam(value = "适配器参数") | ||||
|     private List<BsSuitCaseParam> bsSuitCaseParamList; | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,100 @@ | ||||
| package cn.estsh.i3plus.pojo.wms.bean; | ||||
| 
 | ||||
| import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn; | ||||
| import cn.estsh.i3plus.pojo.base.bean.BaseBean; | ||||
| import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil; | ||||
| 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 : jimmy.zeng | ||||
|  * @CreateDate : 2020-10-28 9:54 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Data | ||||
| @Entity | ||||
| @DynamicInsert | ||||
| @DynamicUpdate | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Table(name = "WMS_PLC") | ||||
| @Api("WMSPLC配置表") | ||||
| public class WmsPlc extends BaseBean { | ||||
| 
 | ||||
|     @Column(name = "PLC_CODE") | ||||
|     @ApiParam("PLC代码") | ||||
|     private String plcCode; | ||||
| 
 | ||||
|     @Column(name = "PLC_NAME") | ||||
|     @ApiParam("PLC名称") | ||||
|     private String plcName; | ||||
| 
 | ||||
|     @Column(name = "BUSI_TYPE") | ||||
|     @ApiParam("业务类型") | ||||
|     @AnnoOutputColumn(refClass = WmsEnumUtil.PLC_BUSI_TYPE.class) | ||||
|     private Integer busiType; | ||||
| 
 | ||||
|     @Column(name = "OPC_URL") | ||||
|     @ApiParam("OPC路径") | ||||
|     private String opcUrl; | ||||
| 
 | ||||
|     @Column(name = "CHANNEL") | ||||
|     @ApiParam("通道") | ||||
|     private String channel; | ||||
| 
 | ||||
|     @Column(name = "DEVICE") | ||||
|     @ApiParam("终端") | ||||
|     private String device; | ||||
| 
 | ||||
|     @Column(name = "TAG_NAME") | ||||
|     @ApiParam("标签名称") | ||||
|     private String tagName; | ||||
| 
 | ||||
|     @Column(name = "TAG_ADDRESS") | ||||
|     @ApiParam("标签地址") | ||||
|     private String tagAddress; | ||||
| 
 | ||||
|     @Column(name = "DATA_TYPE") | ||||
|     @ApiParam("标签数据类型") | ||||
|     private String dataType; | ||||
| 
 | ||||
|     /*@Column(name = "DATA_TYPE") | ||||
|     @ApiParam("标签类别") | ||||
|     private Integer dataType;*/ | ||||
| 
 | ||||
|     @Column(name = "USER_NAME") | ||||
|     @ApiParam("用户名") | ||||
|     private String userName; | ||||
| 
 | ||||
|     @Column(name = "PASSWORD") | ||||
|     @ApiParam("密码") | ||||
|     private String password; | ||||
| 
 | ||||
|     @Column(name = "START_VALUE") | ||||
|     @ApiParam("开始节点") | ||||
|     private Integer startValue; | ||||
| 
 | ||||
|     @Column(name = "end_VALUE") | ||||
|     @ApiParam("结束节点") | ||||
|     private Integer endValue; | ||||
| 
 | ||||
|     @Column(name = "NAME_SPACE_INDEX") | ||||
|     @ApiParam("空间索引") | ||||
|     private Integer nameSpaceIndex = 2; | ||||
| 
 | ||||
|     @Column(name = "REQUEST_INTERVAL") | ||||
|     @ApiParam("请求间隔") | ||||
|     private Double requestInterval = 500.0; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
| @ -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.WmsPlc; | ||||
| import org.springframework.stereotype.Repository; | ||||
| 
 | ||||
| /** | ||||
|  * @Description : | ||||
|  * @Reference : | ||||
|  * @Author : jimmy.zeng | ||||
|  * @CreateDate : 2020-10-28 10:47 | ||||
|  * @Modify: | ||||
|  **/ | ||||
| @Repository | ||||
| public interface WmsPlcRepository extends BaseRepository<WmsPlc, Long> { | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue