opt:反冲物料字段调整
This commit is contained in:
@@ -75,6 +75,7 @@ public class MesApi {
|
||||
try {
|
||||
JSONObject requestParam = new JSONObject();
|
||||
requestParam.put("orderCode",srcBillNo);
|
||||
log.info("请求MES参数:{},接口地址:{}",requestParam,url);
|
||||
String resultMsg = HttpRequest.post(url)
|
||||
.body(requestParam.toJSONString())
|
||||
.execute().body();
|
||||
|
||||
@@ -52,9 +52,9 @@ public class WorkOrderBomItem {
|
||||
private String DeptCode;
|
||||
|
||||
/**
|
||||
* 反冲料如果是就是1
|
||||
* 反冲料如果是就是X
|
||||
*/
|
||||
private String REEKZ;
|
||||
private String Reekz;
|
||||
|
||||
/**
|
||||
* 供货库存组织
|
||||
|
||||
@@ -416,7 +416,7 @@ public class PdaIosOutServiceImpl implements PdaIosOutService {
|
||||
for (WorkOrderBomItem bomItem : workOrderBomItems) {
|
||||
final String materialCode = bomItem.getMaterialCode();
|
||||
final BigDecimal bomQty = bomItem.getBomQty();
|
||||
if (bomQty == null || bomQty.intValue() == 0 || !"1".equals(bomItem.getREEKZ())){
|
||||
if (bomQty == null || bomQty.intValue() == 0 || !"X".equals(bomItem.getReekz())){
|
||||
continue;
|
||||
}
|
||||
boolean hasBom = feedingRecordBoms.stream().anyMatch(i -> Objects.equals(i.getMaterial_code(), bomItem.getMaterialCode()));
|
||||
|
||||
Reference in New Issue
Block a user