dao 层实现 的方法
@Override
	public boolean checkPhone(String phone) {
		String sql = "select username from user where phone=?";
		List<Map<String, Object>> queryForList = DbUtil.queryForList(sql, phone);
		if(queryForList.isEmpty(http://www.amjmh.com/v/BIBRGZ_558768/)){
			return true;
		}
		return false;
	}
 ———————————————— 
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号