|
@@ -40,14 +40,15 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
+ Integer warehouseId,
|
|
|
String startTime,
|
|
|
String endTime) {
|
|
|
- return wmsFeign.getWmsInboundResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,startTime,endTime);
|
|
|
+ return wmsFeign.getWmsInboundResult(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,warehouseId,startTime,endTime);
|
|
|
}
|
|
|
@PostMapping("getWmsInboundResultStatistics")
|
|
|
@ApiOperation(value = "展示入库实绩信息")
|
|
|
@ApiImplicitParams({
|
|
|
- @ApiImplicitParam(name = "apiId", value = "371", required = false, dataType = "BigDecimal"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "445", required = false, dataType = "BigDecimal"),
|
|
|
})
|
|
|
public Map<String, Object> getWmsInboundResultStatistics(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
Integer apiId,
|
|
@@ -67,9 +68,10 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
+ Integer warehouseId,
|
|
|
String startTime,
|
|
|
String endTime) {
|
|
|
- return wmsFeign.getWmsInboundResults(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,startTime,endTime);
|
|
|
+ return wmsFeign.getWmsInboundResults(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,warehouseId,startTime,endTime);
|
|
|
}
|
|
|
@PostMapping("getWmsReservedResult")
|
|
|
@ApiOperation(value = "展示预留入库实绩信息")
|
|
@@ -80,8 +82,9 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
+ Integer warehouseId,
|
|
|
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,warehouseId,con);
|
|
|
}
|
|
|
@PostMapping("getWmspOutboundResult")
|
|
|
@ApiOperation(value = "展示出库实绩信息")
|
|
@@ -92,8 +95,10 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
- String con) {
|
|
|
- return wmsFeign.getWmspOutboundResult(map==null?new HashMap<>():map,apiId, pageNum, pageSize,con);
|
|
|
+ Integer warehouseId,
|
|
|
+ String startTime,
|
|
|
+ String endTime) {
|
|
|
+ return wmsFeign.getWmspOutboundResult(map==null?new HashMap<>():map,apiId, pageNum, pageSize,warehouseId,startTime,endTime);
|
|
|
}
|
|
|
|
|
|
@PostMapping("/wmspoutboundresults/insertWmspOutBoundResult")
|
|
@@ -141,11 +146,23 @@ public class WMSController extends BaseRESTfulController {
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
+ String warehouseId,
|
|
|
+ String time,
|
|
|
String con) {
|
|
|
- return wmsFeign.selectGridMaterialList(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize,con);
|
|
|
+ return wmsFeign.selectGridMaterialList(mapVal==null?new HashMap<>():mapVal,apiId, pageNum, pageSize,warehouseId,time,con);
|
|
|
|
|
|
}
|
|
|
+// 查询仓库中超过库龄预警的物资
|
|
|
+ @PostMapping("/getGridMaterialAgeList")
|
|
|
+ @ApiOperation(value = "查询仓库中超过库龄预警的物资")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "167", required = false, dataType = "BigDecimal"),
|
|
|
+ })
|
|
|
+ public Map<String, Object> getGridMaterialAgeList(@RequestBody(required = false) Map<String, Object> mapVal,
|
|
|
+ Integer warehouseId) {
|
|
|
+ return wmsFeign.getGridMaterialAgeList(mapVal==null?new HashMap<>():mapVal,warehouseId);
|
|
|
|
|
|
+ }
|
|
|
|
|
|
//通过成品仓库网格ID查询实时库存数据
|
|
|
@PostMapping("/selectGridMaterialListByGridId")
|
|
@@ -409,7 +426,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@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 pageNum,
|
|
|
Integer pageSize,
|
|
@@ -452,7 +469,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@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 pageNum,
|
|
|
Integer pageSize) {
|
|
@@ -474,7 +491,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@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 pageNum,
|
|
|
Integer pageSize) {
|
|
@@ -486,7 +503,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@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 pageNum,
|
|
|
Integer pageSize,
|
|
@@ -499,12 +516,18 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@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 pageNum,
|
|
|
Integer pageSize,
|
|
|
- String con) {
|
|
|
- return wmsFeign.getInventoryClose(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con);
|
|
|
+ String value) {
|
|
|
+ return wmsFeign.getInventoryClose(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize,value);
|
|
|
+ }
|
|
|
+ //库存结转定时器
|
|
|
+ @PostMapping("/addInventoryClose")
|
|
|
+ @ApiOperation(value = "库存结转定时器")
|
|
|
+ public RESTfulResult addInventoryClose(){
|
|
|
+ return wmsFeign.addInventoryClose();
|
|
|
}
|
|
|
|
|
|
@PostMapping("/getSendReceive")
|
|
@@ -512,13 +535,14 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@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 pageNum,
|
|
|
Integer pageSize,
|
|
|
String con,
|
|
|
String startTime,
|
|
|
- String endTime) {
|
|
|
+ String endTime
|
|
|
+ ) {
|
|
|
return wmsFeign.getSendReceive(mapValue ==null? new HashMap<>():mapValue, apiId, pageNum, pageSize,con,startTime,endTime);
|
|
|
}
|
|
|
|
|
@@ -608,7 +632,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiOperation("新增入库实绩")
|
|
|
@PostMapping("/insertInboundResult")
|
|
|
@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);
|
|
|
}
|
|
|
|
|
@@ -621,7 +645,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiOperation("新增退库实绩")
|
|
|
@PostMapping("/insertReboundResult")
|
|
|
@Transactional
|
|
|
- public String addReboundResult(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
+ public String addReboundResult(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
|
/*
|
|
|
获取入库物资件数
|
|
|
*/
|
|
@@ -649,7 +673,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiOperation("新增倒库入库实绩")
|
|
|
@PostMapping("/insertIvboundResult")
|
|
|
@Transactional
|
|
|
- public String addIvboundResult(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
+ public String addIvboundResult(@RequestBody(required = false) List<Map<String, Object>> mapList) {
|
|
|
/*
|
|
|
获取入库物资件数
|
|
|
*/
|
|
@@ -753,7 +777,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@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 pageSize,
|
|
|
Integer apiId,
|
|
@@ -937,19 +961,33 @@ public class WMSController extends BaseRESTfulController {
|
|
|
}
|
|
|
// 查询所有的钢材物资信息
|
|
|
@PostMapping(value = "/getSteelMaterialList")
|
|
|
- public Map<String,Object> getSteelMaterialList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
|
- @RequestParam(value = "pageSize") Integer pageSize,
|
|
|
- @RequestParam(value = "apiId") Integer apiId) {
|
|
|
- return wmsFeign.getSteelMaterialList(pageNum,pageSize,apiId);
|
|
|
+ public Map<String,Object> getSteelMaterialList(@RequestBody(required = false) Map<String,Object> mapVal,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ Integer warehouseId,
|
|
|
+ String con) {
|
|
|
+ return wmsFeign.getSteelMaterialList(mapVal ==null? new HashMap<>():mapVal,pageNum,pageSize,apiId,warehouseId,con);
|
|
|
+ }
|
|
|
+ // 查询所有的钢材物资信息
|
|
|
+ @PostMapping(value = "/getSteelWarehouseList")
|
|
|
+ public Map<String,Object> getSteelWarehouseList(@RequestBody(required = false) Map<String,Object> mapVal,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ String con) {
|
|
|
+ return wmsFeign.getSteelWarehouseList(mapVal ==null? new HashMap<>():mapVal,apiId,pageNum,pageSize,con);
|
|
|
}
|
|
|
// 查询所有的钢材物资规格型号信息
|
|
|
@PostMapping(value = "/getSteelMaterialModelList")
|
|
|
- public Map<String,Object> getSteelMaterialModelList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
|
- @RequestParam(value = "pageSize") Integer pageSize,
|
|
|
- @RequestParam(value = "apiId") Integer apiId,
|
|
|
+ public Map<String,Object> getSteelMaterialModelList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ @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);
|
|
|
+ @RequestParam(value = "status") Integer status,
|
|
|
+ @RequestParam(value = "con") String con) {
|
|
|
+ return wmsFeign.getSteelMaterialModelList(mapValue ==null? new HashMap<>():mapValue,pageNum,pageSize,apiId,warehouseId,status,con);
|
|
|
}
|
|
|
// 根据对应的入库实绩id修改入库状态为预留
|
|
|
@PostMapping("/changeReserved")
|
|
@@ -963,7 +1001,7 @@ public class WMSController extends BaseRESTfulController {
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "apiId", value = "446", required = false, dataType = "BigDecimal"),
|
|
|
})
|
|
|
- public RESTfulResult getWmsOutboundResultStatistics(Map<String, Object> mapValue,
|
|
|
+ public RESTfulResult getWmsOutboundResultStatistics(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|