| | |
| | | return nil |
| | | } |
| | | |
| | | type PersonInfo struct { |
| | | DocumentNumber string `json:"document_number"` |
| | | CommunityId string `json:"community_id"` |
| | | OrgId string `json:"org_id"` |
| | | PersonName string `json:"person_name"` |
| | | IdCard string `json:"id_card"` |
| | | LastAppearanceTime int64 `json:"last_appearance_time"` |
| | | LastDirection string `json:"last_direction"` |
| | | LastLocation string `json:"last_location"` |
| | | } |
| | | |
| | | func (m *DisappearModel) Run() error { |
| | | results := make([]*db.ModelTaskResults, 0) |
| | | var ageFilter, labelFilter, keyFilter, lastFilter []PersonInfo |