| | |
| | | import com.fgkj.db.BaseDAO; |
| | | import com.fgkj.db.CallBack; |
| | | import com.fgkj.pojo.Dev_Vol; |
| | | import com.fgkj.pojo.FileReValueAbbreviation; |
| | | import com.fgkj.pojo.FileReValueAll; |
| | | import com.fgkj.service.Dev_VolService; |
| | | import com.sun.org.apache.bcel.internal.generic.DCMPG; |
| | | |
| | |
| | | |
| | | @Override |
| | | public List serchByInfo(Object obj) { |
| | | // TODO Auto-generated method stub |
| | | return null; |
| | | } |
| | | //读取缩略图 |
| | |
| | | return list; |
| | | } |
| | | //将字符串转换成对象 |
| | | public static Dev_Vol changeStrToDev_Vol(String volStr,int flag) { |
| | | public static Object changeStrToDev_Vol(String volStr,int flag) { |
| | | String[] vol=volStr.split(","); |
| | | Dev_Vol dv=new Dev_Vol(); |
| | | if(flag==0) { |
| | | dv.setDateStr(vol[0]); |
| | | dv.setDev_vol(Double.valueOf(vol[1])); |
| | | dv.setNum((int)Double.parseDouble(vol[2])); |
| | | FileReValueAbbreviation frva=new FileReValueAbbreviation(); |
| | | frva.setDateStr(vol[0]); |
| | | frva.setDev_value(Double.valueOf(vol[1])); |
| | | frva.setNum((int)Double.parseDouble(vol[2])); |
| | | return frva; |
| | | }else{ |
| | | dv.setDateStr(vol[0]); |
| | | dv.setDev_vol(Double.valueOf(vol[1])); |
| | | FileReValueAll fr=new FileReValueAll(); |
| | | fr.setDateStr(vol[0]); |
| | | fr.setDev_value(Double.valueOf(vol[1])); |
| | | return fr; |
| | | } |
| | | |
| | | return dv; |
| | | } |
| | | //读取文件路径 |
| | | public static String getfilePath(String fileName) { |