package com.ruoyi.warehouse.controller; import com.ruoyi.framework.aspectj.lang.annotation.Log; import com.ruoyi.framework.aspectj.lang.enums.BusinessType; import com.ruoyi.framework.web.controller.BaseController; import com.ruoyi.framework.web.domain.AjaxResult; import com.ruoyi.warehouse.dto.WarehouseGoodsShelvesRowcolDto; import com.ruoyi.warehouse.pojo.WarehouseGoodsShelvesRowcol; import com.ruoyi.warehouse.service.WarehouseGoodsShelvesRowcolService; import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.Operation; import lombok.AllArgsConstructor; 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; @RestController @Tag(name = "商品货架行列") @RequestMapping("/warehouse/goodsShelvesRowcol") @AllArgsConstructor public class WarehouseGoodsShelvesRowcolController extends BaseController { private WarehouseGoodsShelvesRowcolService warehouseGoodsShelvesRowcolService; @GetMapping("/list") @Operation(summary = "商品货架行列-查询") @Log(title = "商品货架行列-查询", businessType = BusinessType.OTHER) public AjaxResult list(WarehouseGoodsShelvesRowcol warehouseGoodsShelvesRowcol) { List list = warehouseGoodsShelvesRowcolService.getList(warehouseGoodsShelvesRowcol); return AjaxResult.success(list); } }