|
|
@@ -84,6 +84,11 @@ public class ERPServiceImpl implements ERPService {
|
|
|
resMap.put("Msg","查询有误!请检查传入筛选字段或条件是否有误.");
|
|
|
return resMap;
|
|
|
}
|
|
|
+ if(dataList.size() == 0){
|
|
|
+ resMap.put("Code","1004");
|
|
|
+ resMap.put("Msg","查询数据不存在.");
|
|
|
+ return resMap;
|
|
|
+ }
|
|
|
resMap.put("Data",dataList);
|
|
|
resMap.put("Code","200");
|
|
|
resMap.put("Msg","OK");
|