...
|
...
|
@@ -445,7 +445,7 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr |
|
|
// 获取审核人
|
|
|
var verifier *domain.User
|
|
|
if data, err := userService.UserFrom(oneClickApprovalCooperationApplicationCommand.CompanyId, oneClickApprovalCooperationApplicationCommand.OrgId, oneClickApprovalCooperationApplicationCommand.UserId); err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取申请人失败")
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取审核人失败")
|
|
|
} else {
|
|
|
verifier = data
|
|
|
}
|
...
|
...
|
@@ -453,6 +453,10 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr |
|
|
// 查询共创申请
|
|
|
oneClickApprovalCooperationApplicationCommand.CooperationApplicationStatus = 1 // 待审核
|
|
|
oneClickApprovalCooperationApplicationCommand.OffsetLimit = false
|
|
|
oneClickApprovalCooperationApplicationCommand.IsCanceled = int32(1)
|
|
|
oneClickApprovalCooperationApplicationCommand.UserBaseId = 0
|
|
|
oneClickApprovalCooperationApplicationCommand.UserId = 0
|
|
|
|
|
|
if count, cooperationApplications, err := cooperationApplicationRepository.Find(tool_funs.SimpleStructToMap(oneClickApprovalCooperationApplicationCommand)); err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
} else {
|
...
|
...
|
|