作者 yangfu

合约详情人数限制修改

@@ -262,7 +262,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer @@ -262,7 +262,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer
262 262
263 // 1.项目的承接人 263 // 1.项目的承接人
264 undertakerRepository, _ := repository.NewCooperationContractUndertakerRepository(ptr.transactionContext) 264 undertakerRepository, _ := repository.NewCooperationContractUndertakerRepository(ptr.transactionContext)
265 - _, undertakers, err := undertakerRepository.Find(map[string]interface{}{"cooperationContractNumbers": contractNumbers, "companyId": project.Company.CompanyId, "orgId": project.Org.OrgId, "offsetLimitFlag": false}) 265 + _, undertakers, err := undertakerRepository.Find(map[string]interface{}{"cooperationContractNumbers": contractNumbers, "companyId": project.Company.CompanyId, "orgId": project.Org.OrgId, "offsetLimit": false})
266 userSorted := make([]string, 0) 266 userSorted := make([]string, 0)
267 mapUser := make(map[string]*domain.ContractParticipant) 267 mapUser := make(map[string]*domain.ContractParticipant)
268 for i := range undertakers { 268 for i := range undertakers {
@@ -311,6 +311,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer @@ -311,6 +311,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer
311 creditAccountRepository, _ := repository.NewCreditAccountRepository(ptr.transactionContext) 311 creditAccountRepository, _ := repository.NewCreditAccountRepository(ptr.transactionContext)
312 _, creditAccounts, err := creditAccountRepository.Find(map[string]interface{}{ 312 _, creditAccounts, err := creditAccountRepository.Find(map[string]interface{}{
313 "creditAccountIds": creditAccountIds, 313 "creditAccountIds": creditAccountIds,
  314 + "offsetLimit": false,
314 }) 315 })
315 if err != nil { 316 if err != nil {
316 return nil, err 317 return nil, err