test_class.declarator: deptService
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private DeptService deptService;
test_class.type: DeptService
test_class.var_name: deptService
test_class.file: flash-waimai-core/src/test/java/cn/enilu/flash/service/system/DeptServiceTest.java
test_class.identifier: DeptServiceTest
test_class.superclass: extends BaseApplicationStartTest
test_case.body: @Test
      public void deleteDept() throws Exception {
  
      }
test_case.class_method_signature: DeptServiceTest.deleteDept()
test_case.full_signature: @Test public void deleteDept()
test_case.identifier: deleteDept
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void deleteDept()
focal_class.declarator: deptRepository
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private DeptRepository deptRepository;
focal_class.type: DeptRepository
focal_class.var_name: deptRepository
focal_class.file: flash-waimai-core/src/main/java/cn/enilu/flash/service/system/DeptService.java
focal_class.identifier: DeptService
focal_class.class_method_signature: DeptService.tree()
focal_class.full_signature: public List<ZTreeNode> tree()
focal_class.identifier: tree
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<ZTreeNode>
focal_class.signature: List<ZTreeNode> tree()
focal_class.class_method_signature: DeptService.transfer(Object[] obj)
focal_class.full_signature: private ZTreeNode transfer(Object[] obj)
focal_class.identifier: transfer
focal_class.modifiers: private
focal_class.parameters: (Object[] obj)
focal_class.return: ZTreeNode
focal_class.signature: ZTreeNode transfer(Object[] obj)
focal_class.class_method_signature: DeptService.query(String condition)
focal_class.full_signature: public List<Dept> query(String condition)
focal_class.identifier: query
focal_class.modifiers: public
focal_class.parameters: (String condition)
focal_class.return: List<Dept>
focal_class.signature: List<Dept> query(String condition)
focal_class.class_method_signature: DeptService.deleteDept(Long deptId)
focal_class.full_signature: public void deleteDept(Long deptId)
focal_class.identifier: deleteDept
focal_class.modifiers: public
focal_class.parameters: (Long deptId)
focal_class.return: void
focal_class.signature: void deleteDept(Long deptId)
focal_class.class_method_signature: DeptService.queryAllNode()
focal_class.full_signature: public List<DeptNode> queryAllNode()
focal_class.identifier: queryAllNode
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<DeptNode>
focal_class.signature: List<DeptNode> queryAllNode()
focal_class.class_method_signature: DeptService.deptSetPids(Dept dept)
focal_class.full_signature: public void deptSetPids(Dept dept)
focal_class.identifier: deptSetPids
focal_class.modifiers: public
focal_class.parameters: (Dept dept)
focal_class.return: void
focal_class.signature: void deptSetPids(Dept dept)
focal_class.class_method_signature: DeptService.generateTree(List<Dept> list)
focal_class.full_signature: private List<DeptNode> generateTree(List<Dept> list)
focal_class.identifier: generateTree
focal_class.modifiers: private
focal_class.parameters: (List<Dept> list)
focal_class.return: List<DeptNode>
focal_class.signature: List<DeptNode> generateTree(List<Dept> list)
focal_class.superclass: extends BaseService<Dept,Long,DeptRepository>
focal_method.body: public void deleteDept(Long deptId) {
          Dept dept = get(deptId);
  
          List<Dept> subDepts = deptRepository.findByPidsLike("%[" + dept.getId() + "]%");
          deptRepository.deleteAll(subDepts);
          deptRepository.delete(dept);
      }
focal_method.class_method_signature: DeptService.deleteDept(Long deptId)
focal_method.full_signature: public void deleteDept(Long deptId)
focal_method.identifier: deleteDept
focal_method.invocations: get findByPidsLike getId deleteAll delete
focal_method.modifiers: public
focal_method.parameters: (Long deptId)
focal_method.return: void
focal_method.signature: void deleteDept(Long deptId)