随笔分类 -  mybatis

摘要:参考文档 https://blog.csdn.net/YikunWu/article/details/143303426 阅读全文
posted @ 2024-12-10 21:58 iTao0128 阅读(5) 评论(0) 推荐(0) 编辑
摘要:引入场景启动器 阅读全文
posted @ 2022-10-09 22:25 iTao0128 阅读(15) 评论(0) 推荐(0) 编辑
摘要:实现返回值是一个对象集合(List<Object>)的操作 (1).在接口中定义编写查询的方法 public List<Employee> getEmpsByLastNameLike(String lastName); (2).在该实体对象的对应的映射文件中进行查询的配置 <select id="g 阅读全文
posted @ 2021-08-15 15:37 iTao0128 阅读(3697) 评论(0) 推荐(0) 编辑
摘要:Mapper.java public interface StorageMapper extends BaseMapper<Storage> { List<Integer> getStorageIdByChannelId(List<Integer> channelIds); } mapper.xml 阅读全文
posted @ 2021-07-22 22:24 iTao0128 阅读(539) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示