Browse Source

feat: 应客户要求,获取客户系统数据接口不返回数据

suntg 6 years ago
parent
commit
d7d00bc8a4

+ 12 - 0
src/main/java/com/uas/platform/b2b/openapi/controller/CustDataController.java

@@ -79,6 +79,8 @@ public class CustDataController {
 		if (brands == null) {
             throw new SystemError(ErrorUtils.NO_BRAND_FOUND);
         }
+        return new ArrayList<CustData<Stock>>();
+		/* 应客户要求,接口不返回数据,2019-2-19 09:24:33,suntg
 		return iteratorCustTasks(custId, new ICallable<CustData<Stock>, Vendor>() {
 
 			@Override
@@ -87,6 +89,7 @@ public class CustDataController {
 			}
 
 		});
+		*/
 	}
 
 	/**
@@ -112,6 +115,8 @@ public class CustDataController {
 		if (brands == null) {
             throw new SystemError(ErrorUtils.NO_BRAND_FOUND);
         }
+        return new ArrayList<CustData<Sale>>();
+		/* 应客户要求,接口不返回数据,2019-2-19 09:24:33,suntg
 		// 起始日期为空则取当月第一天
 		final String _startDate = startDate == null ? DateUtils.getMinMonthDateS(new Date()) : startDate;
 		return iteratorCustTasks(custId, new ICallable<CustData<Sale>, Vendor>() {
@@ -122,6 +127,7 @@ public class CustDataController {
 			}
 
 		});
+		*/
 	}
 
 	/**
@@ -147,6 +153,8 @@ public class CustDataController {
 		if (brands == null) {
             throw new SystemError(ErrorUtils.NO_BRAND_FOUND);
         }
+		return new ArrayList<CustData<IO>>();
+		/* 应客户要求,接口不返回数据,2019-2-19 09:24:33,suntg
 		// 起始日期为空则取当月第一天
 		final String _startDate = startDate == null ? DateUtils.getMinMonthDateS(new Date()) : startDate;
 		return iteratorCustTasks(custId, new ICallable<CustData<IO>, Vendor>() {
@@ -157,6 +165,7 @@ public class CustDataController {
 			}
 
 		});
+		*/
 	}
 
 	/**
@@ -182,6 +191,8 @@ public class CustDataController {
 		if (brands == null) {
             throw new SystemError(ErrorUtils.NO_BRAND_FOUND);
         }
+		return new ArrayList<CustData<Forecast>>();
+		/* 应客户要求,接口不返回数据,2019-2-19 09:24:33,suntg
 		// 起始日期为空则取当月第一天
 		final String _startDate = startDate == null ? DateUtils.getMinMonthDateS(new Date()) : startDate;
 		return iteratorCustTasks(custId, new ICallable<CustData<Forecast>, Vendor>() {
@@ -192,6 +203,7 @@ public class CustDataController {
 			}
 
 		});
+		*/
 	}
 
 	/**