Ejemplo n.º 1
0
	@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);
	}
Ejemplo n.º 2
0
	@SuppressWarnings("rawtypes")
	public Object save(Map p) throws SQLException {
		Object userId =userDao.saveInfo(p);
		return userId;
	}