|
@@ -85,13 +85,50 @@ public class WmshGridMaterialController extends BaseRESTfulController {
|
|
|
public RESTfulResult getLoadPortStockList(@RequestBody(required = false) Map<String,Object> mapVal,
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
- Integer apiId){
|
|
|
+ Integer apiId,
|
|
|
+ String con){
|
|
|
+ if (con!=null&&!"".equals(con)){
|
|
|
+ mapVal.put("con",con);
|
|
|
+ }
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
//分页查询数据
|
|
|
List<Map<String, Object>> columnList = wmshGridMaterialService.getLoadPortStockList(mapVal);
|
|
|
PageListAdd data = columnDataUtil.tableColumnData(apiId, null, columnList);
|
|
|
return success(data);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 展示万州港港存库库存列表
|
|
|
+ * @param mapVal
|
|
|
+ * @param pageNum
|
|
|
+ * @param pageSize
|
|
|
+ * @param apiId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @ApiOperation(value="展示万州港当前物资实时库存", notes="分页查询")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "158", required = false, dataType = "BigDecimal"),
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/getLoadPortStockByMaterialName")
|
|
|
+ public RESTfulResult getLoadPortStockByMaterialName(@RequestBody(required = false) Map<String,Object> mapVal,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,
|
|
|
+ Integer apiId,
|
|
|
+ String con){
|
|
|
+ if (con!=null&&!"".equals(con)){
|
|
|
+ mapVal.put("con",con);
|
|
|
+ }
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
+ //分页查询数据
|
|
|
+ List<Map<String, Object>> columnList = wmshGridMaterialService.getLoadPortStockByMaterialName(mapVal);
|
|
|
+ PageListAdd data = columnDataUtil.tableColumnData(apiId, null, columnList);
|
|
|
+ return success(data);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
//清场
|
|
|
@ApiModelProperty(value = "清场远程调用")
|