|
@@ -94,7 +94,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@PostMapping("/selectGridMaterialList")
|
|
|
@ApiOperation(value = "展示实时库存数据")
|
|
|
@ApiImplicitParams({
|
|
|
- @ApiImplicitParam(name = "apiId", value = "216", required = false, dataType = "BigDecimal"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "167", required = false, dataType = "BigDecimal"),
|
|
|
})
|
|
|
public Map<String, Object> selectGridMaterialList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
Integer pageNum,
|
|
@@ -163,6 +163,20 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Map<String, Object> resTfulResult = wmsFeign.insertOffsiteLibraryInbound(map);
|
|
|
return resTfulResult;
|
|
|
}
|
|
|
+ //获取扫描实绩
|
|
|
+ //钢材异地库扫描入库
|
|
|
+ @PostMapping("/getScanResult")
|
|
|
+ public Map<String, Object> getScanResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.getScanResult(map);
|
|
|
+ return resTfulResult;
|
|
|
+ }
|
|
|
+
|
|
|
+ //更新状态
|
|
|
+ @PostMapping("/updateStatus")
|
|
|
+ public Map<String, Object> updateStatus(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.updateStatus(map);
|
|
|
+ return resTfulResult;
|
|
|
+ }
|
|
|
|
|
|
//展示在途库存数据
|
|
|
@ApiImplicitParams({
|
|
@@ -200,14 +214,14 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
Integer warehouseid,
|
|
|
- Integer gradtionNumber,
|
|
|
- Integer stackingId) {
|
|
|
+ Integer stackingId,
|
|
|
+ Integer gradtionNumber) {
|
|
|
return wmsFeign.getWmspRestackMakeResultList(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize, warehouseid, stackingId, gradtionNumber);
|
|
|
}
|
|
|
|
|
|
- //添加倒垛单实绩
|
|
|
+
|
|
|
@PostMapping(value = "/addRestackMakeResult")
|
|
|
- public Map<String,Object> addRestackMakeResult(@RequestBody(required = false) Map<String,Object> mapval){
|
|
|
+ public Map<String,Object> addRestackMakeResult(@RequestBody Map<String,Object> mapval){
|
|
|
return wmsFeign.addRestackMakeResult(mapval);
|
|
|
}
|
|
|
|
|
@@ -256,7 +270,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
Integer DistrubtionStatus) {
|
|
|
- return wmsFeign.selectRestackList(apiId, pageNum, pageSize, DistrubtionStatus);
|
|
|
+ return wmsFeign.selectRestackList(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize, DistrubtionStatus);
|
|
|
}
|
|
|
|
|
|
// //修改倒垛单
|
|
@@ -300,6 +314,18 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Map<String, Object> resTfulResult = wmsFeign.selectMaterialInfoByResultId(map);
|
|
|
return resTfulResult;
|
|
|
}
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(value = "395",name = "apiId")
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/getRestackInfoByResultId")
|
|
|
+ public RESTfulResult getRestackInfoByResultId(@RequestBody(required = false) Map<String,Object> mapVal,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId
|
|
|
+
|
|
|
+ ){
|
|
|
+ return wmsFeign.getRestackInfoByResultId(mapVal==null?new HashMap<>():mapVal, pageNum, pageSize, apiId);
|
|
|
+ }
|
|
|
|
|
|
//PDA根据仓库id查找倒垛单
|
|
|
@PostMapping("/selectRestackByWarehouseId")
|
|
@@ -343,6 +369,35 @@ public class WMSController extends BaseRESTfulController {
|
|
|
return wmsFeign.getWmsReboundResult(mapValue, apiId, pageNum, pageSize);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/selectScanResultByIboundResultId")
|
|
|
+ @ApiOperation(value = "根据入库实绩id获得扫描实绩数据")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "", required = false, dataType = "BigDecimal"),
|
|
|
+ })
|
|
|
+ public RESTfulResult selectScanResultByIboundResultId( Map<String, Object> mapValue,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer inboundId) {
|
|
|
+
|
|
|
+ return wmsFeign.selectScanResultByIboundResultId(mapValue==null?new HashMap<>():mapValue, apiId,pageNum, pageSize,inboundId);
|
|
|
+ }
|
|
|
+ //根据物资信息获取原来垛位信息
|
|
|
+ @PostMapping("/selectInfoByMaterialCode")
|
|
|
+ public Map<String, Object> selectInfoByMaterialCode(@RequestBody(required = false) Map<String, Object> mal) {
|
|
|
+ if (mal == null) {
|
|
|
+ mal = new HashMap<>();
|
|
|
+ }
|
|
|
+ return wmsFeign.selectInfoByMaterialCode(mal);
|
|
|
+ }
|
|
|
+ //根据仓库查询未接收的垛位
|
|
|
+ @PostMapping("/selectStackingInfoByWarehouseId")
|
|
|
+ public Map<String, Object> selectStackingInfoByWarehouseId(@RequestBody(required = false) Map<String, Object> mal) {
|
|
|
+ if (mal == null) {
|
|
|
+ mal = new HashMap<>();
|
|
|
+ }
|
|
|
+ return wmsFeign.selectStackingInfoByWarehouseId(mal);
|
|
|
+ }
|
|
|
|
|
|
@PostMapping("/getWmsIvboundResult")
|
|
|
@ApiOperation(value = "展示倒库实绩信息")
|
|
@@ -647,19 +702,24 @@ public class WMSController extends BaseRESTfulController {
|
|
|
return wmsFeign.selectMaterialSteelIdByReusltId(map);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- @PostMapping("/selectScanResultByIboundResultId")
|
|
|
- @ApiOperation(value = "根据入库实绩id获得扫描实绩数据")
|
|
|
- @ApiImplicitParams({
|
|
|
- @ApiImplicitParam(name = "apiId", value = "", required = false, dataType = "BigDecimal"),
|
|
|
- })
|
|
|
- public RESTfulResult selectScanResultByIboundResultId(Map<String, Object> mapValue,
|
|
|
- Integer apiId,
|
|
|
- Integer pageNum,
|
|
|
- Integer pageSize) {
|
|
|
- return wmsFeign.selectScanResultByIboundResultId(mapValue, apiId, pageNum, pageSize);
|
|
|
+ //下发指令给行车工
|
|
|
+ @PostMapping("/updateInstruction")
|
|
|
+ public Map<String, Object> updateInstruction(@RequestBody Map<String, Object> map) {
|
|
|
+ return wmsFeign.updateInstruction(map);
|
|
|
}
|
|
|
|
|
|
+// @PostMapping("/selectScanResultByIboundResultId")
|
|
|
+// @ApiOperation(value = "根据入库实绩id获得扫描实绩数据")
|
|
|
+// @ApiImplicitParams({
|
|
|
+// @ApiImplicitParam(name = "apiId", value = "", required = false, dataType = "BigDecimal"),
|
|
|
+// })
|
|
|
+// public RESTfulResult selectScanResultByIboundResultId(Map<String, Object> mapValue,
|
|
|
+// Integer apiId,
|
|
|
+// Integer pageNum,
|
|
|
+// Integer pageSize) {
|
|
|
+// return wmsFeign.selectScanResultByIboundResultId(mapValue, apiId, pageNum, pageSize);
|
|
|
+// }
|
|
|
+
|
|
|
@PostMapping("/getIvboundMakeResultList")
|
|
|
@ApiOperation(value = "展示倒库列表")
|
|
|
@ApiImplicitParams({
|
|
@@ -715,5 +775,9 @@ public class WMSController extends BaseRESTfulController {
|
|
|
public Map<String,Object> updateIvboundMakeResult(@RequestBody Map<String,Object> mapValue) {
|
|
|
return wmsFeign.updateIvboundMakeResult(mapValue);
|
|
|
}
|
|
|
-
|
|
|
+ //下发给行车工
|
|
|
+ @PostMapping("/IssueToCrane")
|
|
|
+ Map<String,Object> IssueToCrane(@RequestBody Map<String, Object> map){
|
|
|
+ return wmsFeign.IssueToCrane(map);
|
|
|
+ }
|
|
|
}
|