
mybatis
ctllin
孤芳自赏
展开
-
mybatis 逆向工程 自定义扩展Mapper.java和Mapper.xml
<?xml version="1.0" encoding="UTF-8"?><!-- Copyright 2006-2022 the original author or authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.原创 2022-04-01 16:07:40 · 958 阅读 · 0 评论 -
mybatis 逆向工程 批量插入插件
代码示例 Wiki - Gitee.com原创 2022-04-01 11:21:57 · 1537 阅读 · 0 评论 -
mybatisplus自定义mapper不生效问题
package com.hanshow.wise.base.powerbi.config;import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceBuilder;import com.baomidou.mybatisplus.annotation.DbType;import com.baomidou.mybatisplus.core.MybatisConfiguration;import com.baomidou.myb.原创 2021-08-03 09:38:05 · 2436 阅读 · 0 评论 -
mybatis批量插入-自动适配表名自动适配表字段
@Autowired private TbUserMapper tbUserMapper; @Override public boolean saveBatch(Collection<TbUser> entityList, int batchSize) { return tbUserMapper.insertBatch(entityList, BeanUtil.getTableClassBean(TbUser.class))>0?true:f...原创 2020-12-10 17:55:38 · 610 阅读 · 0 评论