移动端-仓库管理-列表

移动端-库区管理-列表
product
wangchuang 2 years ago
parent 435c88cf0e
commit 116b77f15c

@ -18,6 +18,110 @@ import java.util.HashMap;
@RequestMapping("/api/info")
public class MobilePortController {
/**
*
* @author
* @date 2023/1/7 14:27
* @param sch
* @return ActionResult
*/
@GetMapping("/areaManage/areaList")
@ApiOperation("移动端-库区管理-列表")
public ActionResult areaList(@RequestParam(name = "sch") String sch)throws IOException {
String data="[\n" +
" {\n" +
" \"areaCode\": \"库区CodeA\",\n" +
" \"time\": \"2022年12⽉18⽇\",\n" +
" \"areaName\": \"库区名称A\",\n" +
" \"warehouse\": \"矿产资源废钢贸易库\",\n" +
" \"createdBy\": \"创建⼈\",\n" +
" \"maximumInventory\": 2000,\n" +
" \"safetyStock\": 800,\n" +
" \"minimumStock\": 300,\n" +
" \"unit\": \"吨\",\n" +
" \"materialType\": 0,\n" +
" \"materialTotal\": 0,\n" +
" \"receiptQuantity\": 5000,\n" +
" \"deliveryQuantity\": 5000\n" +
" },\n" +
" {\n" +
" \"areaCode\": \"库区CodeA\",\n" +
" \"time\": \"2022年12⽉18⽇\",\n" +
" \"areaName\": \"库区名称A\",\n" +
" \"warehouse\": \"矿产资源废钢贸易库\",\n" +
" \"createdBy\": \"创建⼈\",\n" +
" \"maximumInventory\": 2000,\n" +
" \"safetyStock\": 800,\n" +
" \"minimumStock\": 300,\n" +
" \"unit\": \"吨\",\n" +
" \"materialType\": 0,\n" +
" \"materialTotal\": 0,\n" +
" \"receiptQuantity\": 5000,\n" +
" \"deliveryQuantity\": 5000\n" +
" }\n" +
"]";
return ActionResult.success(JsonUtil.getJsonToJsonArray(data));
}
/**
*
* @author
* @date 2023/1/7 14:27
* @param wareHouseName
* @return ActionResult
*/
@GetMapping("/warehouseManage/warehouseList")
@ApiOperation("移动端-仓库管理-列表")
public ActionResult warehouseList(@RequestParam(name = "wareHouseName") String wareHouseName)throws IOException {
String data="[\n" +
" {\n" +
" \"warehouseName\": \"矿产资源废钢贸易库\",\n" +
" \"warehouseType\": \"贸易虚拟库\",\n" +
" \"activeState\": \"激活\",\n" +
" \"company\": \"城市矿产\",\n" +
" \"warehouseLocation\": \"xxx省xxx市\",\n" +
" \"warehouseMaterialType\": 0,\n" +
" \"warehouseTotalQuantity\": 0,\n" +
" \"outboundTotalQuantity\": 71904,\n" +
" \"warehousingTotalAmount\": 71904\n" +
" },\n" +
" {\n" +
" \"warehouseName\": \"矿产资源废钢贸易库\",\n" +
" \"warehouseType\": \"贸易虚拟库\",\n" +
" \"activeState\": \"激活\",\n" +
" \"company\": \"城市矿产\",\n" +
" \"warehouseLocation\": \"xxx省xxx市\",\n" +
" \"warehouseMaterialType\": 0,\n" +
" \"warehouseTotalQuantity\": 0,\n" +
" \"outboundTotalQuantity\": 71904,\n" +
" \"warehousingTotalAmount\": 71904\n" +
" },\n" +
" {\n" +
" \"warehouseName\": \"矿产资源废钢贸易库\",\n" +
" \"warehouseType\": \"贸易虚拟库\",\n" +
" \"activeState\": \"激活\",\n" +
" \"company\": \"城市矿产\",\n" +
" \"warehouseLocation\": \"xxx省xxx市\",\n" +
" \"warehouseMaterialType\": 0,\n" +
" \"warehouseTotalQuantity\": 0,\n" +
" \"outboundTotalQuantity\": 71904,\n" +
" \"warehousingTotalAmount\": 71904\n" +
" },\n" +
" {\n" +
" \"warehouseName\": \"矿产资源废钢贸易库\",\n" +
" \"warehouseType\": \"贸易虚拟库\",\n" +
" \"activeState\": \"激活\",\n" +
" \"company\": \"城市矿产\",\n" +
" \"warehouseLocation\": \"xxx省xxx市\",\n" +
" \"warehouseMaterialType\": 0,\n" +
" \"warehouseTotalQuantity\": 0,\n" +
" \"outboundTotalQuantity\": 71904,\n" +
" \"warehousingTotalAmount\": 71904\n" +
" }\n" +
"]";
return ActionResult.success(JsonUtil.getJsonToJsonArray(data));
}
/**
*
* @author
@ -358,6 +462,7 @@ public class MobilePortController {
map.put("goInfo",goInfo);
HashMap<String, Object> map2 = new HashMap<>();
map2.put("title","付款预警");
map2.put("titleColor","#F59A23");

Loading…
Cancel
Save