<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
	"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fibo.ddp.common.dao.strategyx.listlibrary.TblColumnMapper">

    <select id="getColumnList" parameterType="map"  resultType="com.fibo.ddp.common.model.strategyx.listlibrary.TblColumn">
         select COLUMN_NAME as colName, COLUMN_COMMENT as colComment, ORDINAL_POSITION as colOrder 
           from information_schema.COLUMNS 
          where TABLE_SCHEMA = '${schemaName}'
            and TABLE_NAME = '${tableName}'
            and COLUMN_COMMENT != ''
       order by ORDINAL_POSITION
	</select>
</mapper>