正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -249,7 +249,9 @@ func (repository *CooperationApplicationRepository) Find(queryOptions map[string | @@ -249,7 +249,9 @@ func (repository *CooperationApplicationRepository) Find(queryOptions map[string | ||
| 249 | query.Where(`(cooperation_application.cooperation_application_applicant->>'userBaseId' ='?')`, userBaseId) | 249 | query.Where(`(cooperation_application.cooperation_application_applicant->>'userBaseId' ='?')`, userBaseId) |
| 250 | } | 250 | } |
| 251 | if isCanceled, ok := queryOptions["isCanceled"]; ok && isCanceled.(int32) != 0 { | 251 | if isCanceled, ok := queryOptions["isCanceled"]; ok && isCanceled.(int32) != 0 { |
| 252 | - query.Where("is_canceled = ?", isCanceled) | 252 | + if isCanceled.(int32) != 3 { |
| 253 | + query.Where("is_canceled = ?", isCanceled) | ||
| 254 | + } | ||
| 253 | } | 255 | } |
| 254 | if companyId, ok := queryOptions["companyId"]; ok && companyId.(int64) != 0 { | 256 | if companyId, ok := queryOptions["companyId"]; ok && companyId.(int64) != 0 { |
| 255 | query.Where("company->>'companyId' = '?'", companyId) | 257 | query.Where("company->>'companyId' = '?'", companyId) |
-
请 注册 或 登录 后发表评论