package com.soft;
import com.soft.Util.MybatisUtils;
import com.soft.model.Order;
import com.soft.model.Role;
import org.apache.ibatis.session.SqlSession;
import java.util.List;
public class Test {
public static void main(String[] args) {
SqlSession sqlSession = MybatisUtils.getSqlSession();
List<Object> orders = sqlSession.selectList("com.soft.mapper.PersonMapper.findUserRole");
for (Object order : orders) {
System.out.println(order);
}
sqlSession.close();
}
}