Merge remote-tracking branch 'origin/dev' into dev

yun-zuoyi
钮海涛 6 years ago
commit 2e02d77966

@ -33,6 +33,7 @@ public class CommonEnumUtil {
HARDSWITCH(25,"block-hardswitch","硬件适配器"),
LAC(26,"lac","连接适配器"),
ANDON(27,"andon","安灯"),
APS(28,"APS","高级计划与排程"),
CENTER(99,"icloud-server","注册中心"),
SURFACE(98,"i3surface","对外服务"),
CLOUD(97,"i3cloud","微服务"),

@ -12,6 +12,82 @@ import com.fasterxml.jackson.annotation.JsonFormat;
public class MesEnumUtil {
/**
* MesRepair
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_REPAIR_TYPE {
SCRATCH(10, "划痕"),
FRACTURE(20, "破碎"),
SCRAP_TYPE3(30, "缺失");
private int value;
private String description;
MES_REPAIR_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum EQUIPMENT_REPORT_TYPE {
TASK(10, "作业任务"),
PLAN(20, "周期计划"),
REPAIR(30, "维修记录"),
CHECK(40, "点检记录"),
MAINTAIN(50, "保养记录");
private int value;
private String description;
EQUIPMENT_REPORT_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* MesScrap
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -49,6 +125,42 @@ public class MesEnumUtil {
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_PRODUCE_SN_TYPE {
NORMAL(10, "正常件"),
FIRST_INSPECTION(20, "首检件");
private int value;
private String description;
MES_PRODUCE_SN_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* mes
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -42,7 +42,7 @@ public class MesConfig extends BaseBean {
@Column(name = "CFG_KEY")
@ApiParam("配置key")
private String cfgkey;
private String cfgKey;
@Column(name = "CFG_VALUE")
@ApiParam("配置value")

@ -31,7 +31,6 @@ public class MesDataObject extends BaseBean {
@ApiParam("对象代码")
private String objectCode;
@Column(name = "OBJECT_NAME")
@ApiParam("对象名称")
private String objectName;
@ -43,4 +42,28 @@ public class MesDataObject extends BaseBean {
@Column(name = "OPERATE_TYPE")
@ApiParam("操作类型")
private Integer operateType;
@Column(name = "FIELD_PK")
@ApiParam("主键")
private String fieldPk;
@Column(name = "READ_FLAG_VALUE")
@ApiParam("读取标志值")
private String readFlagValue;
@Column(name = "FEED_FIELD")
@ApiParam("反馈字段")
private String feedField;
@Column(name = "FEED_VALUE")
@ApiParam("反馈值")
private String feedValue;
@Column(name = "SELF_ADDITION")
@ApiParam("自增列")
private String selfAddition;
@Column(name = "SELF_ADDITION_VALUE")
@ApiParam("自增列值")
private Long selfAdditionValue;
}

@ -41,5 +41,5 @@ public class MesFiCfg extends BaseBean {
@Column(name = "FI_QTY")
@ApiParam("首检数量")
private String fiQty;
private Double fiQty;
}

@ -27,7 +27,6 @@ import javax.persistence.Table;
@Api("对象结构")
public class MesObjectCfg extends BaseBean {
@Column(name = "OBJECT_CODE")
@ApiParam("对象代码")
private String objectCode;
@ -48,18 +47,6 @@ public class MesObjectCfg extends BaseBean {
@ApiParam("列长度")
private String fieldLength;
@Column(name = "FIELD_PK")
@ApiParam("主键标记")
private String fieldPk;
@Column(name = "FEED_FIELD")
@ApiParam("反馈字段")
private String feedField;
@Column(name = "FEED_VALUE")
@ApiParam("反馈值")
private String feedValue;
@Column(name = "POJO_ATTR")
@ApiParam("对应的pojo属性")
private String pojoAttr;

@ -27,6 +27,7 @@ import javax.persistence.Table;
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PLC_CONFIGURE")
@Api("PLC设备信息配置表")
@Deprecated
public class MesPLCConfigure extends BaseBean {
@Column(name = "IP")
@ApiParam("设备ip")

@ -82,6 +82,9 @@ public class MesPackage extends BaseBean {
@ApiParam("备注")
private String memo;
public MesPackage() {
}
public MesPackage(String packageNo, String partNo, String partNameRdd, Double qty, Double packSpecQty) {
this.packageNo = packageNo;
this.partNo = partNo;

@ -23,7 +23,7 @@ import javax.persistence.Table;
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PACKAGE")
@Table(name = "MES_PACKAGE_DETAIL")
@Api("包装规格")
public class MesPackageDetail extends BaseBean {

@ -28,7 +28,6 @@ import javax.persistence.Transient;
@Api("PLC配置表")
public class MesPlc extends BaseBean {
@Column(name = "PLC_CODE")
@ApiParam("PLC代码")
private String plcCode;
@ -65,6 +64,10 @@ public class MesPlc extends BaseBean {
@ApiParam("分组名称")
private String groupName;
@Column(name = "DEVICE")
@ApiParam("驱动")
private String device;
@Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码")
private String equipmentCode;

@ -43,4 +43,16 @@ public class MesProduceCtgyPicture extends BaseBean {
@Column(name = "PICTURE_NAME")
@ApiParam("图片名称")
private String pictureName;
@Column(name = "FILE_ORIGIN_NAME")
@ApiParam("FILE_ORIGIN_NAME")
private String fileOriginName;
@Column(name = "FILE_SIZE")
@ApiParam("FILE_SIZE")
private String fileSize;
@Column(name = "FILE_TYPE_ID")
@ApiParam("FILE_TYPE_ID")
private String fileTypeId;
}

@ -12,6 +12,7 @@ import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
/**
* @Description:
@ -27,7 +28,9 @@ import javax.persistence.Transient;
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PRODUCE_SN")
@Api("产品条码表")
public class MesProduceSn extends BaseBean {
public class MesProduceSn extends BaseBean implements Serializable {
private static final long serialVersionUID = 6641051790330191326L;
@Column(name = "SERIAL_NUMBER")
@ApiParam("产品条码")
@ -62,11 +65,11 @@ public class MesProduceSn extends BaseBean {
private Integer printStatus;
@Column(name = "WORK_CENTER_CODE")
@ApiParam("工作中心代码")
@ApiParam("生产线")
private String workCenterCode;
@Column(name = "WORK_CELL_CODE")
@ApiParam("工作单元代码")
@ApiParam("工")
private String workCellCode;
@Column(name = "ROUTE_CODE")
@ -115,7 +118,7 @@ public class MesProduceSn extends BaseBean {
@Column(name = "SN_TYPE")
@ApiParam("条码类型 10=正常 20=首检件")
private String snType;
private Integer snType;
@Column(name = "TRAY")
@ApiParam("托盘号")
@ -149,6 +152,10 @@ public class MesProduceSn extends BaseBean {
return this.printStatus == null ? 0 : this.printStatus;
}
public int getSnTypeVal() {
return this.snType == null ? 0 : this.snType;
}
@Override
public String toString() {
return "MesProduceSn{" +
@ -172,6 +179,8 @@ public class MesProduceSn extends BaseBean {
", custSn='" + custSn + '\'' +
", custPartNo='" + custPartNo + '\'' +
", packageSn='" + packageSn + '\'' +
", snType='" + snType + '\'' +
", tray='" + tray + '\'' +
", resultMsg='" + resultMsg + '\'' +
'}';
}

@ -108,6 +108,10 @@ public class MesProduceSnTravel extends BaseBean {
@ApiParam("包装条码")
private String packageSn;
@Column(name="OPERATE_TYPE")
@ApiParam("操作类型")
private Integer operateType;
@Transient
@ApiParam("返回信息")
private String resultMsg;

@ -95,6 +95,10 @@ public class MesQcCheckData extends BaseBean {
private String custCode;
@Transient
@ApiParam("产品条码")
private String serialNumber;
@Transient
@ApiParam("过程质量检测数据")
private List<MesQcCheckStandard> mesQcCheckStandardList;

@ -139,15 +139,15 @@ public class MesWorkOrder extends BaseBean {
@Column(name = "FI_QTY")
@ApiParam("首检数量")
private Long fiQty;
private Double fiQty;
@Column(name = "FI_COMPLETE_QTY")
@ApiParam("首检完成数量")
private Long fiCompleteQty;
private Double fiCompleteQty;
@Column(name = "FI_GENERATE_QTY")
@ApiParam("首检生成数量")
private Long fiGenerateQty;
private Double fiGenerateQty;
/********************** 冗余字段 *********************************/
@Transient

@ -136,6 +136,18 @@ public class MesWorkOrderLog extends BaseBean {
@ApiParam("客户订单号")
private String custOrderNo;
@Column(name = "FI_QTY")
@ApiParam("首检数量")
private Double fiQty;
@Column(name = "FI_COMPLETE_QTY")
@ApiParam("首检完成数量")
private Double fiCompleteQty;
@Column(name = "FI_GENERATE_QTY")
@ApiParam("首检生成数量")
private Double fiGenerateQty;
/********************** 冗余字段 *********************************/
@Transient
@ApiParam(value = "工作中心名称")

@ -0,0 +1,17 @@
package cn.estsh.i3plus.pojo.mes.pcn.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesFiCfg;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-04-02
* @Modify:
**/
@Repository
public interface MesFiCfgRepository extends BaseRepository<MesFiCfg, Long> {
}

@ -42,7 +42,7 @@ public class MesConfig extends BaseBean {
@Column(name = "CFG_KEY")
@ApiParam("配置key")
private String cfgkey;
private String cfgKey;
@Column(name = "CFG_VALUE")
@ApiParam("配置value")

@ -43,4 +43,28 @@ public class MesDataObject extends BaseBean {
@Column(name = "OPERATE_TYPE")
@ApiParam("操作类型")
private Integer operateType;
@Column(name = "FIELD_PK")
@ApiParam("主键")
private String fieldPk;
@Column(name = "READ_FLAG_VALUE")
@ApiParam("读取标志值")
private String readFlagValue;
@Column(name = "FEED_FIELD")
@ApiParam("反馈字段")
private String feedField;
@Column(name = "FEED_VALUE")
@ApiParam("反馈值")
private String feedValue;
@Column(name = "SELF_ADDITION")
@ApiParam("自增列")
private String selfAddition;
@Column(name = "SELF_ADDITION_VALUE")
@ApiParam("自增列值")
private Long selfAdditionValue;
}

@ -83,4 +83,8 @@ public class MesEquTaskDetail extends BaseBean {
@ApiParam(value = "处理方法")
private String fmCode;
@Transient
@ApiParam(value = "任务类型")
private Integer taskType;
}

@ -41,5 +41,5 @@ public class MesFiCfg extends BaseBean {
@Column(name = "FI_QTY")
@ApiParam("首检数量")
private String fiQty;
private Double fiQty;
}

@ -27,7 +27,6 @@ import javax.persistence.Table;
@Api("对象结构")
public class MesObjectCfg extends BaseBean {
@Column(name = "OBJECT_CODE")
@ApiParam("对象代码")
private String objectCode;
@ -48,19 +47,6 @@ public class MesObjectCfg extends BaseBean {
@ApiParam("列长度")
private String fieldLength;
@Column(name = "FIELD_PK")
@ApiParam("主键标记")
private String fieldPk;
@Column(name = "FEED_FIELD")
@ApiParam("反馈字段")
private String feedField;
@Column(name = "FEED_VALUE")
@ApiParam("反馈值")
private String feedValue;
@Column(name = "POJO_ATTR")
@ApiParam("对应的pojo属性")
private String pojoAttr;

@ -27,6 +27,7 @@ import javax.persistence.Table;
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PLC_CONFIGURE")
@Api("PLC设备信息配置表")
@Deprecated
public class MesPLCConfigure extends BaseBean {
@Column(name = "IP")
@ApiParam("设备ip")

@ -66,6 +66,10 @@ public class MesPlc extends BaseBean {
@ApiParam("分组名称")
private String groupName;
@Column(name = "DEVICE")
@ApiParam("驱动")
private String device;
@Column(name = "EQUIPMENT_CODE")
@ApiParam("设备代码")
private String equipmentCode;

@ -30,7 +30,7 @@ public class MesProduceCtgyPicture extends BaseBean {
@Column(name = "PRODUCE_CTGY_CODE")
@ApiParam("产品类型代码")
private String produceCtgyCode;
private String produceCategoryCode;
@Column(name = "SIDE_LOCATION")
@ApiParam("面位")
@ -43,4 +43,16 @@ public class MesProduceCtgyPicture extends BaseBean {
@Column(name = "PICTURE_NAME")
@ApiParam("图片名称")
private String pictureName;
@Column(name = "FILE_SIZE")
@ApiParam("FILE_SIZE")
private String fileSize;
@Column(name = "FILE_TYPE_ID")
@ApiParam("FILE_TYPE_ID")
private String fileTypeId;
@Column(name = "FILE_TYPE_NAME")
@ApiParam("FILE_TYPE_NAME")
private String fileTypeName;
}

@ -115,12 +115,16 @@ public class MesProduceSn extends BaseBean {
@Column(name = "SN_TYPE")
@ApiParam("条码类型")
private String snType;
private Integer snType;
@Column(name = "TRAY")
@ApiParam("托盘号")
private String tray;
@Column(name="OPERATE_TYPE")
@ApiParam("操作类型")
private Integer operateType;
@Transient
@ApiParam("返回信息")
private String resultMsg;
@ -145,6 +149,10 @@ public class MesProduceSn extends BaseBean {
return this.printStatus == null ? 0 : this.printStatus;
}
public int getSnTypeVal() {
return this.snType == null ? 0 : this.snType;
}
@Override
public String toString() {
return "MesProduceSn{" +
@ -168,6 +176,8 @@ public class MesProduceSn extends BaseBean {
", custSn='" + custSn + '\'' +
", custPartNo='" + custPartNo + '\'' +
", packageSn='" + packageSn + '\'' +
", snType='" + snType + '\'' +
", tray='" + tray + '\'' +
", resultMsg='" + resultMsg + '\'' +
'}';
}

@ -108,6 +108,10 @@ public class MesProduceSnTravel extends BaseBean {
@ApiParam("包装条码")
private String packageSn;
@Column(name="OPERATE_TYPE")
@ApiParam("操作类型")
private Integer operateType;
@Transient
@ApiParam("返回信息")
private String resultMsg;

@ -139,15 +139,15 @@ public class MesWorkOrder extends BaseBean {
@Column(name = "FI_QTY")
@ApiParam("首检数量")
private String fiQty;
private Double fiQty;
@Column(name = "FI_COMPLETE_QTY")
@ApiParam("首检完成数量")
private String fiCompleteQty;
private Double fiCompleteQty;
@Column(name = "FI_GENERATE_QTY")
@ApiParam("首检生成数量")
private String fiGenerateQty;
private Double fiGenerateQty;
/********************** 冗余字段 *********************************/
@Transient

@ -136,6 +136,18 @@ public class MesWorkOrderLog extends BaseBean {
@ApiParam("客户订单号")
private String custOrderNo;
@Column(name = "FI_QTY")
@ApiParam("首检数量")
private Double fiQty;
@Column(name = "FI_COMPLETE_QTY")
@ApiParam("首检完成数量")
private Double fiCompleteQty;
@Column(name = "FI_GENERATE_QTY")
@ApiParam("首检生成数量")
private Double fiGenerateQty;
/********************** 冗余字段 *********************************/
@Transient
@ApiParam(value = "工作中心名称")

@ -0,0 +1,23 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description : Model
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-10-28
* @Modify:
**/
@Data
public class NormalityModel {
@ApiParam("节点")
double node;
@ApiParam("发生频次")
int times;
@ApiParam("开始节点")
double from;
@ApiParam("结束节点")
double to;
}

@ -8,7 +8,9 @@ import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
/**
* @Description:
@ -60,4 +62,8 @@ public class ProdOrgModel extends BaseBean {
@ApiParam("当前级")
private Integer level;
@Transient
@ApiParam("工位类型")
private Integer workCellType;
}

@ -0,0 +1,43 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
/**
* @Description :
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-10-28
* @Modify:
**/
@Data
public class XrSampleModel {
@ApiParam("样本数量")
private int sampleCount;
@ApiParam("样本组数")
private int groupCount;
@ApiParam("每组个数")
private int preGroupCount;
@ApiParam("A2值")
private double a2;
@ApiParam("D3值")
private double d3;
@ApiParam("D4值")
private double d4;
@ApiParam("均值平均数")
private double xAver;
@ApiParam("均值控制上限")
private double xUcl;
@ApiParam("均值控制下限")
private double xLcl;
@ApiParam("极差平均数")
private double rAver;
@ApiParam("极差控制上限")
private double rUcl;
@ApiParam("极差控制下限")
private double rLcl;
}

@ -0,0 +1,17 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesFiCfg;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Reference :
* @Author : wangjie
* @CreateDate : 2019-04-02
* @Modify:
**/
@Repository
public interface MesFiCfgRepository extends BaseRepository<MesFiCfg, Long> {
}

@ -1428,8 +1428,8 @@ public class MesHqlPack {
*/
public static DdlPackBean getMesProduceCtgyPicture(MesProduceCtgyPicture mesProduceCtgyPicture, String organizeCode) {
DdlPackBean packBean = getAllBaseDataByNormalPro(mesProduceCtgyPicture, organizeCode);
if (!StringUtils.isEmpty(mesProduceCtgyPicture.getProduceCtgyCode())) {
DdlPreparedPack.getStringLikerPack(mesProduceCtgyPicture.getProduceCtgyCode(), "produceCtgyCode", packBean);
if (!StringUtils.isEmpty(mesProduceCtgyPicture.getProduceCategoryCode())) {
DdlPreparedPack.getStringLikerPack(mesProduceCtgyPicture.getProduceCategoryCode(), "produceCtgyCode", packBean);
}
if (!StringUtils.isEmpty(mesProduceCtgyPicture.getPictureName())) {
DdlPreparedPack.getStringLikerPack(mesProduceCtgyPicture.getPictureName(), "pictureName", packBean);
@ -1553,4 +1553,55 @@ public class MesHqlPack {
}
return packBean;
}
/**
*
* @param mesFiCfg
* @param organizeCode
* @return
*/
public static DdlPackBean getMesFiCfg(MesFiCfg mesFiCfg, String organizeCode) {
DdlPackBean packBean = getAllBaseDataByNormalPro(mesFiCfg, organizeCode);
if (!StringUtils.isEmpty(mesFiCfg.getWorkCenterCode())) {
DdlPreparedPack.getStringEqualPack(mesFiCfg.getWorkCenterCode(), "workCenterCode", packBean);
}
if (!StringUtils.isEmpty(mesFiCfg.getPartNo())) {
DdlPreparedPack.getStringEqualPack(mesFiCfg.getPartNo(), "partNo", packBean);
}
if (!StringUtils.isEmpty(mesFiCfg.getCustCode())) {
DdlPreparedPack.getStringLikerPack(mesFiCfg.getCustCode(), "custCode", packBean);
}
return packBean;
}
/**
*
* @param mesEquTaskRepairRecord
* @param organizeCode
* @return
*/
public static DdlPackBean getMesEquTaskRepairRecord(MesEquTaskRepairRecord mesEquTaskRepairRecord, String organizeCode) {
DdlPackBean packBean = getAllBaseDataByNormalPro(mesEquTaskRepairRecord, organizeCode);
if (!StringUtils.isEmpty(mesEquTaskRepairRecord.getEquipmentCode())) {
DdlPreparedPack.getStringEqualPack(mesEquTaskRepairRecord.getEquipmentCode(), "equipmentCode", packBean);
}
return packBean;
}
/**
*
* @param mesEquTaskStandardRecord
* @param organizeCode
* @return
*/
public static DdlPackBean getMesEquTaskStandardRecord(MesEquTaskStandardRecord mesEquTaskStandardRecord, String organizeCode) {
DdlPackBean packBean = getAllBaseDataByNormalPro(mesEquTaskStandardRecord, organizeCode);
if (!StringUtils.isEmpty(mesEquTaskStandardRecord.getEquipmentCode())) {
DdlPreparedPack.getStringEqualPack(mesEquTaskStandardRecord.getEquipmentCode(), "equipmentCode", packBean);
}
if (!StringUtils.isEmpty(mesEquTaskStandardRecord.getTaskType())) {
DdlPreparedPack.getNumEqualPack(mesEquTaskStandardRecord.getTaskType(), "taskType", packBean);
}
return packBean;
}
}

@ -18,6 +18,8 @@ import java.util.List;
@Data
public class StationRequestBean implements Serializable {
private static final long serialVersionUID = -8597212451891803174L;
@ApiParam("扫描信息")
private String scanInfo;

@ -7,6 +7,9 @@ import java.io.Serializable;
@Data
public class StepModel implements Serializable {
private static final long serialVersionUID = -5772746720347236465L;
@ApiParam("工步代码")
private String stepCode;

@ -171,6 +171,7 @@ public class UserDetailModel extends BaseBean {
user.setUserPhone(this.userPhone);
user.setUserLoginPassword(this.userLoginPassword);
user.setLanguageCode(this.userLanguageCode);
user.setOrganizeCode(this.organizeCode);
return user;
}
@ -204,6 +205,7 @@ public class UserDetailModel extends BaseBean {
info.setUserPoliticalStatus(this.infoPoliticalStatus);
info.setUserGrade(this.infoGrade);
info.setUserEmployeeType(this.infoEmployeeType);
info.setOrganizeCode(this.organizeCode);
return info;
}

@ -89,6 +89,10 @@ public class WmsPoSn extends BaseBean {
@ApiParam(value = "收货数量", example = "0")
public Double recQty;
@Column(name = "ERP_AREA_NO_ADD")
@ApiParam("默认收货库存地")
private String erpAreaNoAdd;
@ApiParam(value = "供应商名称")
@Transient
public String vendorNameRdd;

@ -262,6 +262,14 @@ public class WmsStockSn extends BaseBean {
@Transient
private Integer isSnapshot;
@Transient
@ApiParam("临保天数")
private String qualityDay;
@Transient
@ApiParam("筛选(>=)或<")
private String choose;
public WmsStockSn() {
}

@ -889,6 +889,8 @@ public class WmsHqlPack {
DdlPreparedPack.getStringEqualPack(wmsStockSn.getRefSrc(), "refSrc", result);
DdlPreparedPack.getNumEqualPack(wmsStockSn.getPrinted(), "printed", result);
DdlPreparedPack.getNumEqualPack(wmsStockSn.getSnStatus(), "snStatus", result);
DdlPreparedPack.getStringLikerPack(wmsStockSn.getPackageNo(),"packageNo",result);
DdlPreparedPack.getStringLikerPack(wmsStockSn.getQualityDate(),"qualityDate",result);
if (wmsStockSn.getSnStatus() == null) {
DdlPreparedPack.getInPackArray(new Integer[]{
WmsEnumUtil.STOCK_SN_STATUS.QUALITY_CONTROL.getValue(), WmsEnumUtil.STOCK_SN_STATUS.PRE_INSTOCK.getValue(),
@ -1509,6 +1511,7 @@ public class WmsHqlPack {
//查询参数封装
DdlPreparedPack.getStringEqualPack(wmsPoSn.getOrderNo(), "orderNo", result);
DdlPreparedPack.getStringEqualPack(wmsPoSn.getPartNo(), "partNo", result);
DdlPreparedPack.getStringLikerPack(wmsPoSn.getErpAreaNoAdd(), "erpAreaNoAdd", result);
DdlPreparedPack.getStringEqualPack(wmsPoSn.getPartNameRdd(), "partNameRdd", result);
getStringBuilderPack(wmsPoSn, result);
@ -1964,6 +1967,7 @@ public class WmsHqlPack {
DdlPreparedPack.getStringEqualPack(wmsStockSn.getPartNo(), "partNo", result);
DdlPreparedPack.getNumEqualPack(wmsStockSn.getSnStatus(), "snStatus", result);
DdlPreparedPack.getNumEqualPack(wmsStockSn.getQcStatus(), "qcStatus", result);
DdlPreparedPack.getStringLikerPack(wmsStockSn.getPackageNo(),"packageNo", result);
DdlPreparedPack.getNumEqualPack(wmsStockSn.getVendorNo(),"vendorNo", result);
DdlPreparedPack.getStringNotNullPack("locateNo", result);
result.setWhereAppend(result.getWhereAppend() + " and locateNo != ''");

Loading…
Cancel
Save