|
|
@@ -2,7 +2,6 @@ package com.goafanti.ambSystem.service.Impl;
|
|
|
|
|
|
import com.goafanti.ambSystem.bo.AmbAll;
|
|
|
import com.goafanti.ambSystem.bo.InputAmb;
|
|
|
-import com.goafanti.ambSystem.bo.InputAmbInvest;
|
|
|
import com.goafanti.ambSystem.bo.OutAmb;
|
|
|
import com.goafanti.ambSystem.service.AmbService;
|
|
|
import com.goafanti.common.dao.AdminMapper;
|
|
|
@@ -11,8 +10,6 @@ import com.goafanti.common.dao.AmbInvestMapper;
|
|
|
import com.goafanti.common.dao.AmbSystemMapper;
|
|
|
import com.goafanti.common.error.BusinessException;
|
|
|
import com.goafanti.common.model.Admin;
|
|
|
-import com.goafanti.common.model.AmbInvest;
|
|
|
-import com.goafanti.common.model.AmbInvestLog;
|
|
|
import com.goafanti.common.model.AmbSystem;
|
|
|
import com.goafanti.common.utils.StringUtils;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
@@ -21,9 +18,7 @@ import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
-import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
-import java.math.BigDecimal;
|
|
|
import java.util.*;
|
|
|
|
|
|
@Service
|
|
|
@@ -181,6 +176,7 @@ public class AmbServiceImpl extends BaseMybatisDao<AmbSystemMapper> implements A
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
private void pushLvl(AmbAll a , List<AmbAll> list) {
|
|
|
if (a.getLvl()<7){
|
|
|
List<AmbAll> all=new ArrayList<>();
|
|
|
@@ -216,6 +212,10 @@ public class AmbServiceImpl extends BaseMybatisDao<AmbSystemMapper> implements A
|
|
|
return str;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ @Override
|
|
|
+ public Object getMyambDtails() {
|
|
|
+ List<AmbSystem> ambSystems = ambSystemMapper.selectByParameter(new AmbSystem(TokenManager.getAdminId()));
|
|
|
+ return ambSystems;
|
|
|
+ }
|
|
|
|
|
|
}
|