81041
2018-12-21 574e32b8d8ad4242290505433f59626777c28336
gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java
@@ -160,7 +160,7 @@
      return bl;
      
   }
   //验收申请(多条)
   //验收(多条)
   public boolean check(Object obj) {
      List<Battinf_apply> list=(List<Battinf_apply>) obj;
      List<User_log> listU=new ArrayList<User_log>();//存放user_log
@@ -183,6 +183,28 @@
      (new User_logService()).addPro(listU);//将用户的操作记录下来
      return bl;
   }
   //申请验收(多条)
   public boolean checkPro(Object obj) {
      List<Battinf_apply> list=(List<Battinf_apply>) obj;
      List<User_log> listU=new ArrayList<User_log>();//存放user_log
      ArrayList<String> sql_str=new ArrayList();
      if(list!=null&&list.size()>0){
         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();
             sql_str.add(sql_update_apply);
             {
               String msg="申请验收"+binf.getStationName()+"机房";
               User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Alter, msg);
               listU.add(ulog);
             }
         }
      }
      Boolean bl=DAOHelper.makeManualCommit(DBUtil.getConn(), sql_str);
      (new User_logService()).addPro(listU);//将用户的操作记录下来
      return bl;
   }
    //申请人再我的申请页面的修改操作
   public boolean updatePro(Object obj){
      List<Battinf_apply> list=(List<Battinf_apply>) obj;