zy-asrs-framework/src/main/resources/templates/react/Controller.txt | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-asrs-framework/src/main/resources/templates/react/Controller.txt
@@ -87,7 +87,7 @@ wrapper.like(@{ENTITYNAME}::get@{MAJORCOLUMN_UP}, condition); } @{SIMPLEENTITYNAME}Service.page(new Page<>(1, 30), wrapper).getRecords().forEach( item -> vos.add(new KeyValVo(item.getId(), item.getName())) item -> vos.add(new KeyValVo(item.getId(), item.get@{MAJORCOLUMN_UP}())) ); return R.ok().add(vos); }