|
@@ -245,7 +245,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
|
@@ -245,7 +245,7 @@ func (ptr *CooperationStatisticsService) PersonCooperationProjectSharedInfo(quer |
245
|
|
245
|
|
246
|
// 0.2 合约数据
|
246
|
// 0.2 合约数据
|
247
|
contractRepository, _ := dao.NewCooperationContractDao(ptr.transactionContext) // repository.NewCooperationContractRepository(ptr.transactionContext)
|
247
|
contractRepository, _ := dao.NewCooperationContractDao(ptr.transactionContext) // repository.NewCooperationContractRepository(ptr.transactionContext)
|
248
|
- _, contracts, _ := contractRepository.Find(map[string]interface{}{"cooperationProjectNumber": project.CooperationProjectNumber, "companyId": project.Company.CompanyId, "orgId": project.Org.OrgId})
|
248
|
+ _, contracts, _ := contractRepository.Find(map[string]interface{}{"cooperationProjectNumber": project.CooperationProjectNumber, "companyId": project.Company.CompanyId, "orgId": project.Org.OrgId, "offsetLimit": false})
|
249
|
if len(contracts) == 0 {
|
249
|
if len(contracts) == 0 {
|
250
|
return response, nil
|
250
|
return response, nil
|
251
|
}
|
251
|
}
|
|
@@ -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})
|
265
|
+ _, undertakers, err := undertakerRepository.Find(map[string]interface{}{"cooperationContractNumbers": contractNumbers, "companyId": project.Company.CompanyId, "orgId": project.Org.OrgId, "offsetLimitFlag": 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 {
|