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


import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.ContractExpensesInfo;
import com.yh.saas.plugin.yiliangyiyun.service.IContractExpensesInfoService;
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("/contractExpensesInfo")
public class ContractExpensesInfoController {
    @Autowired
    private IContractExpensesInfoService contractExpensesInfoService;
    /**
     * 合同费用列表查询
     *
     * @param contractExpensesInfo
     * @return
     */
    @GetMapping("/selectContractExpensesInfo")
    public Page<ContractExpensesInfo> selectContractExpensesInfo(ContractExpensesInfo contractExpensesInfo) {
        return contractExpensesInfoService.selectContractExpensesInfo(contractExpensesInfo);
    }

}

