/** * 更新多条背景信息 * @param beans * @throws Exception */ public void saveListBackGrounds(List beans)throws Exception{ String sql = "updateDesktopStyleCustom"; executor.updateBeans(dbname, sql, beans); }
@Override public void saveNodeOrderNum(List<NodeControlParam> controlParamList) throws Exception{ executor.updateBeans("updateNodeOrderNum", controlParamList); }
public void updateBeans( String sqlname, List beans,GetCUDResult GetCUDResult) throws SQLException { updateBeans( null,sqlname, beans,GetCUDResult); }
public void updateMenuSort(List<DeskTopMenuBean> beans) throws Exception { String sql = "updateUserDeskMapMenusSort"; executor.updateBeans(dbname,sql, beans); }
public void updateBeans( String sqlname, List beans) throws SQLException { updateBeans( null,sqlname, beans); }
public void saveSmUsersOrder(String[] userIds) throws SmUserException{ if(userIds != null && userIds.length > 0) { List<Map> datas = new ArrayList<Map>(); for(int i = 0; i < userIds.length; i ++){ Map record = new HashMap(); record.put("userId", userIds[i]); record.put("userSn", i); datas.add(record); } try { this.executor.updateBeans("saveSmUsersOrder", datas); } catch(SmUserException e) { throw e; } catch (Exception e) { throw new SmUserException("pagine query SmUser failed:", e); } } } /**
public void logsetting(List<LogSetting> logSettings) throws LogException{ for(LogSetting logsetting:logSettings){ if(logsetting.getStatus() == null){ logsetting.setStatus(1); } } try { this.executor.updateBeans("logsetting", logSettings); map.clear();//fixed me:需要广播日志设定事件 } catch (SQLException e) { throw new LogException(e); } }
datas.add(record); this.executor.updateBeans("saveMoveusers", datas);
executor.updateBeans("udpNodeAssignee_wf", commonNodeList); executor.updateBeans("udpNodeWorktime_wf", noticeNodeList);
executor.insertBeans("insertNodeWorktime_wf", worktimeList); }else { executor.updateBeans("updateNodeWorktime_wf", worktimeList);