|
|
@@ -74,6 +74,7 @@ public class SystemMenuCommonlyUsedController {
|
|
|
public RT<List<SystemMenuCommonlyUsedPageVo>> noPage(@Valid SystemMenuCommonlyUsedPageDto dto) {
|
|
|
|
|
|
MPJLambdaWrapper<SystemMenuCommonlyUsed> queryWrapper = MPJWrappers.<SystemMenuCommonlyUsed>lambdaJoin()
|
|
|
+ .distinct()
|
|
|
.orderByDesc(SystemMenuCommonlyUsed::getId)
|
|
|
.select(SystemMenuCommonlyUsed.class, x -> VoToColumnUtil.fieldsToColumns(SystemMenuCommonlyUsedPageVo.class).contains(x.getProperty()))
|
|
|
.select("t.id",SystemMenuCommonlyUsedPageVo::getId)
|
|
|
@@ -96,7 +97,7 @@ public class SystemMenuCommonlyUsedController {
|
|
|
@ApiOperation(value = "删除常用功能设置")
|
|
|
@SaCheckPermission("systemmenucommonlyused:delete")
|
|
|
public RT<Boolean> delete(@Valid @RequestBody List<Long> ids){
|
|
|
- return RT.ok(systemMenuCommonlyUsedService.removeBatchByIds(ids));
|
|
|
+ return RT.ok(systemMenuCommonlyUsedService.removeByMenuId(ids));
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "/info")
|