diff --git a/op-modules/op-mes/src/main/java/com/op/mes/service/impl/IWCInterfaceServiceImpl.java b/op-modules/op-mes/src/main/java/com/op/mes/service/impl/IWCInterfaceServiceImpl.java index d8813b38..a5ae9502 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/service/impl/IWCInterfaceServiceImpl.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/service/impl/IWCInterfaceServiceImpl.java @@ -398,7 +398,7 @@ public class IWCInterfaceServiceImpl implements IWCSInterfaceService { } }else if(workOrders.size()>=3){ - MesReportWork hzWorks = null; + BigDecimal gamng = null; for(int n=0;n pow.del_flag = '0' - and pow.order_code like concat('%', #{keywords}, '%') or - pow.workorder_code_sap like concat('%', #{keywords}, '%') or - mrw.productCode like concat('%', #{keywords}, '%') + and ( + pow.order_code like concat('%', #{keywords}, '%') or + pow.workorder_code_sap like concat('%', #{keywords}, '%') or + mrw.productCode like concat('%', #{keywords}, '%') + ) and pow.product_date >= #{feedbackTimeStart} and #{feedbackTimeEnd} >= pow.product_date diff --git a/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckTaskIncome.java b/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckTaskIncome.java index e0df6f82..421cf69f 100644 --- a/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckTaskIncome.java +++ b/op-modules/op-quality/src/main/java/com/op/quality/domain/QcCheckTaskIncome.java @@ -193,6 +193,24 @@ public class QcCheckTaskIncome extends BaseEntity { private String noOkQualityNames; private String noOkQualityVals; + private String materialType;//来料类别 + private String materialFrom;//物料来源 + public String getMaterialType() { + return materialType; + } + + public void setMaterialType(String materialType) { + this.materialType = materialType; + } + + public String getMaterialFrom() { + return materialFrom; + } + + public void setMaterialFrom(String materialFrom) { + this.materialFrom = materialFrom; + } + public String getCheckLocName() { return checkLocName; } diff --git a/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java b/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java index c1ccc02b..f08d93e3 100644 --- a/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java +++ b/op-modules/op-sap/src/main/java/com/op/sap/service/impl/SapItemSyncImpl.java @@ -412,7 +412,10 @@ public class SapItemSyncImpl implements SapItemSyncService { qcCheckTaskIncomeDTO.setRecordId(IdUtils.fastSimpleUUID()); qcCheckTaskIncomeDTO.setCheckType("checkTypeLL"); qcCheckTaskIncomeDTO.setTypeCode("material"); - qcCheckTaskIncomeDTO.setOrderType("bc");//包材 + /**8010 榄菊成品;8020 榄菊半成品;8030 榄菊原材料;8040 榄菊包装材料;8050 榄菊塑料五金电子;8060 榄菊辅助用品 + ;8061 榄菊办公用品;8062 榄菊劳保用品;8070 榄菊广宣品;8090 榄菊未估价的物料**/ + qcCheckTaskIncomeDTO.setOrderType(maraTable.getString("MTART"));//物料类型 + qcCheckTaskIncomeDTO.setAttr4(maraTable.getString("MTBEZ"));//物料类型描述 qcCheckTaskIncomeDTO.setOrderNo(maraTable.getString("EBELN"));//采购订单 qcCheckTaskIncomeDTO.setSupplierCode(maraTable.getString("LIFNR")); qcCheckTaskIncomeDTO.setSupplierName(maraTable.getString("LIFNR_NM"));