Browse Source

何必投资列表与明细接口

anderx 3 years ago
parent
commit
ada589bae3

+ 0 - 15
src/main/java/com/goafanti/ambSystem/controller/AmbInvestApiController.java

@@ -141,21 +141,6 @@ public class AmbInvestApiController extends CertifyApiController {
 	}
 
 
-	/**
-	 * 投资明细列表
-	 * @param id 阿米巴编号
-	 * @return type 0我投资 1我被投资
-	 */
-	@RequestMapping(value="/AmbInvestDtailsList",method = RequestMethod.GET)
-	public Result AmbInvestDtailsList(Long id,Integer type ){
-		Result res =new Result();
-		if (id==null){
-			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"当前阿米巴","当前阿米巴"));
-			return res;
-		}
-		res.data(ambInvestService.AmbInvestDtailsList(id,type));
-		return res;
-	}
 
 
 

+ 0 - 1
src/main/java/com/goafanti/ambSystem/service/AmbInvestService.java

@@ -24,7 +24,6 @@ public interface AmbInvestService {
 
     List<AmbSystem> getInvestAmbList(Long id);
 
-    List<OutInvestList> AmbInvestDtailsList(Long id,Integer type);
 
 
 }

+ 1 - 5
src/main/java/com/goafanti/ambSystem/service/Impl/AmbInvestServiceImpl.java

@@ -197,11 +197,7 @@ public class AmbInvestServiceImpl extends BaseMybatisDao<AmbInvestMapper> implem
         return ambSystemMapper.selectBySuperId(ambSystem);
     }
 
-    @Override
-    public List<OutInvestList> AmbInvestDtailsList(Long id,Integer type) {
-        if (type==null)type=0;
-        return ambInvestMapper.selectAmbInvestDtailsList(id,type);
-    }
+
 
 
 }