Commit 60b3e185 by fsn

获取字典详情修改

parent aab396fb
......@@ -62,6 +62,8 @@ public class DictController extends BaseController {
public String deptUpdate(@PathVariable Integer dictId, Model model) {
Dict dict = dictMapper.selectById(dictId);
model.addAttribute(dict);
List<Dict> subDicts = dictMapper.selectList(new EntityWrapper<Dict>().eq("pid", dictId));
model.addAttribute(subDicts);
return PREFIX + "dict_edit.html";
}
......
Markdown is supported
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