yun-zuoyi
WYnneaoapc 6 years ago
commit 603cd76784

@ -38,7 +38,7 @@ public class BaseOrder extends BaseCode {
@FieldAnnotation(relation = "Material", notEmpty = true) @FieldAnnotation(relation = "Material", notEmpty = true)
private Long materialId; private Long materialId;
@Column(name="COUNT") @Column(name="COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="数量") @ApiParam(value ="数量")
@FieldAnnotation(notEmpty = true) @FieldAnnotation(notEmpty = true)
@Min(0) @Min(0)

@ -0,0 +1,49 @@
package cn.estsh.i3plus.pojo.aps.bean;
import cn.estsh.i3plus.pojo.aps.annotation.FieldAnnotation;
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @Description :
* @Reference :
* @Author : jason.niu
* @CreateDate : 2019-12-03
* @Modify:
**/
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "APS_EXPRESSION_RECORD")
@Api("表达式记录")
public class ExpressionRecord extends BaseAPS {
@Column(name="BEAN_NAME")
@ApiParam(value ="表名")
@FieldAnnotation(property = false)
private String beanName;
@Column(name="FIELD_NAME")
@ApiParam(value ="字段名")
@FieldAnnotation(property = false)
private String fieldName;
@Column(name="NAME")
@ApiParam(value ="名称")
@FieldAnnotation(notEmpty = true)
private String name;
@Column(name="EXPRESSION")
@ApiParam(value ="表达式")
private String expression;
@Column(name="REMARK")
@ApiParam(value ="备注")
private String remark;
}

@ -46,7 +46,7 @@ public class FurnaceCapacity extends BaseAPS {
@FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.MULTI_OBJECT, typeName = "Material") @FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.MULTI_OBJECT, typeName = "Material")
private String materialCode; private String materialCode;
@Column(name="CAPACITY") @Column(name="CAPACITY", columnDefinition = "decimal(18,8)")
@ApiParam(value ="容量限制") @ApiParam(value ="容量限制")
@Min(0) @Min(0)
private Double capacity; private Double capacity;

@ -32,7 +32,7 @@ import java.util.List;
@Api("炉资源计划") @Api("炉资源计划")
public class FurnacePlan extends BaseAPS { public class FurnacePlan extends BaseAPS {
@Column(name="CAPACITY") @Column(name="CAPACITY", columnDefinition = "decimal(18,8)")
@ApiParam(value ="已占用的能力") @ApiParam(value ="已占用的能力")
private Double capacity; private Double capacity;

@ -34,12 +34,12 @@ public class Inventory extends BaseOrder {
@ApiParam(value ="指定上层订单") @ApiParam(value ="指定上层订单")
private String specifyUpOrder; private String specifyUpOrder;
@Column(name="ASSIGN_COUNT") @Column(name="ASSIGN_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="已分配量") @ApiParam(value ="已分配量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double assignCount; private Double assignCount;
@Column(name="EXCESS_COUNT") @Column(name="EXCESS_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="多余量") @ApiParam(value ="多余量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double excessCount; private Double excessCount;

@ -80,40 +80,40 @@ public class Material extends BaseCode {
@FieldAnnotation(defaultValue = "1") @FieldAnnotation(defaultValue = "1")
private Boolean autoFixPegging; private Boolean autoFixPegging;
@Column(name="MAX_PRODUCT_BATCH") @Column(name="MAX_PRODUCT_BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="最大制造批量") @ApiParam(value ="最大制造批量")
private Double maxProductBatch; private Double maxProductBatch;
@Column(name="MIN_PRODUCT_BATCH") @Column(name="MIN_PRODUCT_BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="最小制造批量") @ApiParam(value ="最小制造批量")
@FieldAnnotation(defaultValue = "0.0") @FieldAnnotation(defaultValue = "0.0")
private Double minProductBatch; private Double minProductBatch;
@Column(name="UNIT_PRODUCT_BATCH") @Column(name="UNIT_PRODUCT_BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="制造批量单位") @ApiParam(value ="制造批量单位")
private Double UnitProductBatch; private Double UnitProductBatch;
@Column(name="MAX_PUR_BATCH") @Column(name="MAX_PUR_BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="最大采购批量") @ApiParam(value ="最大采购批量")
private Double maxPurBatch; private Double maxPurBatch;
@Column(name="MIN_PUR_BATCH") @Column(name="MIN_PUR_BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="最小采购批量") @ApiParam(value ="最小采购批量")
private Double minPurBatch; private Double minPurBatch;
@Column(name="UNIT_PUR_BATCH") @Column(name="UNIT_PUR_BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="采购批量单位") @ApiParam(value ="采购批量单位")
private Double unitPurBatch; private Double unitPurBatch;
@Column(name="MIN_STOCK_COUNT") @Column(name="MIN_STOCK_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="最小库存数量") @ApiParam(value ="最小库存数量")
private Double minStockCount; private Double minStockCount;
@Column(name="SAFE_STOCK_COUNT") @Column(name="SAFE_STOCK_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="安全库存数量") @ApiParam(value ="安全库存数量")
private Double safeStockCount; private Double safeStockCount;
@Column(name="MAX_STOCK_COUNT") @Column(name="MAX_STOCK_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="最大库存数量") @ApiParam(value ="最大库存数量")
private Double maxStockCount; private Double maxStockCount;

@ -39,15 +39,15 @@ public class OperInput extends BaseAPS {
@FieldAnnotation(relation = "Material", notEmpty = true) @FieldAnnotation(relation = "Material", notEmpty = true)
private Long materialId; private Long materialId;
@Column(name="INPUT_COUNT") @Column(name="INPUT_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="单位输入量") @ApiParam(value ="单位输入量")
private Double inputCount; private Double inputCount;
@Column(name="YIELD") @Column(name="YIELD", columnDefinition = "decimal(18,8)")
@ApiParam(value ="成品率") @ApiParam(value ="成品率")
private Double yield; private Double yield;
@Column(name="FIX_SCRAP_COUNT") @Column(name="FIX_SCRAP_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="固定报废数") @ApiParam(value ="固定报废数")
private Double fixScrapCount; private Double fixScrapCount;

@ -38,15 +38,15 @@ public class OperOutput extends BaseAPS {
@FieldAnnotation(relation = "Material", notEmpty = true) @FieldAnnotation(relation = "Material", notEmpty = true)
private Long materialId; private Long materialId;
@Column(name="OUTPUT_COUNT") @Column(name="OUTPUT_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="单位输出量") @ApiParam(value ="单位输出量")
private Double outputCount; private Double outputCount;
@Column(name="YIELD") @Column(name="YIELD", columnDefinition = "decimal(18,8)")
@ApiParam(value ="成品率") @ApiParam(value ="成品率")
private Double yield; private Double yield;
@Column(name="FIX_SCRAP_COUNT") @Column(name="FIX_SCRAP_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="固定报废数") @ApiParam(value ="固定报废数")
private Double fixScrapCount; private Double fixScrapCount;

@ -44,17 +44,17 @@ public class Operation extends BaseAPS {
@FieldAnnotation(relation = "StandOperation", notEmpty = true) @FieldAnnotation(relation = "StandOperation", notEmpty = true)
private Long standOperationId; private Long standOperationId;
@Column(name="PREV_COUNT_RATE") @Column(name="PREV_COUNT_RATE", columnDefinition = "decimal(18,8)")
@ApiParam(value ="前工序数量比") @ApiParam(value ="前工序数量比")
@FieldAnnotation(notEmpty = true, defaultValue = "1.0") @FieldAnnotation(notEmpty = true, defaultValue = "1.0")
private Double prevCountRate; private Double prevCountRate;
@Column(name="YIELD") @Column(name="YIELD", columnDefinition = "decimal(18,8)")
@ApiParam(value ="成品率") @ApiParam(value ="成品率")
@FieldAnnotation(notEmpty = true, defaultValue = "1.0") @FieldAnnotation(notEmpty = true, defaultValue = "1.0")
private Double yield; private Double yield;
@Column(name="FIX_SCRAP_COUNT") @Column(name="FIX_SCRAP_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="固定报废数") @ApiParam(value ="固定报废数")
private Double fixScrapCount; private Double fixScrapCount;
@ -66,7 +66,7 @@ public class Operation extends BaseAPS {
@ApiParam(value ="分割的工作个数") @ApiParam(value ="分割的工作个数")
private Integer count; private Integer count;
@Column(name="BATCH") @Column(name="BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="分割批量") @ApiParam(value ="分割批量")
private Double batch; private Double batch;

@ -32,7 +32,7 @@ import java.util.List;
@Api("父工作") @Api("父工作")
@ExcludeImportExport @ExcludeImportExport
public class ParentWork extends BaseAPS { public class ParentWork extends BaseAPS {
@Column(name="count") @Column(name="count", columnDefinition = "decimal(18,8)")
@ApiParam(value ="数量") @ApiParam(value ="数量")
private Double count; private Double count;

@ -71,7 +71,7 @@ public class ProductOrder extends BaseOrder {
@ApiParam(value ="指定上层订单") @ApiParam(value ="指定上层订单")
private String specifyUpOrder; private String specifyUpOrder;
@Column(name="ASSIGN_COUNT") @Column(name="ASSIGN_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="已分配数量") @ApiParam(value ="已分配数量")
private Double assignCount; private Double assignCount;
@ -84,12 +84,12 @@ public class ProductOrder extends BaseOrder {
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private String calcLeadTime; private String calcLeadTime;
@Column(name="EXCESS_COUNT") @Column(name="EXCESS_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="多余量") @ApiParam(value ="多余量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double excessCount; private Double excessCount;
@Column(name="LACK_COUNT") @Column(name="LACK_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="缺少量") @ApiParam(value ="缺少量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double lackCount; private Double lackCount;

@ -34,7 +34,7 @@ public class PurchaseOrder extends BaseOrder {
@ApiParam(value ="指定上层订单") @ApiParam(value ="指定上层订单")
private String specifyUpOrder; private String specifyUpOrder;
@Column(name="ASSIGN_COUNT") @Column(name="ASSIGN_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="已分配数量") @ApiParam(value ="已分配数量")
private Double assignCount; private Double assignCount;
@ -47,7 +47,7 @@ public class PurchaseOrder extends BaseOrder {
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private String calcLeadTime; private String calcLeadTime;
@Column(name="EXCESS_COUNT") @Column(name="EXCESS_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="多余量") @ApiParam(value ="多余量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double excessCount; private Double excessCount;

@ -30,7 +30,7 @@ import java.util.List;
@Api("日历") @Api("日历")
public class ResCalendar extends BaseAPS { public class ResCalendar extends BaseAPS {
@Column(name="RES_CODES") @Column(name="RES_CODES")
@ApiParam(value ="资源码") @ApiParam(value ="资源码")
@FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.MULTI_OBJECT, typeName = "Resource", notEmpty = true) @FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.MULTI_OBJECT, typeName = "Resource", notEmpty = true)
private String resCodes; private String resCodes;
@ -44,7 +44,7 @@ public class ResCalendar extends BaseAPS {
private String dates; private String dates;
@Column(name="SHIFT_CODES") @Column(name="SHIFT_CODES")
@ApiParam(value ="班次码") @ApiParam(value ="班次码")
@FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.MULTI_OBJECT, typeName = "DayShift", notEmpty = true) @FieldAnnotation(editType = ApsEnumUtil.EDIT_TYPE.MULTI_OBJECT, typeName = "DayShift", notEmpty = true)
private String shiftCodes; private String shiftCodes;

@ -39,7 +39,7 @@ public class Resource extends BaseCode {
@FieldAnnotation(defaultValue = "SINGLE") @FieldAnnotation(defaultValue = "SINGLE")
private ApsEnumUtil.RESOURCE_CLASS resClass; private ApsEnumUtil.RESOURCE_CLASS resClass;
@Column(name="EFFICIENCY") @Column(name="EFFICIENCY", columnDefinition = "decimal(18,8)")
@ApiParam(value ="生产效率") @ApiParam(value ="生产效率")
@FieldAnnotation(defaultValue = "1.0", notEmpty = true) @FieldAnnotation(defaultValue = "1.0", notEmpty = true)
private Double efficiency; private Double efficiency;
@ -52,7 +52,7 @@ public class Resource extends BaseCode {
@ApiParam(value ="后缓冲时间") @ApiParam(value ="后缓冲时间")
private String postBuffer; private String postBuffer;
@Column(name="MAX_PRODUCE_BATCH") @Column(name="MAX_PRODUCE_BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="最大生产批量") @ApiParam(value ="最大生产批量")
private Double maxProduceBatch; private Double maxProduceBatch;

@ -39,7 +39,7 @@ public class StandOperation extends BaseCode {
@ApiParam(value ="分割的工作个数") @ApiParam(value ="分割的工作个数")
private Integer count; private Integer count;
@Column(name="BATCH") @Column(name="BATCH", columnDefinition = "decimal(18,8)")
@ApiParam(value ="分割批量") @ApiParam(value ="分割批量")
private Double batch; private Double batch;

@ -46,7 +46,7 @@ public class Work extends BaseAPS {
@FieldAnnotation(property = false) @FieldAnnotation(property = false)
private ApsEnumUtil.WORK_TYPE workType; private ApsEnumUtil.WORK_TYPE workType;
@Column(name="count") @Column(name="count", columnDefinition = "decimal(18,8)")
@ApiParam(value ="数量") @ApiParam(value ="数量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double count; private Double count;
@ -70,7 +70,7 @@ public class Work extends BaseAPS {
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private String planResource; private String planResource;
@Column(name="SPECIFY_COUNT") @Column(name="SPECIFY_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="指定数量") @ApiParam(value ="指定数量")
private Double specifyCount; private Double specifyCount;
@ -120,7 +120,7 @@ public class Work extends BaseAPS {
@ApiParam(value ="已分割的工作是否固定") @ApiParam(value ="已分割的工作是否固定")
private Boolean fixSplit; private Boolean fixSplit;
@Column(name="NEED_PREV_COUNT") @Column(name="NEED_PREV_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="需要的前工作数量") @ApiParam(value ="需要的前工作数量")
@FieldAnnotation(display = false, modify = false) @FieldAnnotation(display = false, modify = false)
private Double needPrevCount; private Double needPrevCount;

@ -39,12 +39,12 @@ public class WorkInput extends BaseAPS {
@FieldAnnotation(relation = "Material") @FieldAnnotation(relation = "Material")
private Long materialId; private Long materialId;
@Column(name="INPUT_COUNT") @Column(name="INPUT_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="输入数量") @ApiParam(value ="输入数量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double inputCount; private Double inputCount;
@Column(name="SHORT_COUNT") @Column(name="SHORT_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="短缺数量") @ApiParam(value ="短缺数量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double shortCount; private Double shortCount;

@ -41,12 +41,12 @@ public class WorkOutput extends BaseAPS {
@FieldAnnotation(relation = "Material") @FieldAnnotation(relation = "Material")
private Long materialId; private Long materialId;
@Column(name="OUTPUT_COUNT") @Column(name="OUTPUT_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="输出数量") @ApiParam(value ="输出数量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double outputCount; private Double outputCount;
@Column(name="REMAIN_COUNT") @Column(name="REMAIN_COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="多余数量") @ApiParam(value ="多余数量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double remainCount; private Double remainCount;

@ -53,7 +53,7 @@ public class WorkRelation extends BaseAPS {
@FieldAnnotation(relation = "PostWork") @FieldAnnotation(relation = "PostWork")
private Long postWorkId; private Long postWorkId;
@Column(name="COUNT") @Column(name="COUNT", columnDefinition = "decimal(18,8)")
@ApiParam(value ="关联数量") @ApiParam(value ="关联数量")
@FieldAnnotation(modify = false) @FieldAnnotation(modify = false)
private Double count; private Double count;

@ -0,0 +1,10 @@
package cn.estsh.i3plus.pojo.aps.model;
import lombok.Data;
@Data
public class FunctionModel {
private String code;
private String name;
private String params;
}

@ -0,0 +1,9 @@
package cn.estsh.i3plus.pojo.aps.repository;
import cn.estsh.i3plus.pojo.aps.bean.ExpressionRecord;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ExpressionRecordRepository extends CrudRepository<ExpressionRecord, Long> {
}

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Class name="ExportProject"> <Class name="ExportProject">
<Relation field="Link" name="DataLink" type="MULTI_TO_ONE" owner="false"> <Relation field="Link" name="DataLink" type="MULTI_TO_ONE" owner="false">
</Relation> </Relation>
<Relation field="Details" name="ExportDetail" reverse="Project" type="ONE_TO_MULTI" owner="true"> <Relation field="Details" name="ExportDetail" reverse="Project" type="ONE_TO_MULTI" owner="true">
</Relation> </Relation>
</Class> </Class>

@ -60,6 +60,7 @@ public class ApsEnumUtil {
PRODUCT("PRODUCT", "成品"), PRODUCT("PRODUCT", "成品"),
HALF_PRODUCT("HALF_PRODUCT", "半成品"), HALF_PRODUCT("HALF_PRODUCT", "半成品"),
RAW_MATERIAL("RAW_MATERIAL", "原材料"), RAW_MATERIAL("RAW_MATERIAL", "原材料"),
INNER_PRODUCT("INNER_PRODUCT", "中间品"),
VIRTUAL("VIRTUAL", "虚拟件"); VIRTUAL("VIRTUAL", "虚拟件");
private String value; private String value;
@ -978,7 +979,7 @@ public class ApsEnumUtil {
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum DATA_LINK_TYPE { public enum DATA_LINK_TYPE {
CSV("CSV", "csv文件"), EXCEL("EXCEL", "EXCEL文件"),
MYSQL("MYSQL", "MySql"), MYSQL("MYSQL", "MySql"),
ORACLE("ORACLE", "Oracle"), ORACLE("ORACLE", "Oracle"),
SQLSERVER("SQLSERVER", "SqlServer"); SQLSERVER("SQLSERVER", "SqlServer");

@ -161,7 +161,8 @@ public class MesEnumUtil {
DEFECT("DEFECT", "缺陷"), DEFECT("DEFECT", "缺陷"),
DEFECT_CAUSE("DEFECT_CAUSE", "缺陷原因"), DEFECT_CAUSE("DEFECT_CAUSE", "缺陷原因"),
REPAIR("REPAIR", "处理措施"), REPAIR("REPAIR", "处理措施"),
SCRAP("SCRAP", "报废原因"); SCRAP("SCRAP", "报废原因"),
QC_CHECK_STAND("QC_CHECK_STAND", "质量检测标准");
private String value; private String value;
private String description; private String description;

@ -179,7 +179,7 @@ public class MesPcnEnumUtil {
} }
/** /**
* pcn * MesProdBindRecord
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_IS_BIND_KEY { public enum MES_IS_BIND_KEY {

@ -73,10 +73,14 @@ public class MesQcCheckStandard extends BaseBean {
@ApiParam("检测值") @ApiParam("检测值")
private String checkValue; private String checkValue;
@Column(name = "CHECK_ITEM_TYPE")
@ApiParam("检测项类型")
private String checkItemType;
public MesQcCheckStandard() { public MesQcCheckStandard() {
} }
public MesQcCheckStandard(String partNo, String workCenterCode, String workCellCode, Integer checkType, String checkItem, String checkStandard, String checkGuide, String checkFrequency, String partName) { public MesQcCheckStandard(String partNo, String workCenterCode, String workCellCode, Integer checkType, String checkItem, String checkStandard, String checkGuide, String checkFrequency, String partName, String checkItemType) {
this.partNo = partNo; this.partNo = partNo;
this.workCenterCode = workCenterCode; this.workCenterCode = workCenterCode;
this.workCellCode = workCellCode; this.workCellCode = workCellCode;
@ -86,5 +90,6 @@ public class MesQcCheckStandard extends BaseBean {
this.checkGuide = checkGuide; this.checkGuide = checkGuide;
this.checkFrequency = checkFrequency; this.checkFrequency = checkFrequency;
this.partName = partName; this.partName = partName;
this.checkItemType = checkItemType;
} }
} }

@ -129,6 +129,14 @@ public class MesProduceSn extends BaseBean {
@ApiParam("返回信息") @ApiParam("返回信息")
private String resultMsg; private String resultMsg;
@Transient
@ApiParam("下线开始时间")
private String outWorkCenterStartTime;
@Transient
@ApiParam("下线结束时间")
private String outWorkCenterEndTime;
public double getQtyVal() { public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty; return this.qty == null ? 0.0d : this.qty;
} }

@ -60,4 +60,8 @@ public class MesQcCheckStandard extends BaseBean {
@ApiParam("频率") @ApiParam("频率")
private String checkFrequency; private String checkFrequency;
@Column(name = "CHECK_ITEM_TYPE")
@ApiParam("检测项类型")
private String checkItemType;
} }

@ -1876,6 +1876,10 @@ public class MesHqlPack {
mesProduceSn.getCreateDateTimeStart(), mesProduceSn.getCreateDateTimeStart(),
mesProduceSn.getCreateDateTimeEnd(), mesProduceSn.getCreateDateTimeEnd(),
"createDatetime", packBean, true); "createDatetime", packBean, true);
DdlPreparedPack.timeBuilder(
mesProduceSn.getOutWorkCenterStartTime(),
mesProduceSn.getOutWorkCenterEndTime(),
"outWorkCenterTime", packBean, true);
return packBean; return packBean;
} }

Loading…
Cancel
Save