|
|
@@ -110,7 +110,7 @@ func (s *RtxService) RecursionOrganize(rtxOrganizes []RtxOrganize) bool {
|
|
|
parentId := 0
|
|
|
if len(rtxOrg.ParentId) > 0 {
|
|
|
var baseParentOrganize organize.Base_Organize
|
|
|
- where := "1=1 and Outerphone='" + rtxOrg.Id + "'"
|
|
|
+ where := "1=1 and Innerphone='" + rtxOrg.ParentId + "'"
|
|
|
orgSvc.GetEntity(&baseParentOrganize, where)
|
|
|
parentId = baseParentOrganize.Id
|
|
|
}
|