标准导出字典转换
This commit is contained in:
@@ -77,4 +77,12 @@ public interface DicTypeEODao extends BaseMapper<DicTypeEO> {
|
||||
public int queryByCount(DicTypeEOPage page);
|
||||
|
||||
public List<DicTypeEO> queryByList(DicTypeEOPage page);
|
||||
|
||||
/**
|
||||
* @param filed 需要查询的字段名
|
||||
* 查询需要的字段的所有数据
|
||||
* @return
|
||||
*/
|
||||
public List<DicTypeEO> getDicInfo(@Param("filed") String... filed);
|
||||
|
||||
}
|
||||
|
||||
@@ -593,4 +593,16 @@
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<select id="getDicInfo" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<foreach collection="filed" index="index" item="item" separator="," >
|
||||
${item}
|
||||
</foreach>
|
||||
FROM
|
||||
TS_DICTYPE
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user