...
|
...
|
@@ -1271,7 +1271,19 @@ loop: |
|
|
return chargeUserList, nil
|
|
|
}
|
|
|
|
|
|
func (srv StaffAssessServeice) recoverAssessCache(context application.TransactionContext, assessId int, dataArray []*domain.StaffAssessContent) {
|
|
|
// TODO
|
|
|
func (srv *StaffAssessServeice) getStaffSuperV2(transactionContext application.TransactionContext, targetUser domain.User) ([]*domain.User, error) {
|
|
|
|
|
|
userRepo := factory.CreateUserRepository(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
|
|
})
|
|
|
|
|
|
userRepo.Find(map[string]interface{}{})
|
|
|
|
|
|
return nil, nil
|
|
|
}
|
|
|
|
|
|
func (srv *StaffAssessServeice) recoverAssessCache(context application.TransactionContext, assessId int, dataArray []*domain.StaffAssessContent) {
|
|
|
cacheRepository := factory.CreateStaffAssessCacheRepository(map[string]interface{}{"transactionContext": context})
|
|
|
_, caches, err := cacheRepository.Find(map[string]interface{}{"assessId": assessId, "limit": 1})
|
|
|
if err != nil || len(caches) == 0 {
|
...
|
...
|
|