正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
@@ -31,7 +31,11 @@ func (subscriber *MmmOpenApiServiceServiceSubscriber) HandleEvent(domainEvent co | @@ -31,7 +31,11 @@ func (subscriber *MmmOpenApiServiceServiceSubscriber) HandleEvent(domainEvent co | ||
31 | employeeRepository = repository | 31 | employeeRepository = repository |
32 | } | 32 | } |
33 | uids := make([]int64, 0) | 33 | uids := make([]int64, 0) |
34 | - if _, employees, err := employeeRepository.Find(map[string]interface{}{"companyId": taskReleasedEvent.CompanyId}); err != nil { | 34 | + if _, employees, err := employeeRepository.Find(map[string]interface{}{ |
35 | + "companyId": taskReleasedEvent.CompanyId, | ||
36 | + "offset": 0, | ||
37 | + "limit": 0, | ||
38 | + }); err != nil { | ||
35 | fmt.Println(err.Error()) | 39 | fmt.Println(err.Error()) |
36 | return nil | 40 | return nil |
37 | } else { | 41 | } else { |
-
请 注册 或 登录 后发表评论