81041
2018-12-25 9cd14356ba16fd0f8e8d930236edd118a9b8c306
gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java
@@ -172,6 +172,8 @@
            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);
@@ -192,7 +194,7 @@
         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()+"机房";