|
@@ -700,7 +700,7 @@ public class TinfoClassService {
|
|
|
for (TinfoClass u : dataList) {
|
|
|
TinfoClassDto temp = new TinfoClassDto(u);
|
|
|
if (StrUtil.isNotBlank(u.getParentid())) {
|
|
|
- TinfoClass parent = tinfoClassRepository.findByPid(u.getParentid());
|
|
|
+ TinfoClass parent = tinfoClassRepository.findOne(u.getParentid());
|
|
|
if (parent != null && "2".equals(parent.getImplementationState())) {
|
|
|
temp.setParentState(2);
|
|
|
} else {
|