username,PASSWORD
    

    
    

    
  /**
     *sql 与 include 标签
     *
     * */
    @Test
    public void getUserByConditionSql() {
        // 1、创建一个Map来封装参数
        Map paramMap = new HashMap();
        paramMap.put("username", "北京");
        paramMap.put("password", "8888");
        Map userMap = session.selectOne("cn.liwen.impl.UserDaoImpl.getUserByConditionSql", paramMap);
        System.out.println(userMap);// null
    }

    @Test
    public void getUserByConditionSql2() {
        // 1、创建一个Map来封装参数
        List> userList = session.selectList("cn.liwen.impl.UserDaoImpl.getUserByConditionSql2");
        System.out.println(userList);
    }