package com.fjhx.wms.controller.warehouse; import com.fjhx.wms.entity.warehouse.po.WarehouseLocationInfo; import org.springframework.web.bind.annotation.*; import com.fjhx.wms.entity.warehouse.vo.WarehouseLocationInfoVo; import com.fjhx.wms.entity.warehouse.dto.WarehouseLocationInfoSelectDto; import com.fjhx.wms.entity.warehouse.dto.WarehouseLocationInfoDto; import com.fjhx.wms.service.warehouse.WarehouseLocationInfoService; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; /** *

* 仓库库位信息 前端控制器 *

* * @author * @since 2023-05-18 */ @RestController @RequestMapping("/warehouseLocationInfo") public class WarehouseLocationInfoController { @Autowired private WarehouseLocationInfoService warehouseLocationInfoService; /** * 仓库库位信息列表 */ @PostMapping("/list") public List list(@RequestBody WarehouseLocationInfoDto dto) { return warehouseLocationInfoService.getList(dto); } /** * 仓库库位信息编辑 */ @PostMapping("/edit") public void edit(@RequestBody WarehouseLocationInfoDto warehouseLocationInfoDto) { warehouseLocationInfoService.edit(warehouseLocationInfoDto); } }