@SuppressWarnings("rawtypes") public Object updateAll(Map p) throws SQLException { if(p.get("nXh")==null||"".equals(p.get("nXh"))){ return userDao.saveInfo(p); } return userDao.updateAllInfo(p); }
@SuppressWarnings("rawtypes") public Object save(Map p) throws SQLException { Object userId =userDao.saveInfo(p); return userId; }