Commit 31fc8a95 authored by trumansdo's avatar trumansdo
Browse files

no message

parent 9815183f
......@@ -161,7 +161,7 @@ public class UserConsoleService extends CoreBaseService<CoreUser> {
public void deleteUserRoles(List<Long> ids) {
// 考虑到这个操作较少使用,就不做批处理优化了
for (Long id : ids) {
sqlManager.deleteById(CoreUserRole.class, id);
sqlManager.deleteById(id);
}
}
......
......@@ -4,9 +4,10 @@ import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 专门用于前端UI下拉选择器的字典数据返回类型,与{@link CoreDict} 不同,它是业务中的类。
* 用于数据库表的字典字段映射到本对象中的value字段<br>
* pojo中字典字段必须使用该类定义<br>
* 处理最终的字典值由{@link com.ibeetl.admin.core.service.CoreBaseService#processDictField} 方法提供
* 处理最终的字典值由{@link com.ibeetl.admin.core.service.CoreBaseService#processDictField} 方法提供<br/>
*/
@Data
@NoArgsConstructor
......
package com.ibeetl.admin.core.web;
import com.ibeetl.admin.core.annotation.RequestBodyPlus;
import com.ibeetl.admin.core.entity.CoreDict;
import com.ibeetl.admin.core.entity.DictType;
import com.ibeetl.admin.core.service.CoreDictService;
......@@ -9,6 +10,7 @@ import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -22,14 +24,10 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping(value = "/core/dicts")
public class DictDataElController {
@Autowired CorePlatformService platformService;
@Autowired CoreDictService dictService;
@Autowired DictTypeService dictTypeService;
/**
* 查看字典类型对应的列表
* 根据字典类型type,获取所有字典数据并返回
*
* @param type
* @return
......
<!--
* @Author: 一日看尽长安花
* @since: 2019-10-12 15:43:18
* @LastEditTime: 2019-11-30 22:55:19
* @LastEditTime: 2019-12-17 20:56:50
* @LastEditors: 一日看尽长安花
* @Description:
-->
......@@ -18,7 +18,7 @@
@delete-data="deleteData"
@update-data="updateData"
>
<!-- todo 待解决的问题:样式问题。猜测原因:应该是样式穿透问题,不能是scope -->
<!-- fixed 待解决的问题:样式问题。猜测原因:应该是样式穿透问题,不能是scope -->
<!-- 往搜索栏中添加搜索条件 -->
<template #filter-condition="{filterData:filterData}">
<div class="filter-item-container">
......@@ -65,7 +65,7 @@ import TableViews from '@/components/TableViews';
import { users, usersMetedata } from '@/api/user';
export default {
name: 'Demo2',
name: 'CoreUsers',
components: { TableViews },
props: {},
data() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment