Commit 3787dbb4 authored by 赵啸非's avatar 赵啸非

临时修改部门编辑

parent 1570df73
......@@ -66,6 +66,7 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic
Map<String, Object> model = new HashMap<>();
JSONObject ret = new JSONObject();
String busiDesc = "查询" + this.getModuleDesc();
// Long id = form.getId()[0];
int code = VALUE_RESULT_SUCCESS;
try {
List<DeptEntity> collect = this.service.find(new DeptQuery()).stream().map(item -> {
......@@ -74,7 +75,7 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic
}
return item;
}).filter(f -> f != null).collect(Collectors.toList());
model.put("data", collect);
model.put("result", collect);
recordSysLog(request, busiDesc + " 【成功】");
} catch (Exception e) {
code = VALUE_RESULT_FAILURE;
......
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