|
@@ -114,9 +114,9 @@ func (this *RoleController) OrgAllList() {
|
|
|
unitId := svc.GetMyUnitDepartmentId(this.User.DepartmentId)
|
|
unitId := svc.GetMyUnitDepartmentId(this.User.DepartmentId)
|
|
|
ids = svc.GetAllChildById(unitId)
|
|
ids = svc.GetAllChildById(unitId)
|
|
|
}
|
|
}
|
|
|
- where := " and Id in ( " + ids + " )"
|
|
|
|
|
|
|
+ where := " Id in ( " + ids + " )"
|
|
|
|
|
|
|
|
- list := make([]organize.Base_Organize, 0)
|
|
|
|
|
|
|
+ list := make([]commonorgnize.Base_Organize, 0)
|
|
|
svc.GetEntities(&list, where)
|
|
svc.GetEntities(&list, where)
|
|
|
var datainfo DataInfo
|
|
var datainfo DataInfo
|
|
|
datainfo.Items = list
|
|
datainfo.Items = list
|