UserVatDetectRepository
extends Injectable
in package
Class UserVatDetectRepository
Table of Contents
Methods
- delete() : bool
- findAll() : Simple|null
- findByClientIdAndEventList() : Simple
- findByCountryId() : Simple|null
- findByUserId() : Simple|null
- findByUserIdAndCountryId() : array<string|int, UserVatDetect>|null
- findByUserIdAndCountryIdList() : Simple|null
- findByUserIdAndCountryIdListAndEventNotIn() : Simple|null
- findByUserIdAndEventNotIn() : Simple|null
- findByUserIdAndNoDeletedEvent() : Simple|null
- findByUserIdListAndCountryIdListAndEventNotIn() : Simple|null
- findByUserIdListAndEventListAndCountryId() : Simple
- findDeletedByUserId() : Simple|null
- findDeletedUserVatDetectByUserIdAndCountryId() : UserVatDetect|null
- findDetectedCountryIdByUserId() : Simple|null
- findFirstByUserIdAndCountryIdOrderByCreateTime() : UserVatDetect|null
- findFirstUserVatDetectByUserIdAndCountryIdAndEvent() : UserVatDetect|null
- findLastByTime() : Simple|null
- findLastByUserIdAndCountryId() : UserVatDetect|null
- save() : bool
- update() : bool
Methods
delete()
public
delete(UserVatDetect $userVatDetect) : bool
Parameters
- $userVatDetect : UserVatDetect
Return values
boolfindAll()
public
findAll() : Simple|null
Return values
Simple|nullfindByClientIdAndEventList()
public
findByClientIdAndEventList(int $clientId, array<string|int, int> $eventList) : Simple
Parameters
- $clientId : int
- $eventList : array<string|int, int>
Return values
SimplefindByCountryId()
public
findByCountryId(int $countryId) : Simple|null
Parameters
- $countryId : int
Return values
Simple|nullfindByUserId()
public
findByUserId(int $userId) : Simple|null
Parameters
- $userId : int
Return values
Simple|nullfindByUserIdAndCountryId()
public
findByUserIdAndCountryId(int $userId, int $countryId) : array<string|int, UserVatDetect>|null
Parameters
- $userId : int
- $countryId : int
Return values
array<string|int, UserVatDetect>|nullfindByUserIdAndCountryIdList()
public
findByUserIdAndCountryIdList(int $userId, array<string|int, int> $countryIdList[, array<string|int, mixed> $eventList = [] ]) : Simple|null
Parameters
- $userId : int
- $countryIdList : array<string|int, int>
- $eventList : array<string|int, mixed> = []
Return values
Simple|nullfindByUserIdAndCountryIdListAndEventNotIn()
public
findByUserIdAndCountryIdListAndEventNotIn(int $userId, array<string|int, int> $countryIdList[, array<string|int, int> $eventList = [] ]) : Simple|null
Parameters
- $userId : int
- $countryIdList : array<string|int, int>
- $eventList : array<string|int, int> = []
Return values
Simple|nullfindByUserIdAndEventNotIn()
public
findByUserIdAndEventNotIn(int $userId[, array<string|int, int> $eventList = [] ]) : Simple|null
Parameters
- $userId : int
- $eventList : array<string|int, int> = []
Return values
Simple|nullfindByUserIdAndNoDeletedEvent()
public
findByUserIdAndNoDeletedEvent(int $userId[, mixed $countryId = null ]) : Simple|null
Parameters
- $userId : int
- $countryId : mixed = null
Return values
Simple|nullfindByUserIdListAndCountryIdListAndEventNotIn()
public
findByUserIdListAndCountryIdListAndEventNotIn(array<string|int, int> $userIds, array<string|int, int> $countryIdList[, array<string|int, int> $eventList = [] ]) : Simple|null
Parameters
- $userIds : array<string|int, int>
- $countryIdList : array<string|int, int>
- $eventList : array<string|int, int> = []
Return values
Simple|nullfindByUserIdListAndEventListAndCountryId()
public
findByUserIdListAndEventListAndCountryId(array<string|int, int> $userIds, array<string|int, int> $eventList, int $countryId) : Simple
Parameters
- $userIds : array<string|int, int>
- $eventList : array<string|int, int>
- $countryId : int
Return values
SimplefindDeletedByUserId()
public
findDeletedByUserId(int $userId) : Simple|null
Parameters
- $userId : int
Return values
Simple|nullfindDeletedUserVatDetectByUserIdAndCountryId()
public
findDeletedUserVatDetectByUserIdAndCountryId(int $userId, int $countryId) : UserVatDetect|null
Parameters
- $userId : int
- $countryId : int
Return values
UserVatDetect|nullfindDetectedCountryIdByUserId()
public
findDetectedCountryIdByUserId(int $userId) : Simple|null
Parameters
- $userId : int
Return values
Simple|nullfindFirstByUserIdAndCountryIdOrderByCreateTime()
public
findFirstByUserIdAndCountryIdOrderByCreateTime(int $userId, int $countryId) : UserVatDetect|null
Parameters
- $userId : int
- $countryId : int
Return values
UserVatDetect|nullfindFirstUserVatDetectByUserIdAndCountryIdAndEvent()
public
findFirstUserVatDetectByUserIdAndCountryIdAndEvent(int $userId, int $countryId, string $event) : UserVatDetect|null
Parameters
- $userId : int
- $countryId : int
- $event : string
Return values
UserVatDetect|nullfindLastByTime()
public
findLastByTime(int $userId, int $countryId) : Simple|null
Parameters
- $userId : int
- $countryId : int
Return values
Simple|nullfindLastByUserIdAndCountryId()
public
findLastByUserIdAndCountryId(int $userId, int $countryId) : UserVatDetect|null
Parameters
- $userId : int
- $countryId : int
Return values
UserVatDetect|nullsave()
public
save(UserVatDetect $userVatDetect) : bool
Parameters
- $userVatDetect : UserVatDetect
Return values
boolupdate()
public
update(UserVatDetect $userVatDetect) : bool
Parameters
- $userVatDetect : UserVatDetect