DataExpertTemplateMapper.java 576 B

123456789101112131415161718192021
  1. package com.xjrsoft.module.dataexpert.mapper;
  2. import com.github.yulichang.base.MPJBaseMapper;
  3. import com.xjrsoft.module.dataexpert.entity.DataExpertTemplate;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Select;
  6. import java.util.List;
  7. /**
  8. * @title: 数据导出-数据模板
  9. * @Author dzx
  10. * @Date: 2024-04-19
  11. * @Version 1.0
  12. */
  13. @Mapper
  14. public interface DataExpertTemplateMapper extends MPJBaseMapper<DataExpertTemplate> {
  15. @Select("select #{fields} from #{viewName}")
  16. List<String[]> getDataList(String fields, String viewName);
  17. }