作者 tangxuhui

修正搜索条件

... ... @@ -161,6 +161,7 @@ func (srv CooperationApplicationsService) PersonSearchCooperationApplications(ap
CompanyId: int(applicationQuery.Operator.CompanyId),
CooperationApplicationStatus: applicationQuery.Status,
UserBaseId: applicationQuery.Operator.UserBaseId,
IsCanceled: 2,
})
if err != nil {
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
... ...
... ... @@ -70,6 +70,7 @@ func (cooperationApplicationService *CooperationApplicationService) ListCooperat
PageNumber: listCooperationApplicationQuery.PageNumber,
PageSize: listCooperationApplicationQuery.PageSize,
CompanyId: int(listCooperationApplicationQuery.Operator.CompanyId),
IsCanceled: 3,
})
if err != nil {
return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
... ...
... ... @@ -171,6 +171,7 @@ type (
OrgId int64 `json:"orgId"` // 组织机构ID
UserId int64 `json:"userId"`
UserBaseId int64 `json:"userBaseId"`
IsCanceled int `json:"isCanceled"` //1正常,2取消,3所有
}
DataCooperationApplicationSearch struct {
... ...