package com.ruoyi.web.controller.warehouse.warehouseBusiness.app;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.warehouseBusiness.service.ITWarehouseBillsService;
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.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 仓库app控制层
 *
 * @author ruoyi
 * @date 2021-10-27
 */
@RestController
@RequestMapping("/warehouse/app")
public class TWarehousebillsAppController extends BaseController {
    @Autowired
    private ITWarehouseBillsService itWarehouseBillsService;

    /**
     * 查询库存总帐明细
     *
     * @param id 查询条件
     * @return 库存总帐明细
     */
    @GetMapping("/whgenlegDetail")
    public AjaxResult whgenlegDetail(@RequestParam("id") Long id) {
        return itWarehouseBillsService.selectWhgenlegDetail(id);
    }

}
