add records
parent
9b20d1690c
commit
7bf09e7da1
@ -0,0 +1,66 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.dataobject.record;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 打包记录 DO
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@TableName("mes_record_dabao")
|
||||||
|
@KeySequence("mes_record_dabao_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@ToString(callSuper = true)
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RecordDabaoDO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 记录id
|
||||||
|
*/
|
||||||
|
private Long recordId;
|
||||||
|
/**
|
||||||
|
* 产品id
|
||||||
|
*/
|
||||||
|
private Long productId;
|
||||||
|
/**
|
||||||
|
* 产量
|
||||||
|
*/
|
||||||
|
private Long totalNumber;
|
||||||
|
/**
|
||||||
|
* 包装材料用量
|
||||||
|
*/
|
||||||
|
private BigDecimal packageItemUsage;
|
||||||
|
/**
|
||||||
|
* 每包产品数
|
||||||
|
*/
|
||||||
|
private Long packageSize;
|
||||||
|
/**
|
||||||
|
* 包装材料规格
|
||||||
|
*/
|
||||||
|
private String packageItemSpecification;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*
|
||||||
|
* 枚举 {@link TODO infra_boolean_string 对应的类}
|
||||||
|
*/
|
||||||
|
private Boolean isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,90 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.dataobject.record;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 打浆记录 DO
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@TableName("mes_record_dajiang")
|
||||||
|
@KeySequence("mes_record_dajiang_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@ToString(callSuper = true)
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RecordDajiangDO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 记录id
|
||||||
|
*/
|
||||||
|
private Long recordId;
|
||||||
|
/**
|
||||||
|
* 开机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
/**
|
||||||
|
* 停机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
/**
|
||||||
|
* 浓度%
|
||||||
|
*/
|
||||||
|
private BigDecimal density;
|
||||||
|
/**
|
||||||
|
* 电流A
|
||||||
|
*/
|
||||||
|
private BigDecimal electricCurrent;
|
||||||
|
/**
|
||||||
|
* 进浆叩解度︒SR
|
||||||
|
*/
|
||||||
|
private BigDecimal beatingDegreeIn;
|
||||||
|
/**
|
||||||
|
* 出浆叩解度︒SR
|
||||||
|
*/
|
||||||
|
private BigDecimal beatingDegreeOut;
|
||||||
|
/**
|
||||||
|
* 湿重
|
||||||
|
*/
|
||||||
|
private BigDecimal wetWeight;
|
||||||
|
/**
|
||||||
|
* 5浆罐浓度%
|
||||||
|
*/
|
||||||
|
private BigDecimal density5;
|
||||||
|
/**
|
||||||
|
* 产浆量T
|
||||||
|
*/
|
||||||
|
private BigDecimal jiangWeight;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*
|
||||||
|
* 枚举 {@link TODO infra_boolean_string 对应的类}
|
||||||
|
*/
|
||||||
|
private Boolean isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,76 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.dataobject.record;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 干燥记录 DO
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@TableName("mes_record_ganzao")
|
||||||
|
@KeySequence("mes_record_ganzao_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@ToString(callSuper = true)
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RecordGanzaoDO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 记录id
|
||||||
|
*/
|
||||||
|
private Long recordId;
|
||||||
|
/**
|
||||||
|
* 开机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
/**
|
||||||
|
* 停机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
/**
|
||||||
|
* 速度(赫兹)
|
||||||
|
*/
|
||||||
|
private Integer speed;
|
||||||
|
/**
|
||||||
|
* 温度℃
|
||||||
|
*/
|
||||||
|
private Integer temperature;
|
||||||
|
/**
|
||||||
|
* 产品id
|
||||||
|
*/
|
||||||
|
private Long productId;
|
||||||
|
/**
|
||||||
|
* 产品外观
|
||||||
|
*/
|
||||||
|
private String appearance;
|
||||||
|
/**
|
||||||
|
* 产品重量(g)
|
||||||
|
*/
|
||||||
|
private BigDecimal productWeight;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*
|
||||||
|
* 枚举 {@link TODO infra_boolean_string 对应的类}
|
||||||
|
*/
|
||||||
|
private Boolean isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,88 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.dataobject.record;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加湿记录 DO
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@TableName("mes_record_jiashi")
|
||||||
|
@KeySequence("mes_record_jiashi_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@ToString(callSuper = true)
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RecordJiashiDO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 记录id
|
||||||
|
*/
|
||||||
|
private Long recordId;
|
||||||
|
/**
|
||||||
|
* 开机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
/**
|
||||||
|
* 停机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
/**
|
||||||
|
* 开机时间(S)
|
||||||
|
*/
|
||||||
|
private Integer machineStartTime;
|
||||||
|
/**
|
||||||
|
* 停机时间(S)
|
||||||
|
*/
|
||||||
|
private Integer machineEndTime;
|
||||||
|
/**
|
||||||
|
* 加湿时间(S)
|
||||||
|
*/
|
||||||
|
private Integer wetTime;
|
||||||
|
/**
|
||||||
|
* 产品id
|
||||||
|
*/
|
||||||
|
private Long productId;
|
||||||
|
/**
|
||||||
|
* 产品进入水分
|
||||||
|
*/
|
||||||
|
private BigDecimal weightIn;
|
||||||
|
/**
|
||||||
|
* 产品取出水分
|
||||||
|
*/
|
||||||
|
private BigDecimal weightOut;
|
||||||
|
/**
|
||||||
|
* 产量
|
||||||
|
*/
|
||||||
|
private Long productNumber;
|
||||||
|
/**
|
||||||
|
* 单重(g)
|
||||||
|
*/
|
||||||
|
private BigDecimal productWeight;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*/
|
||||||
|
private Boolean isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,83 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.dataobject.record;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 检验记录 DO
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@TableName("mes_record_pinjian")
|
||||||
|
@KeySequence("mes_record_pinjian_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@ToString(callSuper = true)
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RecordPinjianDO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 记录id
|
||||||
|
*/
|
||||||
|
private Long recordId;
|
||||||
|
/**
|
||||||
|
* 产品id
|
||||||
|
*/
|
||||||
|
private Long productId;
|
||||||
|
/**
|
||||||
|
* 外观
|
||||||
|
*/
|
||||||
|
private String appearance;
|
||||||
|
/**
|
||||||
|
* 单重(g)
|
||||||
|
*/
|
||||||
|
private BigDecimal productWeight;
|
||||||
|
/**
|
||||||
|
* 防水
|
||||||
|
*/
|
||||||
|
private String waterproof;
|
||||||
|
/**
|
||||||
|
* 合格品量
|
||||||
|
*/
|
||||||
|
private Long qualifiedNumber;
|
||||||
|
/**
|
||||||
|
* 废品量
|
||||||
|
*/
|
||||||
|
private Long unqualifiedNumber;
|
||||||
|
/**
|
||||||
|
* 总产量
|
||||||
|
*/
|
||||||
|
private Long totalNumber;
|
||||||
|
/**
|
||||||
|
* 合格率%
|
||||||
|
*/
|
||||||
|
private BigDecimal qualifiedRate;
|
||||||
|
/**
|
||||||
|
* 废品原因
|
||||||
|
*/
|
||||||
|
private String unqualifiedReason;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*
|
||||||
|
* 枚举 {@link TODO infra_boolean_string 对应的类}
|
||||||
|
*/
|
||||||
|
private Boolean isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,86 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.dataobject.record;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 切边记录 DO
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@TableName("mes_record_qiebian")
|
||||||
|
@KeySequence("mes_record_qiebian_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@ToString(callSuper = true)
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RecordQiebianDO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 记录id
|
||||||
|
*/
|
||||||
|
private Long recordId;
|
||||||
|
/**
|
||||||
|
* 开机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
/**
|
||||||
|
* 停机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
/**
|
||||||
|
* 机台
|
||||||
|
*/
|
||||||
|
private Long machineId;
|
||||||
|
/**
|
||||||
|
* 切边前单重g
|
||||||
|
*/
|
||||||
|
private BigDecimal productWeightBefore;
|
||||||
|
/**
|
||||||
|
* 产品id
|
||||||
|
*/
|
||||||
|
private Long productId;
|
||||||
|
/**
|
||||||
|
* 外观
|
||||||
|
*/
|
||||||
|
private String appearance;
|
||||||
|
/**
|
||||||
|
* 湿度
|
||||||
|
*/
|
||||||
|
private BigDecimal wetDegree;
|
||||||
|
/**
|
||||||
|
* 单重(g)
|
||||||
|
*/
|
||||||
|
private BigDecimal productWeight;
|
||||||
|
/**
|
||||||
|
* 切边时间(S)
|
||||||
|
*/
|
||||||
|
private Integer cutTime;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*
|
||||||
|
* 枚举 {@link TODO infra_boolean_string 对应的类}
|
||||||
|
*/
|
||||||
|
private Boolean isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,96 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.dataobject.record;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 热压记录 DO
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@TableName("mes_record_reya")
|
||||||
|
@KeySequence("mes_record_reya_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@ToString(callSuper = true)
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RecordReyaDO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 记录id
|
||||||
|
*/
|
||||||
|
private Long recordId;
|
||||||
|
/**
|
||||||
|
* 开机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime startTime;
|
||||||
|
/**
|
||||||
|
* 停机时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
/**
|
||||||
|
* 机台
|
||||||
|
*/
|
||||||
|
private Long machineId;
|
||||||
|
/**
|
||||||
|
* 热压时间(S)
|
||||||
|
*/
|
||||||
|
private Integer reyaTime;
|
||||||
|
/**
|
||||||
|
* 上模温度℃
|
||||||
|
*/
|
||||||
|
private BigDecimal temperatureMoldUp;
|
||||||
|
/**
|
||||||
|
* 下模温度℃
|
||||||
|
*/
|
||||||
|
private BigDecimal temperatureMoldDown;
|
||||||
|
/**
|
||||||
|
* 主缸压力KG
|
||||||
|
*/
|
||||||
|
private BigDecimal mainStress;
|
||||||
|
/**
|
||||||
|
* 产品id
|
||||||
|
*/
|
||||||
|
private Long productId;
|
||||||
|
/**
|
||||||
|
* 外观
|
||||||
|
*/
|
||||||
|
private String appearance;
|
||||||
|
/**
|
||||||
|
* 湿度
|
||||||
|
*/
|
||||||
|
private BigDecimal wetDegree;
|
||||||
|
/**
|
||||||
|
* 单重(g)
|
||||||
|
*/
|
||||||
|
private BigDecimal productWeight;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
/**
|
||||||
|
* 是否启用
|
||||||
|
*
|
||||||
|
* 枚举 {@link TODO infra_boolean_string 对应的类}
|
||||||
|
*/
|
||||||
|
private Boolean isEnable;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.mysql.record;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
|
import cn.iocoder.yudao.module.mes.dal.dataobject.record.RecordDabaoDO;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 打包记录 Mapper
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface RecordDabaoMapper extends BaseMapperX<RecordDabaoDO> {
|
||||||
|
|
||||||
|
default PageResult<RecordDabaoDO> selectPage(PageParam reqVO, Long recordId) {
|
||||||
|
return selectPage(reqVO, new LambdaQueryWrapperX<RecordDabaoDO>()
|
||||||
|
.eq(RecordDabaoDO::getRecordId, recordId)
|
||||||
|
.orderByDesc(RecordDabaoDO::getId));
|
||||||
|
}
|
||||||
|
|
||||||
|
default int deleteByRecordId(Long recordId) {
|
||||||
|
return delete(RecordDabaoDO::getRecordId, recordId);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.mysql.record;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
|
import cn.iocoder.yudao.module.mes.dal.dataobject.record.RecordDajiangDO;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 打浆记录 Mapper
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface RecordDajiangMapper extends BaseMapperX<RecordDajiangDO> {
|
||||||
|
|
||||||
|
default PageResult<RecordDajiangDO> selectPage(PageParam reqVO, Long recordId) {
|
||||||
|
return selectPage(reqVO, new LambdaQueryWrapperX<RecordDajiangDO>()
|
||||||
|
.eq(RecordDajiangDO::getRecordId, recordId)
|
||||||
|
.orderByDesc(RecordDajiangDO::getId));
|
||||||
|
}
|
||||||
|
|
||||||
|
default int deleteByRecordId(Long recordId) {
|
||||||
|
return delete(RecordDajiangDO::getRecordId, recordId);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.mysql.record;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
|
import cn.iocoder.yudao.module.mes.dal.dataobject.record.RecordGanzaoDO;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 干燥记录 Mapper
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface RecordGanzaoMapper extends BaseMapperX<RecordGanzaoDO> {
|
||||||
|
|
||||||
|
default PageResult<RecordGanzaoDO> selectPage(PageParam reqVO, Long recordId) {
|
||||||
|
return selectPage(reqVO, new LambdaQueryWrapperX<RecordGanzaoDO>()
|
||||||
|
.eq(RecordGanzaoDO::getRecordId, recordId)
|
||||||
|
.orderByDesc(RecordGanzaoDO::getId));
|
||||||
|
}
|
||||||
|
|
||||||
|
default int deleteByRecordId(Long recordId) {
|
||||||
|
return delete(RecordGanzaoDO::getRecordId, recordId);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.mysql.record;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
|
import cn.iocoder.yudao.module.mes.dal.dataobject.record.RecordJiashiDO;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加湿记录 Mapper
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface RecordJiashiMapper extends BaseMapperX<RecordJiashiDO> {
|
||||||
|
|
||||||
|
default PageResult<RecordJiashiDO> selectPage(PageParam reqVO, Long recordId) {
|
||||||
|
return selectPage(reqVO, new LambdaQueryWrapperX<RecordJiashiDO>()
|
||||||
|
.eq(RecordJiashiDO::getRecordId, recordId)
|
||||||
|
.orderByDesc(RecordJiashiDO::getId));
|
||||||
|
}
|
||||||
|
|
||||||
|
default int deleteByRecordId(Long recordId) {
|
||||||
|
return delete(RecordJiashiDO::getRecordId, recordId);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.mysql.record;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
|
import cn.iocoder.yudao.module.mes.dal.dataobject.record.RecordPinjianDO;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 检验记录 Mapper
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface RecordPinjianMapper extends BaseMapperX<RecordPinjianDO> {
|
||||||
|
|
||||||
|
default PageResult<RecordPinjianDO> selectPage(PageParam reqVO, Long recordId) {
|
||||||
|
return selectPage(reqVO, new LambdaQueryWrapperX<RecordPinjianDO>()
|
||||||
|
.eq(RecordPinjianDO::getRecordId, recordId)
|
||||||
|
.orderByDesc(RecordPinjianDO::getId));
|
||||||
|
}
|
||||||
|
|
||||||
|
default int deleteByRecordId(Long recordId) {
|
||||||
|
return delete(RecordPinjianDO::getRecordId, recordId);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.mysql.record;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
|
import cn.iocoder.yudao.module.mes.dal.dataobject.record.RecordQiebianDO;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 切边记录 Mapper
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface RecordQiebianMapper extends BaseMapperX<RecordQiebianDO> {
|
||||||
|
|
||||||
|
default PageResult<RecordQiebianDO> selectPage(PageParam reqVO, Long recordId) {
|
||||||
|
return selectPage(reqVO, new LambdaQueryWrapperX<RecordQiebianDO>()
|
||||||
|
.eq(RecordQiebianDO::getRecordId, recordId)
|
||||||
|
.orderByDesc(RecordQiebianDO::getId));
|
||||||
|
}
|
||||||
|
|
||||||
|
default int deleteByRecordId(Long recordId) {
|
||||||
|
return delete(RecordQiebianDO::getRecordId, recordId);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.yudao.module.mes.dal.mysql.record;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
||||||
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
||||||
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
|
import cn.iocoder.yudao.module.mes.dal.dataobject.record.RecordReyaDO;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 热压记录 Mapper
|
||||||
|
*
|
||||||
|
* @author 内蒙必硕
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface RecordReyaMapper extends BaseMapperX<RecordReyaDO> {
|
||||||
|
|
||||||
|
default PageResult<RecordReyaDO> selectPage(PageParam reqVO, Long recordId) {
|
||||||
|
return selectPage(reqVO, new LambdaQueryWrapperX<RecordReyaDO>()
|
||||||
|
.eq(RecordReyaDO::getRecordId, recordId)
|
||||||
|
.orderByDesc(RecordReyaDO::getId));
|
||||||
|
}
|
||||||
|
|
||||||
|
default int deleteByRecordId(Long recordId) {
|
||||||
|
return delete(RecordReyaDO::getRecordId, recordId);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue