| | |
| | | if(list!=null && list.size()>0){
|
| | | for (int i = 0; i < list.size(); i++) {
|
| | | Battinf_apply bapply=list.get(i);
|
| | | /*int uid=((User_inf)ActionUtil.getUser()).getUId();
|
| | | bapply.setApply_uid(uid);*/
|
| | | int uid=((User_inf)ActionUtil.getUser()).getUId();
|
| | | bapply.setApply_uid(uid);
|
| | | BattInf binf=bapply.getBinf();
|
| | | //验证新添加的机房是否存在
|
| | | List listS=(new BattInfImpl()).judgeBatt(binf);
|
| | |
| | | }
|
| | | maxb++;
|
| | | sql_str.add(sql);
|
| | | /*{
|
| | | {
|
| | | String msg=((User_inf)ActionUtil.getUser()).getUId()+"申请添加"+binf.getStationName()+"机房"+binf.getBattGroupId()+"电池组的信息";
|
| | | User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Increase, msg);
|
| | | listU.add(ulog);
|
| | | }*/
|
| | | }
|
| | | }
|
| | | }
|
| | | Boolean bl=false;
|
| | |
| | | }else{
|
| | | return false;
|
| | | }
|
| | | //(new User_logService()).addPro(listU);//将用户的操作记录下来
|
| | | (new User_logService()).addPro(listU);//将用户的操作记录下来
|
| | |
|
| | | return bl;
|
| | | }
|