...
|
...
|
@@ -33,6 +33,8 @@ func (dao *CooperationApplicationDao) CheckApplicationExist(queryOptions map[str |
|
|
if applicantBaseId, ok := queryOptions["applicantBaseId"]; ok && applicantBaseId.(int64) != 0 {
|
|
|
query = query.Where(`cooperation_application.cooperation_application_applicant @>'{"userBaseId":"?"}'`, applicantBaseId)
|
|
|
}
|
|
|
query.Where("cooperation_application.cooperation_application_status <> 3")
|
|
|
query.Where("cooperation_application.is_canceled <> 2")
|
|
|
ok, err := query.Exists()
|
|
|
return ok, err
|
|
|
}
|
...
|
...
|
|