Mapper
Mapper copied to clipboard
建议Example能否支持函数是编程
Example example = new Example(DefectVideo.class); Example.Criteria criteria = example.createCriteria(); criteria.andIn(DefectVideo::getCategory,"11");
试试能不能把 mybatis-mapper 的 ExampleWrapper 拷过来。
还是尽量支持一下函数式编程,这样比较方便
非常同意,我现在都是自己写个静态方法,去支持 public static <T> String getFieldName(Function<T, ?> fn)