| | |
| | | package com.consum.base.controller; |
| | | |
| | | import com.consum.base.BaseController; |
| | | import com.consum.base.service.LWhFormInventoryGoodsServiceImpl; |
| | | import com.consum.model.po.FinSysTenantUser; |
| | | import com.consum.model.po.LWhFormInventoryGoods; |
| | | import com.walker.web.ResponseValue; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import java.util.List; |
| | | |
| | | 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 com.consum.base.BaseController; |
| | | import com.consum.base.service.LWhFormInventoryGoodsService; |
| | | import com.consum.model.po.FinSysTenantUser; |
| | | import com.consum.model.po.LWhFormInventoryGoods; |
| | | import com.walker.web.ResponseValue; |
| | | |
| | | /** |
| | | * @Description 盘点单物品 |
| | | * @Author 卢庆阳 |
| | | * @Date 2023/10/31 |
| | | */ |
| | | @Api(value = "盘点", tags = "盘点") |
| | | // @Api(value = "盘点", tags = "盘点") |
| | | @RestController |
| | | @RequestMapping("/pc/l/wh/form/inventory/goods") |
| | | public class LWhFormInventoryGoodsController extends BaseController { |
| | | |
| | | @Autowired |
| | | private LWhFormInventoryGoodsServiceImpl inventoryGoodsService; |
| | | private LWhFormInventoryGoodsService inventoryGoodsService; |
| | | |
| | | /** |
| | | * @return |
| | |
| | | * @Author 卢庆阳 |
| | | * @Date 2023/10/31 |
| | | */ |
| | | @ApiOperation(value = "查询盘点单物品(继续盘点)", notes = "查询盘点单物品(继续盘点)") |
| | | // @ApiOperation(value = "查询盘点单物品(继续盘点)", notes = "查询盘点单物品(继续盘点)") |
| | | @GetMapping("/list") |
| | | public ResponseValue queryList(Long id) { |
| | | FinSysTenantUser sysInfo = this.getSysInfo(); |
| | |
| | | if (id == null) { |
| | | ResponseValue.error("参数错误"); |
| | | } |
| | | List<LWhFormInventoryGoods> list = this.inventoryGoodsService.getByInventoryId(id); |
| | | List<LWhFormInventoryGoods> list = inventoryGoodsService.getByInventoryId(id); |
| | | return ResponseValue.success(list); |
| | | } |
| | | |