| | |
| | | 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
|
| | |
| | | (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;
|