SQL映射文件中有如下配置:
<select id="selectA
2024-01-20SSM第一单元
SQL映射文件中有如下配置:
<select id="selectAll" resultType="com.bawei.pojo.Account">
Select * from account
</select>
则Mapper接口中与之对应的方法声明为()?
A.public void selectAll();
B.public List<Account> selectAll();
C.public void selectAll(Account account);
D.public void selectAll(List<Account> account);
正确答案是B
