package com.zzsmart.qomo.kn.cost.manage.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.zzsmart.qomo.dao.entity.FlowDefinition;
import com.zzsmart.qomo.dao.mapper.FlowDefinitionMapper;
import com.zzsmart.qomo.kn.cost.manage.service.IAppSceneCostModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: app_scene_cost_model
 * @Author: jeecg-boot
 * @Date: 2024-07-29
 * @Version: V1.0
 */
@Service
public class AppSceneCostModelServiceImpl implements IAppSceneCostModelService {
    @Autowired
    FlowDefinitionMapper flowDefinitionMapper;

    /**
     * 查询标准成本模型列表
     *
     * @param queryWrapper
     * @return
     */
    @Override
    public List<FlowDefinition> queryListResult(Wrapper<FlowDefinition> queryWrapper) {
        List list = flowDefinitionMapper.selectList(queryWrapper);
        return list;
    }
}
