|
|
@ -3,6 +3,7 @@ package com.gaotao.modules.automatedWarehouse.controller; |
|
|
import com.gaotao.common.utils.R; |
|
|
import com.gaotao.common.utils.R; |
|
|
import com.gaotao.modules.api.entity.IfsInventoryPart; |
|
|
import com.gaotao.modules.api.entity.IfsInventoryPart; |
|
|
import com.gaotao.modules.api.service.IfsApiService; |
|
|
import com.gaotao.modules.api.service.IfsApiService; |
|
|
|
|
|
import com.gaotao.modules.automatedWarehouse.entity.AgvStation; |
|
|
import com.gaotao.modules.automatedWarehouse.entity.WmsLabelAndPalletData; |
|
|
import com.gaotao.modules.automatedWarehouse.entity.WmsLabelAndPalletData; |
|
|
import com.gaotao.modules.automatedWarehouse.entity.PartPalletData; |
|
|
import com.gaotao.modules.automatedWarehouse.entity.PartPalletData; |
|
|
import com.gaotao.modules.automatedWarehouse.entity.CallPalletRequestDto; |
|
|
import com.gaotao.modules.automatedWarehouse.entity.CallPalletRequestDto; |
|
|
@ -172,6 +173,21 @@ public class WcsIntegrationController { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 获取可用的AGV站点列表(已在后台过滤状态和类型)- AI制作 |
|
|
|
|
|
* 参数:statusDb - 站点状态(0-空闲,1-有货),不传则返回所有正式站点 |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping(value="/getAvailableAgvStations") |
|
|
|
|
|
@ResponseBody |
|
|
|
|
|
public R getAvailableAgvStations(@RequestBody Map<String, Object> params) { |
|
|
|
|
|
try { |
|
|
|
|
|
List<AgvStation> stations = wcsIntegrationService.getAvailableAgvStations(params); |
|
|
|
|
|
return R.ok().put("stations", stations); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
return R.error(e.getMessage()); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 根据起点站点获取可达目标站点 - AI制作 |
|
|
* 根据起点站点获取可达目标站点 - AI制作 |
|
|
*/ |
|
|
*/ |
|
|
|