MapStruct Plus is an enhancement to the MapStruct framework. It can automatically generate the transformation operation between two classes through an annotation, omitting the operation of defining the interface of MapStruct, makes Java type conversion easy and elegant.
Page page = sysConfigService.selectByPage();
Page vo = converter.convert(page, SysConfigVo.class);
Page的类型如下 public class Page{
protected List records;
protected long total;
protected long size;
}