|
@@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
+import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -28,227 +29,261 @@ public class WMSController extends BaseRESTfulController {
|
|
WMSFeign wmsFeign;
|
|
WMSFeign wmsFeign;
|
|
@Autowired
|
|
@Autowired
|
|
QMSFeign qmsFeign;
|
|
QMSFeign qmsFeign;
|
|
|
|
+
|
|
@PostMapping("getWmsInboundResult")
|
|
@PostMapping("getWmsInboundResult")
|
|
@ApiOperation(value = "展示入库实绩信息")
|
|
@ApiOperation(value = "展示入库实绩信息")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "90", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "90", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public Map<String,Object> getWmsInboundResult( Map<String, Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize){
|
|
|
|
- return wmsFeign.getWmsInboundResult(mapValue,apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public Map<String, Object> getWmsInboundResult(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.getWmsInboundResult(mapValue, apiId, pageNum, pageSize);
|
|
}
|
|
}
|
|
|
|
+
|
|
@PostMapping("getWmspOutboundResult")
|
|
@PostMapping("getWmspOutboundResult")
|
|
@ApiOperation(value = "展示出库实绩信息")
|
|
@ApiOperation(value = "展示出库实绩信息")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "152", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "152", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public Map<String,Object> getWmspOutboundResult(@RequestBody(required = false)
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer apiId){
|
|
|
|
- return wmsFeign.getWmspOutboundResult(apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public Map<String, Object> getWmspOutboundResult(@RequestBody(required = false) Map<String,Object> map,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
|
|
+ return wmsFeign.getWmspOutboundResult(map==null?new HashMap<>():map,apiId, pageNum, pageSize,con);
|
|
}
|
|
}
|
|
|
|
+
|
|
@PostMapping("/insertWmspOutBoundResult")
|
|
@PostMapping("/insertWmspOutBoundResult")
|
|
@ApiOperation(value = "新增出单实绩并返回出库单详情")
|
|
@ApiOperation(value = "新增出单实绩并返回出库单详情")
|
|
- public Map<String,Object> insertWmspOutBoundResult(@RequestBody(required = false)Map<String,Object> mapval){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.insertWmspOutBoundResult(mapval);
|
|
|
|
|
|
+ public Map<String, Object> insertWmspOutBoundResult(@RequestBody(required = false) Map<String, Object> mapval) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.insertWmspOutBoundResult(mapval);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
+
|
|
@PostMapping("/insertWmspOutboundScanResult")
|
|
@PostMapping("/insertWmspOutboundScanResult")
|
|
- public Map<String,Object> insertWmspOutboundScanResult(@RequestBody(required = false) Map<String,Object> mapval){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.insertWmspOutboundScanResult(mapval);
|
|
|
|
|
|
+ public Map<String, Object> insertWmspOutboundScanResult(@RequestBody(required = false) Map<String, Object> mapval) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.insertWmspOutboundScanResult(mapval);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
+
|
|
@PostMapping("/updataResultStatus")
|
|
@PostMapping("/updataResultStatus")
|
|
- public Map<String,Object> updataResultStatus(@RequestParam Integer resultId){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.updataResultStatus(resultId);
|
|
|
|
|
|
+ public Map<String, Object> updataResultStatus(@RequestParam Integer resultId) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.updataResultStatus(resultId);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
+
|
|
@PostMapping("/getRmsMaterial")
|
|
@PostMapping("/getRmsMaterial")
|
|
- public Map<String,Object> getRmsMaterial(@RequestBody(required = false) Map<String,Object> mapval){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.getRmsMaterial(mapval);
|
|
|
|
|
|
+ public Map<String, Object> getRmsMaterial(@RequestBody(required = false) Map<String, Object> mapval) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.getRmsMaterial(mapval);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
- //查询实时库存数据
|
|
|
|
- @PostMapping("/selectGridMaterialList")
|
|
|
|
- @ApiOperation(value = "展示实时库存数据")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "apiId", value = "216", required = false, dataType = "BigDecimal"),
|
|
|
|
- })
|
|
|
|
- public Map<String,Object> selectGridMaterialList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer apiId) {
|
|
|
|
- return wmsFeign.selectGridMaterialList(apiId, pageNum, pageSize);
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- //钢材异地库出库扫描
|
|
|
|
- @PostMapping("/OutScanResultTag")
|
|
|
|
- public Map<String,Object> OutScanResultTag(@RequestBody(required = false) Map<String,Object> mapval){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.OutScanResultTag(mapval);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //钢材异地库出库展示实绩
|
|
|
|
- @PostMapping("/getWmsOffsiteLibaryOutboundList")
|
|
|
|
- @ApiOperation(value = "展示实时库存数据")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "apiId", value = "164", required = false, dataType = "BigDecimal"),
|
|
|
|
- })
|
|
|
|
- public Map<String,Object> getWmsOffsiteLibaryOutboundList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer apiId) {
|
|
|
|
- return wmsFeign.getWmsOffsiteLibaryOutboundList(apiId,pageNum,pageSize);
|
|
|
|
- }
|
|
|
|
- //展示钢材扫描入库实绩列表
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "apiId", value = "165", required = false, dataType = "BigDecimal"),
|
|
|
|
- })
|
|
|
|
- @PostMapping("/getWmsOffsiteLibaryInboundList")
|
|
|
|
- public Map<String,Object> getWmsOffsiteLibaryInboundList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer apiId) {
|
|
|
|
- return wmsFeign.getWmsOffsiteLibaryOutboundList(apiId,pageNum,pageSize);
|
|
|
|
- }
|
|
|
|
-//钢材异地库扫描入库
|
|
|
|
-@PostMapping("/ScanResultTag")
|
|
|
|
-public Map<String,Object> insertOffsiteLibraryInbound(@RequestBody(required = false) Map<String,Object> map){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.insertOffsiteLibraryInbound(map);
|
|
|
|
- return resTfulResult;
|
|
|
|
-}
|
|
|
|
-//展示在途库存数据
|
|
|
|
-@ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "apiId", value = "153", required = false, dataType = "BigDecimal"),
|
|
|
|
-})
|
|
|
|
-@PostMapping("/getWmspIntransitInventory")
|
|
|
|
-public Map<String,Object> getWmspIntransitInventory(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer apiId) {
|
|
|
|
- return wmsFeign.getWmspIntransitInventory(apiId,pageNum,pageSize);
|
|
|
|
- }
|
|
|
|
-//新增倒库出库实绩
|
|
|
|
-@PostMapping("/insertOutBoundResult")
|
|
|
|
-public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Map<String,Object> map){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.insertOutBoundResult(map);
|
|
|
|
|
|
+
|
|
|
|
+ //查询实时库存数据
|
|
|
|
+ @PostMapping("/selectGridMaterialList")
|
|
|
|
+ @ApiOperation(value = "展示实时库存数据")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "216", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ public Map<String, Object> selectGridMaterialList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
|
|
+ return wmsFeign.selectGridMaterialList(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize,con);
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //钢材异地库出库扫描
|
|
|
|
+ @PostMapping("/OutScanResultTag")
|
|
|
|
+ public Map<String, Object> OutScanResultTag(@RequestBody(required = false) Map<String, Object> mapval) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.OutScanResultTag(mapval);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
- //新增倒库出库扫描实绩
|
|
|
|
- @PostMapping("/AddWmspOutboundScanResult")
|
|
|
|
- public Map<String,Object> AddWmspOutboundScanResult(@RequestBody(required = false) Map<String,Object> mapVal){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.AddWmspOutboundScanResult(mapVal);
|
|
|
|
- return resTfulResult;
|
|
|
|
-}
|
|
|
|
- //通过下拉框筛选数据
|
|
|
|
|
|
+
|
|
|
|
+ //钢材异地库出库展示实绩
|
|
|
|
+ @PostMapping("/getWmsOffsiteLibaryOutboundList")
|
|
|
|
+ @ApiOperation(value = "展示实时库存数据")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "164", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ public Map<String, Object> getWmsOffsiteLibaryOutboundList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
|
|
+ return wmsFeign.getWmsOffsiteLibaryOutboundList(mapVal == null ? new HashMap<>() : mapVal, pageNum, pageSize, apiId, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //展示钢材扫描入库实绩列表
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "165", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getWmsOffsiteLibaryInboundList")
|
|
|
|
+ public Map<String, Object> getWmsOffsiteLibaryInboundList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
|
|
+ return wmsFeign.getWmsOffsiteLibaryInboundList(map == null ? new HashMap<>() : map, pageNum, pageSize, apiId, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //钢材异地库扫描入库
|
|
|
|
+ @PostMapping("/ScanResultTag")
|
|
|
|
+ public Map<String, Object> insertOffsiteLibraryInbound(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.insertOffsiteLibraryInbound(map);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //展示在途库存数据
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "153", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getWmspIntransitInventory")
|
|
|
|
+ public Map<String, Object> getWmspIntransitInventory(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId) {
|
|
|
|
+ return wmsFeign.getWmspIntransitInventory(apiId, pageNum, pageSize);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //新增倒库出库实绩
|
|
|
|
+ @PostMapping("/insertOutBoundResult")
|
|
|
|
+ public Map<String, Object> insertOutBoundResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.insertOutBoundResult(map);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //新增倒库出库扫描实绩
|
|
|
|
+ @PostMapping("/AddWmspOutboundScanResult")
|
|
|
|
+ public Map<String, Object> AddWmspOutboundScanResult(@RequestBody(required = false) Map<String, Object> mapVal) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.AddWmspOutboundScanResult(mapVal);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //通过下拉框筛选数据
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "153", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "153", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
@PostMapping("/getWmspRestackMakeResultList")
|
|
@PostMapping("/getWmspRestackMakeResultList")
|
|
- public Map<String,Object> getWmspRestackMakeResultList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer warehouseid,
|
|
|
|
- Integer gradtionNumber,
|
|
|
|
- Integer stackingId) {
|
|
|
|
- return wmsFeign.getWmspRestackMakeResultList(apiId,pageNum,pageSize,warehouseid,stackingId,gradtionNumber);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- //删除倒垛单
|
|
|
|
- @PostMapping("/deleteByResultId/{resultId}")
|
|
|
|
- public Map<String,Object> deleteByResultId(@PathVariable Integer resultId){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.deleteByResultId(resultId);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //下发倒垛单
|
|
|
|
|
|
+ public Map<String, Object> getWmspRestackMakeResultList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer warehouseid,
|
|
|
|
+ Integer gradtionNumber,
|
|
|
|
+ Integer stackingId) {
|
|
|
|
+ return wmsFeign.getWmspRestackMakeResultList(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize, warehouseid, stackingId, gradtionNumber);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //删除倒垛单
|
|
|
|
+ @PostMapping("/deleteByResultId/{resultId}")
|
|
|
|
+ public Map<String, Object> deleteByResultId(@PathVariable Integer resultId) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.deleteByResultId(resultId);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //下发倒垛单
|
|
@PostMapping("/dispatchDistrubtionStatus/{resultId}")
|
|
@PostMapping("/dispatchDistrubtionStatus/{resultId}")
|
|
- public Map<String,Object> dispatchDistrubtionStatus(@PathVariable Integer resultId){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.dispatchDistrubtionStatus(resultId);
|
|
|
|
|
|
+ public Map<String, Object> dispatchDistrubtionStatus(@PathVariable Integer resultId) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.dispatchDistrubtionStatus(resultId);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
- //下拉框获取层次
|
|
|
|
|
|
+
|
|
|
|
+ //下拉框获取层次
|
|
@GetMapping("/selectGardationNumber")
|
|
@GetMapping("/selectGardationNumber")
|
|
- public Map<String,Object> selectGardationNumber(Integer warehouseid, Integer stackingId){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectGardationNumber(warehouseid,stackingId);
|
|
|
|
|
|
+ public Map<String, Object> selectGardationNumber(Integer warehouseid, Integer stackingId) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectGardationNumber(warehouseid, stackingId);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
+
|
|
//下拉框获取仓库名称
|
|
//下拉框获取仓库名称
|
|
@GetMapping("/selectWarehouse")
|
|
@GetMapping("/selectWarehouse")
|
|
- public Map<String,Object> selectWarehouse(){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectWarehouse();
|
|
|
|
|
|
+ public Map<String, Object> selectWarehouse() {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectWarehouse();
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
+
|
|
//下拉框获取仓库名称
|
|
//下拉框获取仓库名称
|
|
@GetMapping("/selectStackingId")
|
|
@GetMapping("/selectStackingId")
|
|
- public Map<String,Object> selectStackingId(Integer warehouseid){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectStackingId(warehouseid);
|
|
|
|
|
|
+ public Map<String, Object> selectStackingId(Integer warehouseid) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectStackingId(warehouseid);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
+
|
|
//展示倒垛单
|
|
//展示倒垛单
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "119", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "119", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
@PostMapping("/selectRestackList")
|
|
@PostMapping("/selectRestackList")
|
|
- public Map<String,Object> selectRestackList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer DistrubtionStatus) {
|
|
|
|
- return wmsFeign.selectRestackList(apiId,pageNum,pageSize,DistrubtionStatus);
|
|
|
|
- }
|
|
|
|
- //修改倒垛单
|
|
|
|
- @PostMapping("/addRestackMakeResult")
|
|
|
|
- public Map<String,Object> editRestackMakeResult(@RequestBody(required = false) Map<String,Object> mapVal){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.editRestackMakeResult(mapVal);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //渲染倒垛后的仓库信息
|
|
|
|
- @PostMapping("/selectAfterWarehouseByResultId/{resultId}")
|
|
|
|
- public Map<String,Object> selectAfterWarehouseByResultId(@PathVariable Integer resultId){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectAfterWarehouseByResultId(resultId);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //渲染倒垛后的垛位信息
|
|
|
|
- @PostMapping("/selectAfterstackingByResultId/{resultId}")
|
|
|
|
- public Map<String,Object> selectAfterstackingByResultId(@PathVariable Integer resultId){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectAfterWarehouseByResultId(resultId);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //PDA展示倒垛单
|
|
|
|
- @PostMapping("/selectRestackForPDA")
|
|
|
|
- public Map<String,Object> selectRestackForPDA(@RequestBody(required = false) Map<String,Object> map){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectRestackForPDA(map);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //PDA根据实绩id查找物资信息
|
|
|
|
- @PostMapping("/selectMaterialInfoByResultId")
|
|
|
|
- public Map<String,Object> selectMaterialInfoByResultId(@RequestBody(required = false) Map<String,Object> map){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectMaterialInfoByResultId(map);
|
|
|
|
|
|
+ public Map<String, Object> selectRestackList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer DistrubtionStatus) {
|
|
|
|
+ return wmsFeign.selectRestackList(apiId, pageNum, pageSize, DistrubtionStatus);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //修改倒垛单
|
|
|
|
+ @PostMapping("/addRestackMakeResult")
|
|
|
|
+ public Map<String, Object> editRestackMakeResult(@RequestBody(required = false) Map<String, Object> mapVal) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.editRestackMakeResult(mapVal);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //渲染倒垛后的仓库信息
|
|
|
|
+ @PostMapping("/selectAfterWarehouseByResultId/{resultId}")
|
|
|
|
+ public Map<String, Object> selectAfterWarehouseByResultId(@PathVariable Integer resultId) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectAfterWarehouseByResultId(resultId);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //渲染倒垛后的垛位信息
|
|
|
|
+ @PostMapping("/selectAfterstackingByResultId/{resultId}")
|
|
|
|
+ public Map<String, Object> selectAfterstackingByResultId(@PathVariable Integer resultId) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectAfterWarehouseByResultId(resultId);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //PDA展示倒垛单
|
|
|
|
+ @PostMapping("/selectRestackForPDA")
|
|
|
|
+ public Map<String, Object> selectRestackForPDA(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectRestackForPDA(map);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //PDA根据实绩id查找物资信息
|
|
|
|
+ @PostMapping("/selectMaterialInfoByResultId")
|
|
|
|
+ public Map<String, Object> selectMaterialInfoByResultId(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectMaterialInfoByResultId(map);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //PDA根据仓库id查找倒垛单
|
|
|
|
+ @PostMapping("/selectRestackByWarehouseId")
|
|
|
|
+ public Map<String, Object> selectRestackByWarehouseId(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.selectRestackByWarehouseId(map);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
- }
|
|
|
|
- //PDA根据仓库id查找倒垛单
|
|
|
|
- @PostMapping("/selectRestackByWarehouseId")
|
|
|
|
- public Map<String,Object> selectRestackByWarehouseId(@RequestBody(required = false) Map<String,Object> map){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.selectRestackByWarehouseId(map);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //扫描吊牌添加扫描实绩
|
|
|
|
- @PostMapping("/ScanTagResult")
|
|
|
|
- public Map<String,Object> ScanTagResult(@RequestBody(required = false) Map<String,Object> mal){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.ScanTagResult(mal);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
- //下发
|
|
|
|
- @PostMapping("/Issue")
|
|
|
|
- public Map<String,Object> Issue(@RequestBody(required = false) List<Map<String, Object>> mapList){
|
|
|
|
- Map<String,Object> resTfulResult = wmsFeign.Issue(mapList);
|
|
|
|
- return resTfulResult;
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //扫描吊牌添加扫描实绩
|
|
|
|
+ @PostMapping("/ScanTagResult")
|
|
|
|
+ public Map<String, Object> ScanTagResult(@RequestBody(required = false) Map<String, Object> mal) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.ScanTagResult(mal);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //下发
|
|
|
|
+ @PostMapping("/Issue")
|
|
|
|
+ public Map<String, Object> Issue(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.Issue(mapList);
|
|
|
|
+ return resTfulResult;
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 2.展示退库实绩信息
|
|
* 2.展示退库实绩信息
|
|
|
|
+ *
|
|
* @param mapValue
|
|
* @param mapValue
|
|
* @param apiId
|
|
* @param apiId
|
|
* @param pageNum
|
|
* @param pageNum
|
|
@@ -260,11 +295,11 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "161", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "161", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public RESTfulResult getWmsReboundResult( Map<String, Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize){
|
|
|
|
- return wmsFeign.getWmsReboundResult(mapValue,apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public RESTfulResult getWmsReboundResult(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.getWmsReboundResult(mapValue, apiId, pageNum, pageSize);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -273,16 +308,17 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "162", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "162", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public RESTfulResult getWmsIvboundResult( Map<String, Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize){
|
|
|
|
- return wmsFeign.getWmsIvboundResult(mapValue,apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public RESTfulResult getWmsIvboundResult(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.getWmsIvboundResult(mapValue, apiId, pageNum, pageSize);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示倒库物资实绩
|
|
* 展示倒库物资实绩
|
|
|
|
+ *
|
|
* @param mapValue
|
|
* @param mapValue
|
|
* @param apiId
|
|
* @param apiId
|
|
* @param pageNum
|
|
* @param pageNum
|
|
@@ -294,11 +330,11 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "163", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "163", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public RESTfulResult getWmsIvboundMaterial( Map<String, Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize){
|
|
|
|
- return wmsFeign.getWmsIvboundMaterial(mapValue,apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public RESTfulResult getWmsIvboundMaterial(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.getWmsIvboundMaterial(mapValue, apiId, pageNum, pageSize);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("/getInventoryCheck")
|
|
@PostMapping("/getInventoryCheck")
|
|
@@ -306,11 +342,11 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "94", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "94", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public RESTfulResult getInventoryCheck( Map<String, Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize){
|
|
|
|
- return wmsFeign.getInventoryCheck(mapValue,apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public RESTfulResult getInventoryCheck(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.getInventoryCheck(mapValue, apiId, pageNum, pageSize);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("/getInventoryClose")
|
|
@PostMapping("/getInventoryClose")
|
|
@@ -318,11 +354,11 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "95", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "95", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public RESTfulResult getInventoryClose( Map<String, Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize){
|
|
|
|
- return wmsFeign.getInventoryClose(mapValue,apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public RESTfulResult getInventoryClose(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.getInventoryClose(mapValue, apiId, pageNum, pageSize);
|
|
}
|
|
}
|
|
|
|
|
|
@PostMapping("/getSendReceive")
|
|
@PostMapping("/getSendReceive")
|
|
@@ -330,85 +366,93 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "97", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "97", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public RESTfulResult getSendReceive( Map<String, Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize){
|
|
|
|
- return wmsFeign.getSendReceive(mapValue,apiId,pageNum,pageSize);
|
|
|
|
|
|
+ public RESTfulResult getSendReceive(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.getSendReceive(mapValue, apiId, pageNum, pageSize);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示未下发吊钢工扫描吊牌实绩
|
|
* 展示未下发吊钢工扫描吊牌实绩
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @ApiOperation(value="展示未下发吊钢工扫描吊牌实绩")
|
|
|
|
|
|
+ @ApiOperation(value = "展示未下发吊钢工扫描吊牌实绩")
|
|
@PostMapping("/getTagResult")
|
|
@PostMapping("/getTagResult")
|
|
- public Map<String,Object> getTagResult(){
|
|
|
|
|
|
+ public Map<String, Object> getTagResult() {
|
|
return wmsFeign.getTagResult();
|
|
return wmsFeign.getTagResult();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 展示正常入库吊钢工扫描吊牌实绩
|
|
|
|
|
|
+ * 展示正常入库吊钢工扫描吊牌实绩
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @ApiOperation(value="展示正常入库吊钢工扫描吊牌实绩")
|
|
|
|
|
|
+ @ApiOperation(value = "展示正常入库吊钢工扫描吊牌实绩")
|
|
@PostMapping("/getIssuedTagResult")
|
|
@PostMapping("/getIssuedTagResult")
|
|
- public Map getIssuedTagResult(){
|
|
|
|
|
|
+ public Map getIssuedTagResult() {
|
|
return wmsFeign.getIssuedTagResult();
|
|
return wmsFeign.getIssuedTagResult();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示异常入库吊钢工扫描吊牌实绩
|
|
* 展示异常入库吊钢工扫描吊牌实绩
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @ApiOperation(value="展示异常入库吊钢工扫描吊牌实绩")
|
|
|
|
|
|
+ @ApiOperation(value = "展示异常入库吊钢工扫描吊牌实绩")
|
|
@PostMapping("/getIssuedTagNoResult")
|
|
@PostMapping("/getIssuedTagNoResult")
|
|
- public Map getIssuedTagNoResult(){
|
|
|
|
|
|
+ public Map getIssuedTagNoResult() {
|
|
return wmsFeign.getIssuedTagNoResult();
|
|
return wmsFeign.getIssuedTagNoResult();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示已退库吊钢工扫描吊牌实绩
|
|
* 展示已退库吊钢工扫描吊牌实绩
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @ApiOperation(value="展示已退库吊钢工扫描吊牌实绩")
|
|
|
|
|
|
+ @ApiOperation(value = "展示已退库吊钢工扫描吊牌实绩")
|
|
@PostMapping("/getReIssuedResult")
|
|
@PostMapping("/getReIssuedResult")
|
|
- public Map getReIssuedResult(){
|
|
|
|
|
|
+ public Map getReIssuedResult() {
|
|
return wmsFeign.getIssuedResult();
|
|
return wmsFeign.getIssuedResult();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示未下发退库吊钢工扫描吊牌实绩
|
|
* 展示未下发退库吊钢工扫描吊牌实绩
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @ApiOperation(value="展示未下发退库吊钢工扫描吊牌实绩")
|
|
|
|
|
|
+ @ApiOperation(value = "展示未下发退库吊钢工扫描吊牌实绩")
|
|
@PostMapping("/getReTagResult")
|
|
@PostMapping("/getReTagResult")
|
|
- public Map getReTagResult(){
|
|
|
|
|
|
+ public Map getReTagResult() {
|
|
return wmsFeign.getReTagResult();
|
|
return wmsFeign.getReTagResult();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示已倒库入库吊钢工扫描吊牌实绩
|
|
* 展示已倒库入库吊钢工扫描吊牌实绩
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @ApiOperation(value="展示已倒库入库吊钢工扫描吊牌实绩")
|
|
|
|
|
|
+ @ApiOperation(value = "展示已倒库入库吊钢工扫描吊牌实绩")
|
|
@PostMapping("/getIvIssuedResult")
|
|
@PostMapping("/getIvIssuedResult")
|
|
- public Map getIvIssuedResult(){
|
|
|
|
|
|
+ public Map getIvIssuedResult() {
|
|
return wmsFeign.getIvIssuedResult();
|
|
return wmsFeign.getIvIssuedResult();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示未下发退库吊钢工扫描吊牌实绩
|
|
* 展示未下发退库吊钢工扫描吊牌实绩
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @ApiOperation(value="展示未下发退库吊钢工扫描吊牌实绩")
|
|
|
|
|
|
+ @ApiOperation(value = "展示未下发退库吊钢工扫描吊牌实绩")
|
|
@PostMapping("/getIvTagResult")
|
|
@PostMapping("/getIvTagResult")
|
|
- public Map getIvTagResult(){
|
|
|
|
|
|
+ public Map getIvTagResult() {
|
|
return wmsFeign.getIvTagResult();
|
|
return wmsFeign.getIvTagResult();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增入库实绩
|
|
* 新增入库实绩
|
|
|
|
+ *
|
|
* @param mapList
|
|
* @param mapList
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@@ -423,12 +467,12 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
/*
|
|
/*
|
|
获取入库垛位
|
|
获取入库垛位
|
|
*/
|
|
*/
|
|
- Map<String,Object> map1=qmsFeign.getStackingId(new BigDecimal(1),size);
|
|
|
|
- String stackNo=(String) map1.get("stackNo");
|
|
|
|
- BigDecimal stackId=new BigDecimal(map1.get("stackId").toString());
|
|
|
|
- for (Map<String,Object> map:mapList
|
|
|
|
- ){
|
|
|
|
- map.put("stackingId",stackId);
|
|
|
|
|
|
+ Map<String, Object> map1 = qmsFeign.getStackingId(new BigDecimal(1), size);
|
|
|
|
+ String stackNo = (String) map1.get("stackNo");
|
|
|
|
+ BigDecimal stackId = new BigDecimal(map1.get("stackId").toString());
|
|
|
|
+ for (Map<String, Object> map : mapList
|
|
|
|
+ ) {
|
|
|
|
+ map.put("stackingId", stackId);
|
|
}
|
|
}
|
|
wmsFeign.insertInboundResult(mapList);
|
|
wmsFeign.insertInboundResult(mapList);
|
|
return stackNo;
|
|
return stackNo;
|
|
@@ -436,6 +480,7 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增退库实绩
|
|
* 新增退库实绩
|
|
|
|
+ *
|
|
* @param mapList
|
|
* @param mapList
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@@ -450,12 +495,12 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
/*
|
|
/*
|
|
获取入库垛位
|
|
获取入库垛位
|
|
*/
|
|
*/
|
|
- Map<String,Object> map1=qmsFeign.getStackingId(new BigDecimal(1),size);
|
|
|
|
- String stackNo=(String) map1.get("stackNo");
|
|
|
|
- BigDecimal stackId=new BigDecimal(map1.get("stackId").toString());
|
|
|
|
- for (Map<String,Object> map:mapList
|
|
|
|
- ){
|
|
|
|
- map.put("stackingId",stackId);
|
|
|
|
|
|
+ Map<String, Object> map1 = qmsFeign.getStackingId(new BigDecimal(1), size);
|
|
|
|
+ String stackNo = (String) map1.get("stackNo");
|
|
|
|
+ BigDecimal stackId = new BigDecimal(map1.get("stackId").toString());
|
|
|
|
+ for (Map<String, Object> map : mapList
|
|
|
|
+ ) {
|
|
|
|
+ map.put("stackingId", stackId);
|
|
}
|
|
}
|
|
wmsFeign.insertReboundResult(mapList);
|
|
wmsFeign.insertReboundResult(mapList);
|
|
return stackNo;
|
|
return stackNo;
|
|
@@ -463,6 +508,7 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增倒库入库实绩
|
|
* 新增倒库入库实绩
|
|
|
|
+ *
|
|
* @param mapList
|
|
* @param mapList
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@@ -477,80 +523,88 @@ public Map<String,Object> insertOutBoundResult(@RequestBody(required = false) Ma
|
|
/*
|
|
/*
|
|
获取入库垛位
|
|
获取入库垛位
|
|
*/
|
|
*/
|
|
- Map<String,Object> map1=qmsFeign.getStackingId(new BigDecimal(1),size);
|
|
|
|
- String stackNo=(String) map1.get("stackNo");
|
|
|
|
- BigDecimal stackId=new BigDecimal(map1.get("stackId").toString());
|
|
|
|
- for (Map<String,Object> map:mapList
|
|
|
|
- ){
|
|
|
|
- map.put("stackingId",stackId);
|
|
|
|
|
|
+ Map<String, Object> map1 = qmsFeign.getStackingId(new BigDecimal(1), size);
|
|
|
|
+ String stackNo = (String) map1.get("stackNo");
|
|
|
|
+ BigDecimal stackId = new BigDecimal(map1.get("stackId").toString());
|
|
|
|
+ for (Map<String, Object> map : mapList
|
|
|
|
+ ) {
|
|
|
|
+ map.put("stackingId", stackId);
|
|
}
|
|
}
|
|
wmsFeign.insertIvboundResult(mapList);
|
|
wmsFeign.insertIvboundResult(mapList);
|
|
return stackNo;
|
|
return stackNo;
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
- *展示入库垛位
|
|
|
|
|
|
+ * 展示入库垛位
|
|
|
|
+ *
|
|
* @param DriverId
|
|
* @param DriverId
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@PostMapping("/getInboundStack")
|
|
@PostMapping("/getInboundStack")
|
|
@ApiOperation(value = "展示入库垛位")
|
|
@ApiOperation(value = "展示入库垛位")
|
|
- public Integer getInboundStack(Integer DriverId){
|
|
|
|
|
|
+ public Integer getInboundStack(Integer DriverId) {
|
|
return wmsFeign.getInboundStack(DriverId);
|
|
return wmsFeign.getInboundStack(DriverId);
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 新增库存盘点
|
|
* 新增库存盘点
|
|
|
|
+ *
|
|
* @param map
|
|
* @param map
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@PostMapping("/inventoryCheck")
|
|
@PostMapping("/inventoryCheck")
|
|
@ApiOperation(value = "新增库存盘点")
|
|
@ApiOperation(value = "新增库存盘点")
|
|
- public Map<String, Object> inventoryCheck(@RequestBody(required = false) Map<String,Object> map) {
|
|
|
|
|
|
+ public Map<String, Object> inventoryCheck(@RequestBody(required = false) Map<String, Object> map) {
|
|
return wmsFeign.inventoryCheck(map);
|
|
return wmsFeign.inventoryCheck(map);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增入库扫描吊牌实绩
|
|
* 新增入库扫描吊牌实绩
|
|
|
|
+ *
|
|
* @param map
|
|
* @param map
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "新增入库扫描吊牌实绩")
|
|
@ApiOperation(value = "新增入库扫描吊牌实绩")
|
|
@PostMapping("/insertResult")
|
|
@PostMapping("/insertResult")
|
|
@Transactional
|
|
@Transactional
|
|
- public Map<String,Object> insertResult(@RequestBody(required = false)Map<String,Object>map){
|
|
|
|
|
|
+ public Map<String, Object> insertResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
return wmsFeign.insertResult(map);
|
|
return wmsFeign.insertResult(map);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增退库扫描吊牌实绩
|
|
* 新增退库扫描吊牌实绩
|
|
|
|
+ *
|
|
* @param map
|
|
* @param map
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "新增退库扫描吊牌实绩")
|
|
@ApiOperation(value = "新增退库扫描吊牌实绩")
|
|
@PostMapping("/insertReboundScanResult")
|
|
@PostMapping("/insertReboundScanResult")
|
|
@Transactional
|
|
@Transactional
|
|
- public Map<String,Object> insertReboundScanResult(@RequestBody(required = false)Map<String,Object>map){
|
|
|
|
|
|
+ public Map<String, Object> insertReboundScanResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
return wmsFeign.insertReboundScanResult(map);
|
|
return wmsFeign.insertReboundScanResult(map);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增倒库入库扫描吊牌实绩
|
|
* 新增倒库入库扫描吊牌实绩
|
|
|
|
+ *
|
|
* @param map
|
|
* @param map
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "新增倒库入库扫描吊牌实绩")
|
|
@ApiOperation(value = "新增倒库入库扫描吊牌实绩")
|
|
@PostMapping("/insertIvboundScanResult")
|
|
@PostMapping("/insertIvboundScanResult")
|
|
@Transactional
|
|
@Transactional
|
|
- public Map<String,Object> insertIvboundScanResult(@RequestBody(required = false)Map<String,Object>map){
|
|
|
|
|
|
+ public Map<String, Object> insertIvboundScanResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
return wmsFeign.insertIvboundScanResult(map);
|
|
return wmsFeign.insertIvboundScanResult(map);
|
|
}
|
|
}
|
|
-/**
|
|
|
|
- * 根据实绩id查找物资唯一编码是否已经稽核完成
|
|
|
|
- */
|
|
|
|
-@PostMapping("/selectMaterialSteelIdByReusltId")
|
|
|
|
-@Transactional
|
|
|
|
-public Map<String,Object> selectMaterialSteelIdByReusltId(@RequestBody(required = false)Map<String,Object>map){
|
|
|
|
- return wmsFeign.selectMaterialSteelIdByReusltId(map);
|
|
|
|
-}
|
|
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据实绩id查找物资唯一编码是否已经稽核完成
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/selectMaterialSteelIdByReusltId")
|
|
|
|
+ @Transactional
|
|
|
|
+ public Map<String, Object> selectMaterialSteelIdByReusltId(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ return wmsFeign.selectMaterialSteelIdByReusltId(map);
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|