package com.zzsmart.qomo.kn.cost.manage.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzsmart.qomo.kn.cost.manage.entity.AppSceneCostMaterialBom;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description: app_scene_cost_material_bom
 * @Author: jeecg-boot
 * @Date: 2024-08-02
 * @Version: V1.0
 */
public interface AppSceneCostMaterialBomMapper extends BaseMapper<AppSceneCostMaterialBom> {
    /**
     * 根据动态SQL语句查询物料BOM表
     *
     * @param selectCommand
     * @return
     */
    @Select("${selectCommand}")
    List<AppSceneCostMaterialBom> customSelect(@Param("selectCommand") String selectCommand);


    @Select("${selectSql}")
    JSONObject customSelectOne(@Param("selectSql") String selectSql);

    @Select("${SelectBlobModel}")
    String customSelectBlobModelJson(@Param("SelectBlobModel") String SelectBlobModel);

}
