联调fix
This commit is contained in:
@@ -1,20 +1,27 @@
|
||||
package org.nl.wms.mes.domain;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class Head {
|
||||
// 接口名称
|
||||
@JSONField(name = "INTF_ID")
|
||||
private String INTF_ID;
|
||||
// 源系统
|
||||
@JSONField(name = "SRC_SYSTEM")
|
||||
private String SRC_SYSTEM;
|
||||
// 目标系统
|
||||
@JSONField(name = "DEST_SYSTEM")
|
||||
private String DEST_SYSTEM;
|
||||
// 消息ID
|
||||
@JSONField(name = "SRC_MSGID")
|
||||
private String SRC_MSGID;
|
||||
// 控制预留1
|
||||
@JSONField(name = "BACKUP1")
|
||||
private String BACKUP1;
|
||||
// 控制预留2
|
||||
@JSONField(name = "BACKUP2")
|
||||
private String BACKUP2;
|
||||
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ public class YCLCKTask extends AbstractTask {
|
||||
return schBasePoint;
|
||||
}
|
||||
if (schBasePoint.getIs_used()
|
||||
&& schBasePoint.getVehicle_qty() == 0) {
|
||||
&& schBasePoint.getVehicle_qty() == 0 &&ObjectUtil.isEmpty(schBasePoint.getIng_task_code())) {
|
||||
log.info("原材料出库任务找到当前符合条件的缓存区位置{}", schBasePoint.getPoint_code());
|
||||
return schBasePoint;
|
||||
}
|
||||
@@ -248,6 +248,7 @@ public class YCLCKTask extends AbstractTask {
|
||||
qpmes065RequestBody.setQty(String.valueOf(one.getMaterial_qty()));
|
||||
qpmes065RequestBody.setSiteName(material.getLocationCode());
|
||||
qpmes065RequestBody.setZXXV01(extGroupData.getString("workorder_code")!=null?"1":"0");
|
||||
qpmes065RequestBody.setZXXV02(taskObj.getVehicle_code());
|
||||
qpmes065RequestBodyList.add(qpmes065RequestBody);
|
||||
}
|
||||
qpmes065Request.setBODY(qpmes065RequestBodyList);
|
||||
|
||||
@@ -125,7 +125,7 @@ public class YCLRKTask extends AbstractTask {
|
||||
List<SchBasePoint> schBasePointList = pointMapper.findPointByRegion(regionCode, "0");
|
||||
for (SchBasePoint schBasePoint : schBasePointList) {
|
||||
if (schBasePoint.getIs_used()
|
||||
&& schBasePoint.getVehicle_qty() ==0) {
|
||||
&& schBasePoint.getVehicle_qty() ==0 &&ObjectUtil.isEmpty(schBasePoint.getIng_task_code())) {
|
||||
log.info("原材料入库找到当前符合条件的点位{}", schBasePoint.getPoint_code());
|
||||
return schBasePoint;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user