WebClient.data(Map) 추가

master
mjkhan21 7 months ago
parent 759a2d4898
commit c28d281aff

@ -58,7 +58,7 @@ public class MybatisPlugin extends AbstractComponent implements Interceptor {
Object[] args = invocation.getArgs();
String methodName = method.toString();
log().debug(methodName);
// log().debug(methodName);
if (methodName.contains("Executor.query"))
return query((Executor)target, (MappedStatement)args[0], args[1], (RowBounds)args[2], (ResultHandler<?>)args[3]);

@ -422,6 +422,17 @@ public class WebClient {
return this;
}
/** .
* @param map . .
* @return Request
*/
public Request data(Map<String, ?> map) {
if (map != null) {
map.forEach(this::data);
}
return this;
}
/** .
* @param data
* @return Request

Loading…
Cancel
Save