| | |
| | | bapply.setCheck_uid(((User_inf)ActionUtil.getUser()).getUId());
|
| | | String sql_update_apply=" update db_battinf.tb_battinf_apply set check_uid="+bapply.getCheck_uid()+",check_en=1 where battgroupid="+binf.getBattGroupId();
|
| | | sql_str.add(sql_update_apply);
|
| | | String sql_replace_map=" replace into web_site.tb_battmap_information(StationId,StationName,address,longitude,latitude) values('"+binf.getStationId()+"','"+binf.getStationName()+"','"+bapply.getAddress()+"',"+bapply.getLongitude()+","+bapply.getLatitude()+")";
|
| | | sql_str.add(sql_replace_map);
|
| | | {
|
| | | String msg="验收"+binf.getStationName()+"机房";
|
| | | User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Alter, msg);
|
| | |
| | | for (int i = 0; i < list.size(); i++) {
|
| | | Battinf_apply bapply=list.get(i);
|
| | | BattInf binf=bapply.getBinf();
|
| | | String sql_update_apply=" update db_battinf.tb_battinf_apply set check_en=2 where battgroupid="+binf.getBattGroupId();
|
| | | String sql_update_apply=" update db_battinf.tb_battinf_apply set check_en=2,longitude="+bapply.getLongitude()+",latitude="+bapply.getLatitude()+",address='"+bapply.getAddress()+"' where battgroupid="+binf.getBattGroupId();
|
| | | sql_str.add(sql_update_apply);
|
| | | {
|
| | | String msg="申请验收"+binf.getStationName()+"机房";
|