| | |
| | |
|
| | | 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;
|
| | |
| | | bapply.setConfrim_uid(((User_inf)ActionUtil.getUser()).getUId());
|
| | | BattInf binf=bapply.getBinf();
|
| | | binf.setStation_install(1);
|
| | | String sql_update_apply=" update db_battinf.tb_battinf_apply set confrim_uid="+bapply.getConfrim_uid()+",apply_en=1 where battgrouoid="+binf.getBattGroupId();
|
| | | String sql_update_apply=" update db_battinf.tb_battinf_apply set confrim_uid="+bapply.getConfrim_uid()+",apply_en=1 where battgroupid="+binf.getBattGroupId();
|
| | | sql_str.add(sql_update_apply);
|
| | | String sql_insert_binf="insert into db_battinf.tb_battinf(" +
|
| | | "StationId,StationName,StationName1,StationName2,StationName3,StationName4,StationName5,StationIp,FBSDeviceId,FbsDeviceIp,FbsDeviceIp_YM,FbsDeviceIp_WG,"
|
| | |
| | | return false;
|
| | | }
|
| | | (new User_logService()).addPro(listU);//将用户的操作记录下来
|
| | | BattTestData.run_cmd();
|
| | | return bl;
|
| | |
|
| | | }
|
| | |
| | | Battinf_apply bapply=list.get(i);
|
| | | BattInf binf=bapply.getBinf();
|
| | | 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 battgrouoid="+binf.getBattGroupId();
|
| | | 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 msg="验收"+binf.getStationName()+"机房";
|
| | |
| | | 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"));
|
| | |
|