Closed
Description
Example
@SelectProvider(type = SqlProvider.class, method = "listAirSensorsByDuidAndTimeRange")
List<AirSensor> listAirSensorsByDuidAndTimeRange();
class SqlProvider {
public static String listAirSensorsByDuidAndTimeRange() {
// return SQL;
}
}
When method name of mapper's and sqlprovider's is the same (in bold), method attribute can be ignored for easy development.
Typing that every time is pretty annoying.
#1283
Thank you!