正在显示
1 个修改的文件
包含
1 行增加
和
4 行删除
@@ -163,13 +163,10 @@ func ValidChancePermission(uid, cid int64, items []*protocol.CommonListItem) (er | @@ -163,13 +163,10 @@ func ValidChancePermission(uid, cid int64, items []*protocol.CommonListItem) (er | ||
163 | } | 163 | } |
164 | items[i].ChanceStatus = protocol.ChanceStatusClose | 164 | items[i].ChanceStatus = protocol.ChanceStatusClose |
165 | case OpportunityCheckLv3: | 165 | case OpportunityCheckLv3: |
166 | - //if chanceUserId == uid { | ||
167 | - // continue | ||
168 | - //} | ||
169 | - if _, ok := checkMap[OpportunityCheckLv2]; ok { //同时存在对部门公开的机会 | ||
170 | if chancePublicStatus == protocol.PublicToCompany { | 166 | if chancePublicStatus == protocol.PublicToCompany { |
171 | continue | 167 | continue |
172 | } | 168 | } |
169 | + if _, ok := checkMap[OpportunityCheckLv2]; ok { //同时存在对部门公开的机会 | ||
173 | if chancePublicStatus == protocol.PublicToDepartment { | 170 | if chancePublicStatus == protocol.PublicToDepartment { |
174 | if len(userDIds) == 0 { | 171 | if len(userDIds) == 0 { |
175 | if e := models.GetUserDepartmentIds(uid, cid, &userDIds); e != nil { | 172 | if e := models.GetUserDepartmentIds(uid, cid, &userDIds); e != nil { |
-
请 注册 或 登录 后发表评论