|
@@ -7,6 +7,7 @@ import com.etotem.cfc.mapper.FamilyMemberMapper;
|
|
|
import com.etotem.cfc.mapper.OnboardingTaskMapper;
|
|
import com.etotem.cfc.mapper.OnboardingTaskMapper;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
|
import java.util.*;
|
|
import java.util.*;
|
|
@@ -27,6 +28,7 @@ public class OnboardingService {
|
|
|
private FamilyMemberMapper familyMemberMapper;
|
|
private FamilyMemberMapper familyMemberMapper;
|
|
|
|
|
|
|
|
@Resource
|
|
@Resource
|
|
|
|
|
+ @Lazy
|
|
|
private TaskService taskService;
|
|
private TaskService taskService;
|
|
|
|
|
|
|
|
private static final Map<String, int[]> REWARDS = new LinkedHashMap<>();
|
|
private static final Map<String, int[]> REWARDS = new LinkedHashMap<>();
|