【7.6.0】【app】app列表只查询有用字段

pull/57/head
fengshuonan 2023-07-03 00:00:22 +08:00
parent a89c5f2a48
commit e11daab353
2 changed files with 6 additions and 0 deletions

View File

@ -102,6 +102,8 @@ public class SysAppController {
/**
*
* <p>
*
*
* @author liyanjun
* @date 2023/07/02 18:28

View File

@ -161,6 +161,10 @@ public class SysAppServiceImpl extends ServiceImpl<SysAppMapper, SysApp> impleme
@Override
public List<SysApp> findList(SysAppRequest sysAppRequest) {
LambdaQueryWrapper<SysApp> wrapper = this.createWrapper(sysAppRequest);
// 查询名称、图标和id
wrapper.select(SysApp::getAppId, SysApp::getAppName, SysApp::getAppIcon);
return this.list(wrapper);
}