Browse Source

补充上一次提交

hujie 1 year ago
parent
commit
284b850831

+ 1 - 1
cn.com.taiji.system/src/main/java/cn/com/taiji/zhongxiao/service/TinfoClassService.java

@@ -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 {