|
@@ -201,15 +201,26 @@ public class StoreController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 获取仓库树
|
|
|
- *
|
|
|
- * @param storeDTO 仓库信息DTO
|
|
|
- * @return R
|
|
|
- */
|
|
|
- @GetMapping("tree")
|
|
|
- public R queryTree(StoreDTO storeDTO) {
|
|
|
- return new R<>(TreeUtil.buildStoreTree(storeService.getModelListByDTO(storeDTO), ""));
|
|
|
- }
|
|
|
+ * 获取仓库树
|
|
|
+ *
|
|
|
+ * @param storeDTO 仓库信息DTO
|
|
|
+ * @return R
|
|
|
+ */
|
|
|
+ @GetMapping("tree")
|
|
|
+ public R queryTree(StoreDTO storeDTO) {
|
|
|
+ return new R<>(TreeUtil.buildStoreTree(storeService.getModelListByDTO(storeDTO), ""));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取仓库列表
|
|
|
+ * 小程序 移动端
|
|
|
+ * @param storeDTO 仓库信息DTO
|
|
|
+ * @return R
|
|
|
+ */
|
|
|
+ @GetMapping("/uni/tree")
|
|
|
+ public R queryList(StoreDTO storeDTO) {
|
|
|
+ return new R<>(storeService.getModelListByDTO(storeDTO), "");
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 获取设备tables tree
|