yun-zuoyi
puxiao.liao 5 years ago
commit 99a1ec309d

@ -21,6 +21,12 @@ public class AndonBoardModel {
@ApiParam("工作单元名称")
private String workCellName;
@ApiParam("生产线代码")
private String workCenterCode;
@ApiParam("生产线名称")
private String workCenterName;
@ApiParam("安灯任务编号")
private String andonOrderNo;
@ -36,9 +42,12 @@ public class AndonBoardModel {
@ApiParam("响应时长 单位:分钟")
private Long responseTimeCount = 0L;
@ApiParam("解决时长 单位:分钟")
@ApiParam("响应时长 单位:分钟")
private Long resetTimeCount = 0L;
@ApiParam("响应时长/响应时长(通用) 单位:分钟")
private Long commonTimeCount = 0L;
@ApiParam("安灯正常处理的次数")
private Integer inTime = 0;
@ -60,6 +69,8 @@ public class AndonBoardModel {
@ApiParam("工位运行状态")
private String cellStatus;
@ApiParam("图表类型颜色")
private String color;
public int getTotalTimeVal() {
return totalTime == null ? 0 : totalTime;
@ -85,6 +96,8 @@ public class AndonBoardModel {
return resetTimeCount == null ? 0 : resetTimeCount;
}
public double getCommonTimeCountVal() {
return commonTimeCount == null ? 0 : commonTimeCount;
}
}

@ -1,6 +1,8 @@
package cn.estsh.i3plus.pojo.andon.model;
import cn.estsh.i3plus.pojo.andon.bean.AndonManageQueue;
import cn.estsh.i3plus.pojo.andon.bean.MesWorkCenter;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.Data;
@ -40,27 +42,54 @@ public class AndonMenuInterfaceModel{
@ApiParam("当前安灯类型故障比例")
private Double proportion = 0D;
@ApiParam("当前工厂的产线故障统计")
private List<AndonMenuInterfaceModel> andonWorkcenterList;
@ApiParam("图表类型颜色")
private String color;
@ApiParam("当前产线的所有故障统计")
private List<AndonBoardModel> alarmBrokenInfoList;
@ApiParam("安灯状态")
private Integer actionCode;
@ApiParam("当前产线的未解决故障统计")
private List<AndonBoardModel> pendingSolveBrokenInfoList;
@ApiParam("安灯状态名称")
private String actionName;
@ApiParam("mes微服调用-故障次数占比")
private List<AndonBoardModel> mesBrokenRatioList;
@ApiParam("当前产线的响应时长top10")
private List<AndonBoardModel> responseInfoList;
@ApiParam("故障时长类型占比 / 故障次数占比 / 工厂故障信息-产线故障时长-产线时长集合")
private List<AndonBoardModel> brokenRatioList;
@ApiParam("当前产线的解决时长top10")
private List<AndonBoardModel> solveInfoList;
@ApiParam("工厂故障信息-产线故障时长-安灯类型集合")
private List<AndonMenuInterfaceModel> workcenterBrokenTimeList;
@ApiParam("当前产线的异常时长top10")
private List<AndonBoardModel> exceptionInfoList;
@ApiParam("工厂故障信息-产线故障时长-产线集合")
private List<MesWorkCenter> workCenterList;
@ApiParam("当前产线的站点状态统计")
@ApiParam("产线整体状态")
private List<AndonMenuInterfaceModel> andonWorkcenterList;
@ApiParam("产品运行状态示意图")
private List<CellGroupStatusModel> andonCellGroupStatusList;
@ApiParam("事件设备时长TOP10")
private List<AndonMenuInterfaceModel> equTimeList;
@ApiParam("事件设备时长TOP10-次数")
private List<String> equInTimeList;
@ApiParam("事件质量时长TOP10")
private List<AndonMenuInterfaceModel> qualityTimeList;
@ApiParam("事件质量时长TOP10-次数")
private List<String> qualityInTimeList;
@ApiParam("事件物料时长TOP10")
private List<AndonMenuInterfaceModel> partTimeList;
@ApiParam("事件物料时长TOP10-次数")
private List<String> partInTimeList;
@ApiParam("当前产线的未解决故障统计")
private List<AndonBoardModel> pendingSolveBrokenInfoList;
public double getExceptionTimeVal() {
return exceptionTime == null ? 0 : exceptionTime;
}

@ -867,4 +867,13 @@ public class AndonHqlPack {
return result;
}
public static DdlPackBean packHqlAndonMenu(String organizeCode, String workCenterCode, String startDateTime, String endDateTime) {
DdlPackBean result = DdlPackBean.getDdlPackBean(organizeCode);
if (!StringUtils.isEmpty(workCenterCode)) {
DdlPreparedPack.getStringEqualPack(workCenterCode, "workCenterCode", result);
}
DdlPreparedPack.timeBuilder(startDateTime, endDateTime, "createDatetime", result, true);
return result;
}
}

@ -947,24 +947,27 @@ public class AndonEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ALARM_TYPE {
PART("PART_ALARM", 110060104, "物料"),
QUALITY("QUALITY_ALARM", 110060105, "质量"),
EQUIP("EQUMENT_ALARM", 110060106, "设备"),
PROCESS("ROUTING_ALARM", 110060107, "工艺"),
CHECK("OTHER_ALARM", 110060108, "自处理"),
FIX_ERROR("FIX_ERROR", 110060109, "自动报警");
//下面的顺序不要更改packBrokenTimeTypeRatioList方法有用到此枚举的顺序
EQUIP("EQUMENT_ALARM", 110060106, "设备", "#D06D6A"),
QUALITY("QUALITY_ALARM", 110060105, "质量", "#9084FF"),
PART("PART_ALARM", 110060104, "物料", "#24BDBA"),
PROCESS("ROUTING_ALARM", 110060107, "工艺", "#2B97F9"),
CHECK("OTHER_ALARM", 110060108, "自处理", "#EAA510"),
FIX_ERROR("FIX_ERROR", 110060109, "自动报警", "#797B7F");
private String value;
private Integer code;
private String description;
private String colour;
ALARM_TYPE(String value, Integer code, String description) {
ALARM_TYPE(String value, Integer code, String description, String colour) {
this.value = value;
this.code = code;
this.description = description;
this.colour = colour;
}
public String getValue() {
public String getValue() {
return value;
}
@ -976,6 +979,10 @@ public class AndonEnumUtil {
return description;
}
public String getColour() {
return colour;
}
public static String valueOfDescription(String val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
@ -995,6 +1002,16 @@ public class AndonEnumUtil {
}
return tmp;
}
public static String colourOfValue(String val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (StringUtils.equalsIgnoreCase(values()[i].value, val)) {
tmp = values()[i].colour;
}
}
return tmp;
}
}
/**

@ -12,6 +12,41 @@ import com.fasterxml.jackson.annotation.JsonFormat;
public class MesEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CALENDAR_TYPE {
DAY(10, "日"),
WEEK(20, "周"),
MONTH(30, "月"),
YEAR(40, "年");
private int value;
private String description;
CALENDAR_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;
}
}
/**
* redis
*/
@ -1415,16 +1450,18 @@ public class MesEnumUtil {
MES_OBJECT_CFG(230, "对象结构"),
MES_WC_CHECK(240, "开线检查"),
MES_QC_CHECK_STANDARD(250, "质量检测标准"),
MES_FAULT_CAUSE(260,"设备故障原因"),
MES_FAULT_METHOD(270,"设备故障处理措施"),
MES_FAULT_PHENOMENON(280,"设备故障现象"),
MES_DEFECT(290,"缺陷"),
MES_DEFECT_CAUSE(300,"缺陷原因"),
MES_SCRAP(310,"报废原因"),
MES_REPAIR(320,"质量数据处理措施"),
MES_EQU_TASK_PLAN(330,"设备作业周期计划"),
MES_PART_OJBECT(340,"物料对象"),
MES_ROUTE_PROCESS_WORK_CELL(350,"工序工作单元");
MES_FAULT_CAUSE(260, "设备故障原因"),
MES_FAULT_METHOD(270, "设备故障处理措施"),
MES_FAULT_PHENOMENON(280, "设备故障现象"),
MES_DEFECT(290, "缺陷"),
MES_DEFECT_CAUSE(300, "缺陷原因"),
MES_SCRAP(310, "报废原因"),
MES_REPAIR(320, "质量数据处理措施"),
MES_EQU_TASK_PLAN(330, "设备作业周期计划"),
MES_PART_OJBECT(340, "物料对象"),
MES_ROUTE_PROCESS_WORK_CELL(350, "工序工作单元"),
MES_DATASOURCE(360, "DB地址清单"),
MES_EQU_TASK_NOTIFY_CFG(370, "设备通知配置");
private int value;
private String description;
@ -1834,7 +1871,7 @@ public class MesEnumUtil {
}
/**
* pcn
* MesProdBindRecord
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_ACTION_TYPE {
@ -3126,6 +3163,80 @@ public class MesEnumUtil {
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QUALITY_STANDARD_TYPE {
NG_RATE(10, "不良率"),
INNER_PPM(20, "PPM"),
ONLINE_PPM(30, "线上PPM");
private int value;
private String description;
QUALITY_STANDARD_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 QUALITY_OBJECT_TYPE {
ORGANIZE(10, "工厂"),
WORK_CENTER_CODE(20, "产线"),
PRODUCT(30, "产品");
private int value;
private String description;
QUALITY_OBJECT_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;
}
}
/**
* MesProduceSnqcStatus
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -4429,8 +4429,9 @@ public class WmsEnumUtil {
WAIT_RECEIVING(10, "待收货"),
RECEIVING(20, "收货中"),
COMPLETE_RECEIVING(30, "收货完成"),
UN_RECEIVED(40, "延迟未收货"),
ELSE(50,"其他");
CLOSE(40,"已关闭"),
CANCEL(50,"已取消"),
UN_RECEIVED(60, "延迟未收货");
private int value;
private String description;

@ -16,8 +16,6 @@ public class StringUtil {
return false;
}
/**
*
* @param clazz
@ -47,14 +45,6 @@ public class StringUtil {
for(int i = 0;i < superFields.length; i++){
fieldNames.add(superFields[i].getName());
}
// fieldNames.add("id");
// fieldNames.add("organizeCode");
// fieldNames.add("isValid");
// fieldNames.add("isDeleted");
// fieldNames.add("createUser");
// fieldNames.add("createDatetime");
// fieldNames.add("modifyUser");
// fieldNames.add("modifyDatetime");
return fieldNames;
}
@ -75,18 +65,4 @@ public class StringUtil {
return null;
}
}
/**
*
* @return
*/
public static String getFieldNames(String[] fieldNames) {
StringBuffer stringBuffer = new StringBuffer();
for (String fieldName : fieldNames) {
stringBuffer.append(fieldName).append(",");
}
int stringBufferLength = stringBuffer.length();
stringBuffer.delete(stringBufferLength - 1, stringBufferLength);
return stringBuffer.toString();
}
}

@ -0,0 +1,57 @@
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;
/**
* @Author: Wynne.Lu
* @CreateDate: 2019/12/12 4:00
* @Description:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "IF_WMS_PPM")
@Api("WMS PPM 接口表")
public class IfWmsPpm extends BaseBean {
@Column(name = "YEAR")
@ApiParam("年")
private String year;
@Column(name = "MONTH")
@ApiParam("月")
private String month;
@Column(name = "PPM_VALUE")
@ApiParam("PPM值")
private String ppmValue;
@Column(name = "SYNC_STATUS")
@ApiParam("同步状态")
private Integer syncStatus;
@Column(name = "ERROR_MESSAGE")
@ApiParam("异常消息")
private String errorMessage;
@Column(name = "ACTION_CODE")
@ApiParam("动作代码")
private String actionCode;
@Column(name = "IF_CODE")
@ApiParam("接口代码")
private String ifCode;
}

@ -9,6 +9,7 @@ import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*;
import java.math.BigDecimal;
/**
* @Description:
@ -138,6 +139,31 @@ public class MesProduceSn extends BaseBean {
@ApiParam("下线结束时间")
private String outWorkCenterTimeEnd;
@Transient
@ApiParam("操作类型名称")
private String operateTypeName;
@Transient
@ApiParam("条码状态名称")
private String snStatusName;
@Transient
@ApiParam("质量状态名称")
private String qcStatusName;
@Transient
@ApiParam("条码类型名称")
private String snTypeName;
public MesProduceSn() {
}
public MesProduceSn(String partNo, Integer qcStatus, Double qty) {
this.partNo = partNo;
this.qcStatus = qcStatus;
this.qty = qty;
}
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}

@ -138,6 +138,22 @@ public class MesProduceSnTravel extends BaseBean {
@ApiParam("下线结束时间")
private String outWorkCenterTimeEnd;
@Transient
@ApiParam("操作类型名称")
private String operateTypeName;
@Transient
@ApiParam("条码状态名称")
private String snStatusName;
@Transient
@ApiParam("质量状态名称")
private String qcStatusName;
@Transient
@ApiParam("条码类型名称")
private String snTypeName;
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}

@ -0,0 +1,52 @@
package cn.estsh.i3plus.pojo.mes.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
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.util.List;
/**
* @Description :
* @Reference :
* @Author : jack.jia
* @CreateDate : 2019-04-02
* @Modify:
**/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_QUALITY_STANDARD_CFG")
@Api("质量标准配置")
public class MesQualityStandardCfg extends BaseBean {
@Column(name = "STANDARD_TYPE")
@ApiParam("标准类型")
private Integer standardType;
@Column(name = "OBJECT_TYPE")
@ApiParam("对象类型")
private Integer objectType;
@Column(name = "OBJECT_KEY_VALUE")
@ApiParam("对象键值")
private String objectKeyValue;
@Column(name = "OBJECT_KEY")
@ApiParam("对象键")
private String objectKey;
}

@ -47,7 +47,7 @@ public class MesRawPartSn extends BaseBean {
@Column(name = "RAW_QTY")
@ApiParam("数量")
private Long rawQty;
private Double rawQty;
@Column(name = "LOT_NO")
@ApiParam("生产批次")
@ -65,7 +65,7 @@ public class MesRawPartSn extends BaseBean {
@ApiParam("供应商代码")
private String supplierCode;
public long getRawQtyVal() {
public double getRawQtyVal() {
return this.rawQty == null ? 0l : this.rawQty;
}

@ -39,7 +39,7 @@ public class IfRawPartDataModel extends BaseBean {
private String serialNumber;
@ApiParam("数量")
private BigDecimal qty;
private Double qty;
@ApiParam("单位")
private String unit;

@ -74,6 +74,12 @@ public class ProdBindRecordModel implements Serializable {
@ApiParam(value = "动作类型")
private String actionType;
@ApiParam(value = "是否绑定关键件名称")
private String isBindKeyName;
@ApiParam(value = "动作类型名称")
private String actionTypeName;
public ProdBindRecordModel() {
}

@ -4,6 +4,7 @@ import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
import java.util.Map;
/**
* @Description : 线
@ -39,7 +40,7 @@ public class ProductBiModel {
private double outputQty;
@ApiParam(value = "完成率")
private double CompleteRate;
private double completeRate;
@ApiParam(value = "合格数量")
private double passQty;
@ -53,6 +54,9 @@ public class ProductBiModel {
@ApiParam(value = "不良率")
private double ngRate;
@ApiParam(value = "警戒值")
private double sentinelValue;
@ApiParam("客户代码")
private String customerCode;
@ -62,15 +66,22 @@ public class ProductBiModel {
@ApiParam("x坐标内容")
private List<String> xAxis;
@ApiParam("一些携带值 eg:异常类型,异常次数")
private Map<String, Object> carryMap;
@ApiParam("图表显示的数据")
private List<ProductBiSeriesModel> series;
@ApiParam("列名")
private Map<String, String> colMap;
@Deprecated
public double getCompleteRate() {
if(this.planQty != 0) {
this.CompleteRate = outputQty / planQty;
if (this.planQty != 0) {
this.completeRate = outputQty / planQty;
} else {
this.CompleteRate = 0;
this.completeRate = 0;
}
return this.CompleteRate;
return this.completeRate;
}
}

@ -1,6 +1,5 @@
package cn.estsh.i3plus.pojo.mes.model;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;

@ -82,11 +82,17 @@ public class QcCheckDataModel {
@ApiParam("物料名称")
private String partName;
@ApiParam(value = "修改人")
private String modifyUser;
@ApiParam(value = "修改日期")
private String modifyDatetime;
public QcCheckDataModel() {
}
public QcCheckDataModel(Long id, String organizeCode, String createUser, String createDatetime, String checkId, String partNo, String workCenterCode, String workCellCode, Integer checkType, String checkItem, String checkStandard, String checkGuide, String checkFrequency, String checkValue, String checkResult, String sn, Integer qty, String memo, String orderNo, String custCode, String shiftCode, String shiftGroupName, String squadLeader, String workCellName, String partName) {
public QcCheckDataModel(Long id, String organizeCode, String createUser, String createDatetime, String checkId, String partNo, String workCenterCode, String workCellCode, Integer checkType, String checkItem, String checkStandard, String checkGuide, String checkFrequency, String checkValue, String checkResult, String sn, Integer qty, String memo, String orderNo, String custCode, String shiftCode, String shiftGroupName, String squadLeader, String workCellName, String partName, String modifyUser, String modifyDatetime) {
this.id = id;
this.organizeCode = organizeCode;
this.createUser = createUser;
@ -112,5 +118,7 @@ public class QcCheckDataModel {
this.squadLeader = squadLeader;
this.workCellName = workCellName;
this.partName = partName;
this.modifyUser = modifyUser;
this.modifyDatetime = modifyDatetime;
}
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.IfWmsPpm;
/**
* @Description:
* @Reference:
* @Author: joke.wang
* @CreateDate: 2019\11\18 10:34
* @Modify:
**/
public interface IfWmsPpmRepository extends BaseRepository<IfWmsPpm, Long> {
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.mes.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.mes.bean.MesQualityStandardCfg;
/**
* @Description:
* @Reference:
* @Author: joke.wang
* @CreateDate: 2019\11\13 11:53
* @Modify:
**/
public interface MesQualityStandardCfgRepository extends BaseRepository<MesQualityStandardCfg, Long> {
}

@ -85,6 +85,10 @@ public class BasVendor extends BaseBean{
@ApiParam("小数位符号")
private String decimals;
//20-承运商
@Column(name = "VENDOR_TYPE")
private Integer vendorType;
public BasVendor() {
}

@ -159,7 +159,7 @@ public class WmsPOMaster extends BaseBean {
@Transient
private List<String> orderNoList;
@Column(name = "DOCK")
@Column(name = "DOCK",columnDefinition = "varchar(50) default '1'")
@ApiParam("道口")
public String dock;

@ -2,6 +2,7 @@ package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.wms.dto.WmsTmsShipModel;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
@ -13,6 +14,7 @@ import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;
/**
* @Description :
@ -103,4 +105,11 @@ public class WmsTmsShippingExt extends BaseBean {
@ApiParam("物料编码")
private String partNo;
@Transient
@ApiParam("关联单号")
private String refOrderNo;
@Transient
@ApiParam("打印模板列表")
private List<WmsTmsShipModel> shipModels;
}

@ -19,10 +19,12 @@ public class WmsTmsShipDto extends BaseDto implements Serializable {
@ApiParam("物料号")
private String partNo;
@ApiParam("运输状态")
private String carriageStatus;
private String orderStatus;
@ApiParam("单据号")
private String orderNo;
private String moveNo;
@ApiParam("是否删除,默认否")
protected Integer isDeleted = 2;

@ -0,0 +1,26 @@
package cn.estsh.i3plus.pojo.wms.dto;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : gcj
* @CreateDate : 2019-12-06 15:50
* @Modify:
**/
@Data
public class WmsTmsShipModel {
@ApiParam("物料编码")
private String partNo;
@ApiParam("物料名称")
private String partName;
@ApiParam("需求数量")
private Double qty;
@ApiParam("实际数量")
private Double recQty;
@ApiParam("单位")
private String unit;
}

@ -6,18 +6,14 @@ import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
import cn.estsh.i3plus.pojo.base.tool.HqlPack;
import cn.estsh.i3plus.pojo.base.util.StringUtil;
import cn.estsh.i3plus.pojo.wms.bean.*;
import cn.estsh.i3plus.pojo.wms.dbinterface.WmsInterfaceDataMapper;
import cn.estsh.i3plus.pojo.wms.engine.rule.EngineRulePersistence;
import cn.estsh.i3plus.pojo.wms.engine.script.EngineScriptPersistence;
import com.alibaba.fastjson.JSONObject;
import com.google.common.base.Strings;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.lang3.StringUtils;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.util.*;
import java.util.stream.Collectors;
@ -420,6 +416,7 @@ public class WmsHqlPack {
DdlPreparedPack.getStringLikerPack(basVendor.getVendorAddr(), "vendorAddr", result);
DdlPreparedPack.getStringLikerPack(basVendor.getVendorEmail(), "vendorEmail", result);
DdlPreparedPack.getNumEqualPack(basVendor.getIsAsn(), "isAsn", result);
DdlPreparedPack.getNumEqualPack(basVendor.getVendorType(), "vendorType", result);
getStringBuilderPack(basVendor, result);
@ -1203,6 +1200,8 @@ public class WmsHqlPack {
DdlPreparedPack.getStringEqualPack(wmsQCMaster.getRefType(), "refType", result);
//关联单据号
DdlPreparedPack.getStringLikerPack(wmsQCMaster.getRefSrc(), "refSrc", result);
//单据状态
DdlPreparedPack.getNumEqualPack(wmsQCMaster.getOrderStatus(), "orderStatus", result);
getStringBuilderPack(wmsQCMaster, result);

Loading…
Cancel
Save