|
@@ -40,10 +40,37 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
- String con) {
|
|
|
- return wmsFeign.getWmsInboundResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con);
|
|
|
+ String startTime,
|
|
|
+ String endTime) {
|
|
|
+ return wmsFeign.getWmsInboundResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,startTime,endTime);
|
|
|
+ }
|
|
|
+ @PostMapping("getWmsInboundResultStatistics")
|
|
|
+ @ApiOperation(value = "展示入库实绩信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "371", 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,
|
|
|
+ String startTime,
|
|
|
+ String endTime) {
|
|
|
+ return wmsFeign.getWmsInboundResults(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,startTime,endTime);
|
|
|
}
|
|
|
-
|
|
|
@PostMapping("getWmsReservedResult")
|
|
|
@ApiOperation(value = "展示预留入库实绩信息")
|
|
|
@ApiImplicitParams({
|
|
@@ -53,7 +80,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
- String con) {
|
|
|
+ String con) {
|
|
|
return wmsFeign.getWmsReservedResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con);
|
|
|
}
|
|
|
@PostMapping("getWmspOutboundResult")
|
|
@@ -890,6 +917,24 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@RequestParam(value = "quantity") Integer 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")
|
|
|
public Map<String,Object> getSteelMaterialList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
@@ -897,11 +942,36 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@RequestParam(value = "apiId") Integer 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修改入库状态为预留
|
|
|
@PostMapping("/changeReserved")
|
|
|
@ApiOperation(value = "根据对应的入库实绩id修改入库状态为预留")
|
|
|
public int changeReserved(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
|
return wmsFeign.changeReserved(mapList);
|
|
|
}
|
|
|
+
|
|
|
+ @PostMapping("/getWmsOutboundResultStatistics")
|
|
|
+ @ApiOperation(value = "展示炉号对应的出厂数量")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "446", required = false, dataType = "BigDecimal"),
|
|
|
+ })
|
|
|
+ public RESTfulResult getWmsOutboundResultStatistics(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);
|
|
|
+ }
|
|
|
}
|
|
|
|