List<map>转list<javaBean> ,程序里写的是List<javaBean>不知道为啥变成list<map>了。。
publicDrJfDepartmentcostsaveDeptMC(List<DrJfDepartmentcost>departmentCost){DrJfDepart...
public DrJfDepartmentcost saveDeptMC(List<DrJfDepartmentcost> departmentCost) { DrJfDepartmentcost drJfDepartmentcost = new DrJfDepartmentcost(); for(int i=0;i<departmentCost.size();i++){ //BigDecimal cstotalcos = departmentCost.get(i).getCloudservicedate(); BigDecimal dmc = (BigDecimal)departmentCost.get(i).getCloudservicesum(); System.out.println(dmc); } departMCDAO.saveDeptMC(drJfDepartmentcost); return drJfDepartmentcost; }
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询