ZengTao
2025-11-05 7d8cd9d28e97ea54ab4c76dbe37fd910f6d279c5
1、钢化大理片,中空大理片的理片笼详情查询代码补充
1个文件已修改
4个文件已添加
330 ■■■■■ 已修改文件
hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/job/OpcCacheGlassNewTask.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/entity/request/BigCageDetailsRequest.java 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/entity/vo/BigCageDetailsVO.java 110 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/entity/request/HollowBigCageDetailsRequest.java 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/entity/vo/HollowBigCageDetailsVO.java 110 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/job/OpcCacheGlassNewTask.java
@@ -304,7 +304,7 @@
        log.info("开始执行进片任务,任务信息为:{},设备id:{},开始时间:{}", task, deviceId, startDate);
        //获取玻璃的基本信息
        GlassInfo glassInfo = glassInfoService.getOne(new LambdaQueryWrapper<GlassInfo>().eq(GlassInfo::getGlassId, task.getGlassIdIn()));
        if (null == glassInfo) {
        if (null == glassInfo && StringUtils.isNotBlank(task.getGlassIdIn())) {
            log.info("进片玻璃信息不存在,玻璃id:{}", task.getGlassIdIn());
            ProductAlarmInfo alarmInfo = new ProductAlarmInfo();
            alarmInfo.setState(Const.LOAD_RAW_GLASS_NEW);
@@ -380,8 +380,8 @@
    private boolean outTask(S7DataWL task, int deviceId, int cellFlag) {
        Date startDate = new Date();
        GlassInfo glassInfo = glassInfoService.getOne(new LambdaQueryWrapper<GlassInfo>().eq(GlassInfo::getGlassId, task.getGlassIdIn()));
        if (null == glassInfo) {
        GlassInfo glassInfo = glassInfoService.getOne(new LambdaQueryWrapper<GlassInfo>().eq(GlassInfo::getGlassId, task.getGlassIdOut()));
        if (null == glassInfo && StringUtils.isNotBlank(task.getGlassIdIn())) {
            log.info("进片玻璃信息不存在,玻璃id:{}", task.getGlassIdIn());
            ProductAlarmInfo alarmInfo = new ProductAlarmInfo();
            alarmInfo.setState(Const.LOAD_RAW_GLASS_NEW);
hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/entity/request/BigCageDetailsRequest.java
New file
@@ -0,0 +1,52 @@
package com.mes.bigstorage.entity.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mes.base.entity.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
/**
 * @Author : zhoush
 * @Date: 2025/9/4 17:04
 * @Description:
 */
@Data
public class BigCageDetailsRequest extends PageRequest {
    @ApiModelProperty(value = "设备id", position = 1)
    private Integer deviceId;
    @ApiModelProperty(value = "格子号", position = 2)
    private Integer slot;
    @ApiModelProperty(value = "流程卡", position = 3)
    private String flowCardId;
    @ApiModelProperty(value = "膜系", position = 4)
    private String filmsId;
    @ApiModelProperty(value = "厚度", position = 5)
    private int thickness;
    @ApiModelProperty(value = "钢化版图id", position = 6)
    private String engineerId;
    @ApiModelProperty(value = "玻璃id", position = 7)
    private String glassId;
    @ApiModelProperty(value = "玻璃报工状态:8破损 9拿走  调用更新状态/破损拿走接口必填", position = 8)
    private String state;
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/entity/vo/BigCageDetailsVO.java
New file
@@ -0,0 +1,110 @@
package com.mes.bigstorage.entity.vo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.mes.bigstorage.entity.BigStorageCage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
 * @Author : zhoush
 * @Date: 2025/9/4 17:02
 * @Description:
 */
@Data
public class BigCageDetailsVO extends BigStorageCage {
    @ApiModelProperty(value = "大理片笼详情表主键 ID", position = 1)
    @TableId(value = "id", type = IdType.AUTO)
    private Long detailId;
    @ApiModelProperty(value = "设备 ID", position = 2)
    private Integer detailDeviceId;
    @ApiModelProperty(value = "栅格号", position = 3)
    private Integer detailSlot;
    @ApiModelProperty(value = "玻璃 ID", position = 4)
    private String glassId;
    @ApiModelProperty(value = "小片在格子内的顺序", position = 5)
    private Integer sequence;
    @ApiModelProperty(value = "流程卡号", position = 6)
    private String flowCardId;
    @ApiModelProperty(value = "流程卡落架编码", position = 7)
    private String flowCardSequence;
    @ApiModelProperty(value = "玻璃类型", position = 8)
    private Integer glassType;
    @ApiModelProperty(value = "玻璃宽度(单位:mm)", position = 9)
    private Double width;
    @ApiModelProperty(value = "玻璃高度(单位:mm)", position = 10)
    private Double height;
    @ApiModelProperty(value = "玻璃厚度(单位:mm)", position = 11)
    private Double thickness;
    @ApiModelProperty(value = "钢化版图 ID", position = 12)
    private Integer temperingLayoutId;
    @ApiModelProperty(value = "钢化版图片序号", position = 13)
    private Integer temperingFeedSequence;
    @ApiModelProperty(value = "X 坐标", position = 14)
    private Integer xCoordinate;
    @ApiModelProperty(value = "Y 坐标", position = 15)
    private Integer yCoordinate;
    @ApiModelProperty(value = "玻璃状态", position = 16)
    private Integer state;
    @ApiModelProperty(value = "玻璃间隙", position = 17)
    private Integer gap;
    @ApiModelProperty(value = "工程号 ID", position = 18)
    private String engineerId;
    @ApiModelProperty(value = "层号", position = 19)
    private Integer totalLayer;
    @ApiModelProperty(value = "层号", position = 20)
    private Integer layer;
    @ApiModelProperty(value = "创建时间", position = 21)
    private Date createTime;
    @ApiModelProperty(value = "更新时间", position = 22)
    private Date updateTime;
    @ApiModelProperty(value = "膜系 ID", position = 23)
    private String filmsId;
    @ApiModelProperty(value = "是否旋转(角度,单位:度)", position = 24)
    private Integer angle;
    @ApiModelProperty(value = "是否已钢化", position = 25)
    private Integer isTemp;
    @ApiModelProperty(value = "中空顺序", position = 26)
    private Integer hollowSequence;
    @ApiModelProperty(value = "是否配对", position = 27)
    private Integer isPair;
    @ApiModelProperty(value = "组号", position = 28)
    private Integer virtualSlot;
    @ApiModelProperty(value = "组序", position = 29)
    private Integer slotSequence;
    @ApiModelProperty(value = "落架顺序", position = 30)
    private Integer shelfOrder;
}
hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/entity/request/HollowBigCageDetailsRequest.java
New file
@@ -0,0 +1,52 @@
package com.mes.hollow.entity.request;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mes.base.entity.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
/**
 * @Author : zhoush
 * @Date: 2025/9/4 17:04
 * @Description:
 */
@Data
public class HollowBigCageDetailsRequest extends PageRequest {
    @ApiModelProperty(value = "设备id", position = 1)
    private Integer deviceId;
    @ApiModelProperty(value = "格子号", position = 2)
    private Integer slot;
    @ApiModelProperty(value = "流程卡", position = 3)
    private String flowCardId;
    @ApiModelProperty(value = "膜系", position = 4)
    private String filmsId;
    @ApiModelProperty(value = "厚度", position = 5)
    private int thickness;
    @ApiModelProperty(value = "钢化版图id", position = 6)
    private String engineerId;
    @ApiModelProperty(value = "玻璃id", position = 7)
    private String glassId;
    @ApiModelProperty(value = "玻璃报工状态:8破损 9拿走  调用更新状态/破损拿走接口必填", position = 8)
    private String state;
    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/entity/vo/HollowBigCageDetailsVO.java
New file
@@ -0,0 +1,110 @@
package com.mes.hollow.entity.vo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.mes.hollow.entity.HollowBigStorageCage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
 * @Author : zhoush
 * @Date: 2025/9/4 17:02
 * @Description:
 */
@Data
public class HollowBigCageDetailsVO extends HollowBigStorageCage {
    @ApiModelProperty(value = "大理片笼详情表主键 ID", position = 1)
    @TableId(value = "id", type = IdType.AUTO)
    private Long detailId;
    @ApiModelProperty(value = "设备 ID", position = 2)
    private Integer detailDeviceId;
    @ApiModelProperty(value = "栅格号", position = 3)
    private Integer detailSlot;
    @ApiModelProperty(value = "玻璃 ID", position = 4)
    private String glassId;
    @ApiModelProperty(value = "小片在格子内的顺序", position = 5)
    private Integer sequence;
    @ApiModelProperty(value = "流程卡号", position = 6)
    private String flowCardId;
    @ApiModelProperty(value = "流程卡落架编码", position = 7)
    private String flowCardSequence;
    @ApiModelProperty(value = "玻璃类型", position = 8)
    private Integer glassType;
    @ApiModelProperty(value = "玻璃宽度(单位:mm)", position = 9)
    private Double width;
    @ApiModelProperty(value = "玻璃高度(单位:mm)", position = 10)
    private Double height;
    @ApiModelProperty(value = "玻璃厚度(单位:mm)", position = 11)
    private Double thickness;
    @ApiModelProperty(value = "钢化版图 ID", position = 12)
    private Integer temperingLayoutId;
    @ApiModelProperty(value = "钢化版图片序号", position = 13)
    private Integer temperingFeedSequence;
    @ApiModelProperty(value = "X 坐标", position = 14)
    private Integer xCoordinate;
    @ApiModelProperty(value = "Y 坐标", position = 15)
    private Integer yCoordinate;
    @ApiModelProperty(value = "玻璃状态", position = 16)
    private Integer state;
    @ApiModelProperty(value = "玻璃间隙", position = 17)
    private Integer gap;
    @ApiModelProperty(value = "工程号 ID", position = 18)
    private String engineerId;
    @ApiModelProperty(value = "层号", position = 19)
    private Integer totalLayer;
    @ApiModelProperty(value = "层号", position = 20)
    private Integer layer;
    @ApiModelProperty(value = "创建时间", position = 21)
    private Date createTime;
    @ApiModelProperty(value = "更新时间", position = 22)
    private Date updateTime;
    @ApiModelProperty(value = "膜系 ID", position = 23)
    private String filmsId;
    @ApiModelProperty(value = "是否旋转(角度,单位:度)", position = 24)
    private Integer angle;
    @ApiModelProperty(value = "是否已钢化", position = 25)
    private Integer isTemp;
    @ApiModelProperty(value = "中空顺序", position = 26)
    private Integer hollowSequence;
    @ApiModelProperty(value = "是否配对", position = 27)
    private Integer isPair;
    @ApiModelProperty(value = "组号", position = 28)
    private Integer virtualSlot;
    @ApiModelProperty(value = "组序", position = 29)
    private Integer slotSequence;
    @ApiModelProperty(value = "落架顺序", position = 30)
    private Integer shelfOrder;
}