|
|
@@ -149,5 +149,64 @@ public class WMSController extends BaseRESTfulController {
|
|
|
public Map<String, Object> logicdeleteAmsSaalryContrac(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
return wmsFeign.delete(map);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询实时库存")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "map", value = "参数", required = false, dataType = "map"),
|
|
|
+ @ApiImplicitParam(name = "apiId()", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/getGridMaterialList")
|
|
|
+ public Map<String, Object> getGridMaterialList(@RequestBody(required = false) Map<String, Object> map, Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return wmsFeign.getGridMaterialList(map == null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询入库实绩")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "map", value = "参数", required = false, dataType = "map"),
|
|
|
+ @ApiImplicitParam(name = "apiId()", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/getInboundList")
|
|
|
+ public Map<String, Object> getInboundList(@RequestBody(required = false) Map<String, Object> map, Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return wmsFeign.getInboundList(map == null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "入库")
|
|
|
+ @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
+ @LogAround(foreignKeys = {"inboundResultId"}, foreignKeyTypes = {"入库实绩"})
|
|
|
+ @PostMapping("/inbound")
|
|
|
+ public Map<String, Object> inbound(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return wmsFeign.inbound(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询出库实绩")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "map", value = "参数", required = false, dataType = "map"),
|
|
|
+ @ApiImplicitParam(name = "apiId()", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/getOutboundList")
|
|
|
+ public Map<String, Object> getOutboundList(@RequestBody(required = false) Map<String, Object> map, Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return wmsFeign.getOutboundList(map == null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "出库")
|
|
|
+ @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
+ @LogAround(foreignKeys = {"outboundResultId"}, foreignKeyTypes = {"出库实绩"})
|
|
|
+ @PostMapping("/outbound")
|
|
|
+ public Map<String, Object> outbound(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return wmsFeign.outbound(map);
|
|
|
+ }
|
|
|
}
|
|
|
|