|
|
@@ -135,7 +135,7 @@ func (this *RoleController) OrgAllList() {
|
|
|
unitId := svc.GetMyUnitDepartmentId(this.User.DepartmentId)
|
|
|
ids = svc.GetAllChildById(unitId)
|
|
|
}
|
|
|
- where := " Id in ( " + ids + " )"
|
|
|
+ where := "( Createuserid=" + this.User.Id + " or Id in (" + ids + "))"
|
|
|
|
|
|
list := make([]commonorgnize.Base_Organize, 0)
|
|
|
svc.GetEntities(&list, where)
|