CJJ
2018-12-20 fb783f79cac8d1524fcf3f41cfaa275a6bd6e70c
gx_tieta/src/com/fgkj/dao/impl/Battinf_applyImpl.java
@@ -11,6 +11,7 @@
import com.fgkj.actions.ActionUtil;
import com.fgkj.dao.BaseDAO;
import com.fgkj.dao.BattTestData;
import com.fgkj.dao.BattinfGroupFactory;
import com.fgkj.dao.CallBack;
import com.fgkj.dao.DAOHelper;
@@ -105,6 +106,9 @@
                  ","+binf.getMonCount()+","+binf.getMonCapStd()+","+binf.getMonVolStd()+","+binf.getMonResStd()+","+binf.getMonSerStd()+","+binf.getMonVolLowToAvg()+
                  ",'"+binf.getBattProducer()+"','"+binf.getBattModel()+"','"+DAOHelper.sdf.format(binf.getBattProductDate())+"','"+DAOHelper.sdf.format(binf.getBattInUseDate())+"',"+binf.getLoad_curr()+",'"+binf.getInstall_user()+"',"+binf.getDisCurrMax()+",'"+binf.getStation_phone()+"',"+binf.getStation_install()+")";
             sql_str.add(sql_insert_binf);
             String baoji_sql="REPLACE into db_user.tb_user_battgroup_baojigroup_battgroup(baoji_group_id,StationId,BattGroupId) " +
                            " SELECT baoji_group_id,'"+binf.getStationId()+"',"+binf.getBattGroupId()+" from  db_user.tb_user_battgroup_baojigroup ";
             sql_str.add(baoji_sql);
             {
               String msg="确认添加"+binf.getStationName()+"机房"+binf.getBattGroupId()+"电池组的信息";
               User_log ulog=UinfDaoFactory.CreateULog(UinfDaoFactory.Alter, msg);
@@ -120,6 +124,7 @@
         return false;
      }
      (new User_logService()).addPro(listU);//将用户的操作记录下来
      BattTestData.run_cmd();
      return bl;
      
   }
@@ -240,7 +245,7 @@
                  apply.setApply_en(rs.getInt("apply_en"));
                  apply.setCheck_uid(rs.getInt("check_uid"));
                  apply.setCheck_en(rs.getInt("check_en"));
                  apply.setCheck_uname((new User_infImpl()).changeUidToUname(apply.getCheck_en()));
                  apply.setCheck_uname((new User_infImpl()).changeUidToUname(apply.getCheck_uid()));
                  apply.setApply_date(rs.getTimestamp("apply_date"));
                  apply.setApply_note(rs.getString("apply_note"));