コード例 #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);
	}
コード例 #2
0
	@SuppressWarnings("rawtypes")
	public Object save(Map p) throws SQLException {
		Object userId =userDao.saveInfo(p);
		return userId;
	}