# myabtis-result-map **Repository Path**: junlin1991/myabtis-result-map ## Basic Information - **Project Name**: myabtis-result-map - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-14 - **Last Updated**: 2021-04-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 一个mybatis结果映射插件,支持mybatis查询返回两个字段,第一个字段为key,第二个字段为value 使用方式: 1、添加maven依赖 org.example result-helper-starter 1.0-SNAPSHOT 2、 Mapper java文件中返回类型为ValueMap,并且必须添加泛型 Mapper xml文件中resultMap指定为ValueMap,并且只能查询两个字段,多余字段将忽略,少字段则报错