| | |
| | | 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; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | |
| | | /** |
| | | * @Description 盘点单物品 |
| | |
| | | public class LWhFormInventoryGoodsController extends BaseController { |
| | | |
| | | @Autowired |
| | | private LWhFormInventoryGoodsServiceImpl inventoryGoodsService; |
| | | private LWhFormInventoryGoodsService inventoryGoodsService; |
| | | |
| | | /** |
| | | * @return |
| | |
| | | if (id == null) { |
| | | ResponseValue.error("参数错误"); |
| | | } |
| | | List<LWhFormInventoryGoods> list = this.inventoryGoodsService.getByInventoryId(id); |
| | | List<LWhFormInventoryGoods> list = inventoryGoodsService.getByInventoryId(id); |
| | | return ResponseValue.success(list); |
| | | } |
| | | |