|
|
@ -10,6 +10,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.nl.common.exception.BadRequestException; |
|
|
|
import org.nl.wms.ext.service.dto.to.BaseResponse; |
|
|
|
import org.nl.wms.mes.domain.Head; |
|
|
|
import org.nl.wms.mes.domain.QPMES062Request; |
|
|
|
import org.nl.wms.mes.domain.QPMES062RequestBody; |
|
|
|
import org.nl.wms.pdm.service.IPdmBdWorkorderService; |
|
|
@ -207,10 +208,12 @@ public class YCLRKTask extends AbstractTask { |
|
|
|
if(ObjectUtil.isNotEmpty(materialList)) { |
|
|
|
String url = "http://192.168.9.5/sitAppWebApi/PDSToWMS/Api/QPMES062 "; |
|
|
|
QPMES062Request qpmes062Request = new QPMES062Request(); |
|
|
|
qpmes062Request.getHEAD().setDEST_SYSTEM("WMS"); |
|
|
|
qpmes062Request.getHEAD().setINTF_ID("QPMES062"); |
|
|
|
qpmes062Request.getHEAD().setSRC_MSGID(IdUtil.simpleUUID()); |
|
|
|
qpmes062Request.getHEAD().setSRC_SYSTEM("AGV"); |
|
|
|
Head head=new Head(); |
|
|
|
head.setDEST_SYSTEM("WMS"); |
|
|
|
head.setINTF_ID("QPMES062"); |
|
|
|
head.setSRC_MSGID(IdUtil.simpleUUID()); |
|
|
|
head.setSRC_SYSTEM("AGV"); |
|
|
|
qpmes062Request.setHEAD(head); |
|
|
|
List<QPMES062RequestBody> qpmes062RequestBodyList=new ArrayList<>(); |
|
|
|
QPMES062RequestBody qpmes062RequestBody=new QPMES062RequestBody(); |
|
|
|
qpmes062RequestBody.setSimtOrderNo(materialList.get(0).getSimtOrderNo()); |
|
|
|