- public static String getNowTime() {
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
- return sdf.format(new Date());
- }
-
- public static EsrSystemInfoList getEsrSystemInfoList(AuthInfo authInfo) {
- EsrSystemInfoList esrSystemInfoList = new EsrSystemInfoList();
- EsrSystemInfo esrSystemInfo = new EsrSystemInfo();
- ArrayList<AuthInfo> authInfos = new ArrayList<AuthInfo>();
- authInfos.add(authInfo);
- esrSystemInfo.setEsrSystemInfo(authInfos);
- esrSystemInfoList.setEsrSystemInfo(esrSystemInfo);
- return esrSystemInfoList;
- }
+ public EsrSystemInfoList getEsrSystemInfoListFromAuthInfoList(List<EsrSystemInfo> esrSystemInfo) {
+ EsrSystemInfoList esrSystemInfoList = new EsrSystemInfoList();
+ esrSystemInfoList.setEsrSystemInfo(esrSystemInfo);;
+ return esrSystemInfoList;
+ }