|
@@ -0,0 +1,35 @@
|
|
|
|
+package com.ruoyi.web.controller.warewms.pda;
|
|
|
|
+
|
|
|
|
+import com.ruoyi.base.domain.BaseLocationZone;
|
|
|
|
+import com.ruoyi.base.service.IBaseLocationZoneService;
|
|
|
|
+import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * @author JWK
|
|
|
|
+ * @version 1.0
|
|
|
|
+ * @date 2022/11/14 14:52
|
|
|
|
+ */
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/pda/basZone")
|
|
|
|
+public class PdaBasLocationZoneController {
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private IBaseLocationZoneService iBaseLocationZoneService;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 获取库区列表
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/list")
|
|
|
|
+ public AjaxResult list(BaseLocationZone baseLocationZone) {
|
|
|
|
+ List<BaseLocationZone> list = iBaseLocationZoneService.selectBaseLocationZoneList(baseLocationZone);
|
|
|
|
+ return AjaxResult.success("", list);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|