package com.yh.saas.plugin.yiliangyiyun.controller;


import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.ContractInventoryDistribution;
import com.yh.saas.plugin.yiliangyiyun.service.IContractInventoryDistributionService;
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;

/**
 * <p>
 * 记录合同库存分布详情 前端控制器
 * </p>
 *
 * @author Gdc
 * @since 2022-05-24
 */
@RestController
@RequestMapping("/contractInventoryDistribution")
public class ContractInventoryDistributionController {
    @Autowired
    private IContractInventoryDistributionService contractInventoryDistributionService;
    /**
     * 合同库存列表查询
     *
     * @param contractInventoryDistribution
     * @return
     */
    @GetMapping("/selectContractInventoryInfo")
    public Page<ContractInventoryDistribution> selectContractInventoryInfo(ContractInventoryDistribution contractInventoryDistribution) {
        return contractInventoryDistributionService.selectContractInventoryInfo(contractInventoryDistribution);
    }
}

