package cn.com.victorysoft.business.cyyzs.controller;

import cn.com.victorysoft.business.cyyzs.entity.ProductionData;
import cn.com.victorysoft.business.cyyzs.entity.StaticData;
import cn.com.victorysoft.business.cyyzs.param.StaticDataParam;
import cn.com.victorysoft.business.cyyzs.service.ProductionDataService;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
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 java.util.List;

/**
 * @Author TY
 * @Date: 2022/9/26 14:48
 */
@Api(tags = "生产数据")
@RestController
@RequestMapping("cyyzs/production-data")
public class ProductionDataController {

    @Autowired
    private ProductionDataService productionDataService;

    @GetMapping()
    public List<ProductionData> selectList(String yclx, String dwdm, String dydm, String ksrq, String jsrq) {
        return productionDataService.selectList(yclx, dwdm, dydm, ksrq, jsrq);
    }
}
