|
@@ -5,6 +5,7 @@ import com.ruoyi.base.service.IBaseLocationInfoService;
|
|
|
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.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -22,7 +23,6 @@ public class PdaBasLocationInfoController {
|
|
|
@Autowired
|
|
|
private IBaseLocationInfoService baseLocationInfoService;
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 获取库位列表
|
|
|
*/
|
|
@@ -32,4 +32,15 @@ public class PdaBasLocationInfoController {
|
|
|
return AjaxResult.success("", list);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 标记接驳位是否有空托
|
|
|
+ * @param baseLocationInfo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/markEmptyTray")
|
|
|
+ public AjaxResult markEmptyTray(BaseLocationInfo baseLocationInfo) {
|
|
|
+ baseLocationInfoService.updateBaseLocationInfo(baseLocationInfo);
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
}
|