作者 tangxuhui

项目申请 审核人 数据补充

... ... @@ -110,10 +110,18 @@ func (data *CooperationApplicationDto) LoadUser(v *domain.User) *User {
if v == nil {
return &User{}
}
return &User{
result := User{
UserId: v.UserId,
UserInfo: v.UserInfo,
}
if v.Department != nil {
result.Department = &Department{
DepartmentId: v.Department.DepartmentId,
DepartmentName: v.Department.DepartmentName,
}
}
return &result
}
func (data *CooperationApplicationDto) LoadCompany(v *domain.Company) *Company {
... ...