|
@@ -445,7 +445,7 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr |
|
@@ -445,7 +445,7 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr |
445
|
// 获取审核人
|
445
|
// 获取审核人
|
446
|
var verifier *domain.User
|
446
|
var verifier *domain.User
|
447
|
if data, err := userService.UserFrom(oneClickApprovalCooperationApplicationCommand.CompanyId, oneClickApprovalCooperationApplicationCommand.OrgId, oneClickApprovalCooperationApplicationCommand.UserId); err != nil {
|
447
|
if data, err := userService.UserFrom(oneClickApprovalCooperationApplicationCommand.CompanyId, oneClickApprovalCooperationApplicationCommand.OrgId, oneClickApprovalCooperationApplicationCommand.UserId); err != nil {
|
448
|
- return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取申请人失败")
|
448
|
+ return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取审核人失败")
|
449
|
} else {
|
449
|
} else {
|
450
|
verifier = data
|
450
|
verifier = data
|
451
|
}
|
451
|
}
|
|
@@ -454,6 +454,9 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr |
|
@@ -454,6 +454,9 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr |
454
|
oneClickApprovalCooperationApplicationCommand.CooperationApplicationStatus = 1 // 待审核
|
454
|
oneClickApprovalCooperationApplicationCommand.CooperationApplicationStatus = 1 // 待审核
|
455
|
oneClickApprovalCooperationApplicationCommand.OffsetLimit = false
|
455
|
oneClickApprovalCooperationApplicationCommand.OffsetLimit = false
|
456
|
oneClickApprovalCooperationApplicationCommand.IsCanceled = int32(1)
|
456
|
oneClickApprovalCooperationApplicationCommand.IsCanceled = int32(1)
|
|
|
457
|
+ oneClickApprovalCooperationApplicationCommand.UserBaseId = 0
|
|
|
458
|
+ oneClickApprovalCooperationApplicationCommand.UserId = 0
|
|
|
459
|
+
|
457
|
if count, cooperationApplications, err := cooperationApplicationRepository.Find(tool_funs.SimpleStructToMap(oneClickApprovalCooperationApplicationCommand)); err != nil {
|
460
|
if count, cooperationApplications, err := cooperationApplicationRepository.Find(tool_funs.SimpleStructToMap(oneClickApprovalCooperationApplicationCommand)); err != nil {
|
458
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
461
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
459
|
} else {
|
462
|
} else {
|