@@ -26,5 +26,5 @@ public class SapOrg implements Serializable {
private Long wxDepartId;
private List<SapOrg> children;
- private SapOrg parentOrg;
+ private SapOrg parentDepart;
}
@@ -180,7 +180,7 @@ public class SapOrgService extends BaseService {
public SapOrg toInfoDetail(SapOrg sapOrg) throws Exception {
if(sapOrg != null) {
- sapOrg.setParentOrg(selectById(sapOrg.getParentId()));
+ sapOrg.setParentDepart(selectById(sapOrg.getParentId()));
return sapOrg;