|
|
@ -228,7 +228,7 @@ public class PhxyyClient {
|
|
|
|
udiwmsOrderRequest.setCorpName(thrCorpEntity.getName()); //往来单位名称,需转换为第三方系统的名称
|
|
|
|
udiwmsOrderRequest.setCorpName(thrCorpEntity.getName()); //往来单位名称,需转换为第三方系统的名称
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
InvWarehouseEntity invWarehouseEntity = invWarehouseDao.selectOneByCode(orderEntity.getFromSubInvCode());
|
|
|
|
InvWarehouseEntity invWarehouseEntity = invWarehouseDao.selectOneByCode(orderEntity.getInvStorageCode());
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
ThrInvWarehouseEntity thrInvWarehouseEntity = thrInvWarehouseDao.selectByCode(invWarehouseEntity.getThirdId(), thirdId);
|
|
|
|
ThrInvWarehouseEntity thrInvWarehouseEntity = thrInvWarehouseDao.selectByCode(invWarehouseEntity.getThirdId(), thirdId);
|
|
|
|
udiwmsOrderRequest.setLocStorageCode(thrInvWarehouseEntity.getCode());
|
|
|
|
udiwmsOrderRequest.setLocStorageCode(thrInvWarehouseEntity.getCode());
|
|
|
@ -236,6 +236,16 @@ public class PhxyyClient {
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|
log.error("查询第三方系统仓库异常", e);
|
|
|
|
log.error("查询第三方系统仓库异常", e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (StrUtil.nullToEmpty(thirdSysBusApiEntity.getUrl()).equals("useOut")) {
|
|
|
|
|
|
|
|
udiwmsOrderRequest.setCorpId(udiwmsOrderRequest.getLocStorageCode());
|
|
|
|
|
|
|
|
udiwmsOrderRequest.setCorpName(udiwmsOrderRequest.getLocStorageName());
|
|
|
|
|
|
|
|
ThrInvWarehouseEntity deviceInv = thrInvWarehouseDao.selectByCode("29", thirdId);
|
|
|
|
|
|
|
|
udiwmsOrderRequest.setLocStorageCode("29");
|
|
|
|
|
|
|
|
udiwmsOrderRequest.setLocStorageName(deviceInv.getName());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
udiwmsOrderRequest.setBillFlag("1");
|
|
|
|
udiwmsOrderRequest.setBillFlag("1");
|
|
|
|
//查询单据出入库类型
|
|
|
|
//查询单据出入库类型
|
|
|
|
String mainAction = bussinessTypeDao.selectInoutTypebByLocalAction(stockOrderEntity.getBillType());
|
|
|
|
String mainAction = bussinessTypeDao.selectInoutTypebByLocalAction(stockOrderEntity.getBillType());
|
|
|
|