|
@@ -6,6 +6,9 @@ import org.springblade.business.service.TrialCyTestTypeService;
|
|
|
import org.springblade.business.mapper.TrialCyTestTypeMapper;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.Collections;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* @author LHB
|
|
|
* @description 针对表【u_trial_cy_test_type(成渝-试验检测树)】的数据库操作Service实现
|
|
@@ -14,7 +17,10 @@ import org.springframework.stereotype.Service;
|
|
|
@Service
|
|
|
public class TrialCyTestTypeServiceImpl extends ServiceImpl<TrialCyTestTypeMapper, TrialCyTestType>
|
|
|
implements TrialCyTestTypeService {
|
|
|
-
|
|
|
+ @Override
|
|
|
+ public List<TrialCyTestType> getTree(Long projectId, String parentId) {
|
|
|
+ return baseMapper.getTree(projectId, parentId);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|