作者 yangfu

共创项目详情功能修改

... ... @@ -69,7 +69,7 @@ func (ut *Referrer) ToUser() *User {
}
func (ut *Salesman) ToUser() *User {
return &User{UserId: ut.UserId, UserInfo: ut.UserInfo}
return &User{UserId: ut.UserId, UserBaseId: ut.UserBaseId, UserInfo: ut.UserInfo}
}
func NewContractParticipant(u *User, primaryKey string, attachments []*Attachment) *ContractParticipant {
... ...
... ... @@ -207,8 +207,8 @@ func (ptr *CooperationStatisticsService) cooperationModeStatistics(mode *domain.
func (ptr *CooperationStatisticsService) CompanyDividendsStatistics(queryOptions map[string]interface{}) (interface{}, error) {
// 参数验证
var request = struct {
CompanyId int64 `json:"companyId" valid:"Required"`
OrgId int64 `json:"orgId" valid:"Required"`
CompanyId int64 `json:"companyId" ` //valid:"Required"
OrgId int64 `json:"orgId" ` //valid:"Required"
Action int `json:"action" valid:"Required"`
}{}
if err := LoadQueryObject(queryOptions, &request); err != nil {
... ...