|
@@ -40,10 +40,39 @@ public class WMSController extends BaseRESTfulController {
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- String con) {
|
|
|
|
- return wmsFeign.getWmsInboundResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con);
|
|
|
|
|
|
+ Integer warehouseId,
|
|
|
|
+ String startTime,
|
|
|
|
+ String endTime) {
|
|
|
|
+ return wmsFeign.getWmsInboundResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,warehouseId,startTime,endTime);
|
|
|
|
+ }
|
|
|
|
+ @PostMapping("getWmsInboundResultStatistics")
|
|
|
|
+ @ApiOperation(value = "展示入库实绩信息")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "445", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ public Map<String, Object> getWmsInboundResultStatistics(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer warehouseId,
|
|
|
|
+ String startTime,
|
|
|
|
+ String endTime) {
|
|
|
|
+ return wmsFeign.getWmsInboundResultStatistics(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,warehouseId,startTime,endTime);
|
|
|
|
+ }
|
|
|
|
+ @PostMapping("getWmsInboundResults")
|
|
|
|
+ @ApiOperation(value = "展示入库实绩信息")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "371", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ public Map<String, Object> getWmsInboundResults(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer warehouseId,
|
|
|
|
+ String startTime,
|
|
|
|
+ String endTime) {
|
|
|
|
+ return wmsFeign.getWmsInboundResults(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,warehouseId,startTime,endTime);
|
|
}
|
|
}
|
|
-
|
|
|
|
@PostMapping("getWmsReservedResult")
|
|
@PostMapping("getWmsReservedResult")
|
|
@ApiOperation(value = "展示预留入库实绩信息")
|
|
@ApiOperation(value = "展示预留入库实绩信息")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@@ -53,7 +82,7 @@ public class WMSController extends BaseRESTfulController {
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
- String con) {
|
|
|
|
|
|
+ String con) {
|
|
return wmsFeign.getWmsReservedResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con);
|
|
return wmsFeign.getWmsReservedResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con);
|
|
}
|
|
}
|
|
@PostMapping("getWmspOutboundResult")
|
|
@PostMapping("getWmspOutboundResult")
|
|
@@ -382,7 +411,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@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,
|
|
|
|
|
|
+ public RESTfulResult getWmsReboundResult(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
@@ -425,7 +454,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@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,
|
|
|
|
|
|
+ public RESTfulResult getWmsIvboundResult(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize) {
|
|
Integer pageSize) {
|
|
@@ -447,7 +476,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@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,
|
|
|
|
|
|
+ public RESTfulResult getWmsIvboundMaterial(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize) {
|
|
Integer pageSize) {
|
|
@@ -459,7 +488,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@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,
|
|
|
|
|
|
+ public RESTfulResult getInventoryCheck(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
@@ -472,7 +501,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@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,
|
|
|
|
|
|
+ public RESTfulResult getInventoryClose(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
@@ -485,7 +514,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@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,
|
|
|
|
|
|
+ public RESTfulResult getSendReceive(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
@@ -581,7 +610,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@ApiOperation("新增入库实绩")
|
|
@ApiOperation("新增入库实绩")
|
|
@PostMapping("/insertInboundResult")
|
|
@PostMapping("/insertInboundResult")
|
|
@Transactional
|
|
@Transactional
|
|
- public Map<String,Object> addInvoice(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
|
|
|
+ public Map<String,Object> addInvoice(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
return wmsFeign.insertInboundResult(mapList);
|
|
return wmsFeign.insertInboundResult(mapList);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -594,7 +623,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@ApiOperation("新增退库实绩")
|
|
@ApiOperation("新增退库实绩")
|
|
@PostMapping("/insertReboundResult")
|
|
@PostMapping("/insertReboundResult")
|
|
@Transactional
|
|
@Transactional
|
|
- public String addReboundResult(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
|
|
|
+ public String addReboundResult(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
/*
|
|
/*
|
|
获取入库物资件数
|
|
获取入库物资件数
|
|
*/
|
|
*/
|
|
@@ -622,7 +651,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@ApiOperation("新增倒库入库实绩")
|
|
@ApiOperation("新增倒库入库实绩")
|
|
@PostMapping("/insertIvboundResult")
|
|
@PostMapping("/insertIvboundResult")
|
|
@Transactional
|
|
@Transactional
|
|
- public String addIvboundResult(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
|
|
|
+ public String addIvboundResult(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
/*
|
|
/*
|
|
获取入库物资件数
|
|
获取入库物资件数
|
|
*/
|
|
*/
|
|
@@ -726,7 +755,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "apiId", value = "372", required = false, dataType = "BigDecimal"),
|
|
@ApiImplicitParam(name = "apiId", value = "372", required = false, dataType = "BigDecimal"),
|
|
})
|
|
})
|
|
- public RESTfulResult getIvboundMakeResultList(Map<String, Object> mapValue,
|
|
|
|
|
|
+ public RESTfulResult getIvboundMakeResultList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
Integer pageSize,
|
|
Integer pageSize,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
@@ -895,6 +924,24 @@ public class WMSController extends BaseRESTfulController {
|
|
@RequestParam(value = "quantity") Integer quantity) {
|
|
@RequestParam(value = "quantity") Integer quantity) {
|
|
return wmsFeign.insertStockTaking(warehouseId,materialCode,quantity);
|
|
return wmsFeign.insertStockTaking(warehouseId,materialCode,quantity);
|
|
}
|
|
}
|
|
|
|
+ //修改入库转预留作业,针对预留
|
|
|
|
+ @PostMapping(value = "/insertReserved")
|
|
|
|
+ public Map<String,Object> insertReserved(@RequestParam(value = "warehouseId") String warehouseId,
|
|
|
|
+ @RequestParam(value = "materialCode") String materialCode,
|
|
|
|
+ @RequestParam(value = "materialSpecification") String materialSpecification,
|
|
|
|
+ @RequestParam(value = "materialModel") String materialModel,
|
|
|
|
+ @RequestParam(value = "quantity") Integer quantity) {
|
|
|
|
+ return wmsFeign.insertReserved(warehouseId,materialCode,materialSpecification,materialModel,quantity);
|
|
|
|
+ }
|
|
|
|
+ //修改预留转入库作业,针对预留
|
|
|
|
+ @PostMapping(value = "/insertInbounds")
|
|
|
|
+ public Map<String,Object> insertInbounds(@RequestParam(value = "warehouseId") String warehouseId,
|
|
|
|
+ @RequestParam(value = "materialCode") String materialCode,
|
|
|
|
+ @RequestParam(value = "materialSpecification") String materialSpecification,
|
|
|
|
+ @RequestParam(value = "materialModel") String materialModel,
|
|
|
|
+ @RequestParam(value = "quantity") Integer quantity) {
|
|
|
|
+ return wmsFeign.insertInbounds(warehouseId,materialCode,materialSpecification,materialModel,quantity);
|
|
|
|
+ }
|
|
// 查询所有的钢材物资信息
|
|
// 查询所有的钢材物资信息
|
|
@PostMapping(value = "/getSteelMaterialList")
|
|
@PostMapping(value = "/getSteelMaterialList")
|
|
public Map<String,Object> getSteelMaterialList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
public Map<String,Object> getSteelMaterialList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
@@ -902,11 +949,36 @@ public class WMSController extends BaseRESTfulController {
|
|
@RequestParam(value = "apiId") Integer apiId) {
|
|
@RequestParam(value = "apiId") Integer apiId) {
|
|
return wmsFeign.getSteelMaterialList(pageNum,pageSize,apiId);
|
|
return wmsFeign.getSteelMaterialList(pageNum,pageSize,apiId);
|
|
}
|
|
}
|
|
|
|
+ // 查询所有的钢材物资规格型号信息
|
|
|
|
+ @PostMapping(value = "/getSteelMaterialModelList")
|
|
|
|
+ public Map<String,Object> getSteelMaterialModelList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
|
|
+ @RequestParam(value = "pageSize") Integer pageSize,
|
|
|
|
+ @RequestParam(value = "apiId") Integer apiId,
|
|
|
|
+ @RequestParam(value = "warehouseId") Integer warehouseId,
|
|
|
|
+ @RequestParam(value = "status") Integer status) {
|
|
|
|
+ return wmsFeign.getSteelMaterialModelList(pageNum,pageSize,apiId,warehouseId,status);
|
|
|
|
+ }
|
|
// 根据对应的入库实绩id修改入库状态为预留
|
|
// 根据对应的入库实绩id修改入库状态为预留
|
|
@PostMapping("/changeReserved")
|
|
@PostMapping("/changeReserved")
|
|
@ApiOperation(value = "根据对应的入库实绩id修改入库状态为预留")
|
|
@ApiOperation(value = "根据对应的入库实绩id修改入库状态为预留")
|
|
public int changeReserved(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
public int changeReserved(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
return wmsFeign.changeReserved(mapList);
|
|
return wmsFeign.changeReserved(mapList);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @PostMapping("/getWmsOutboundResultStatistics")
|
|
|
|
+ @ApiOperation(value = "展示炉号对应的出厂数量")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "446", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ public RESTfulResult getWmsOutboundResultStatistics(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer warehouseId,
|
|
|
|
+ String con,
|
|
|
|
+ String startTime,
|
|
|
|
+ String endTime) {
|
|
|
|
+ return wmsFeign.getWmsOutboundResultStatistics(mapValue ==null? new HashMap<>():mapValue, apiId, pageNum, pageSize,warehouseId,con,startTime,endTime);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|