Closed wangyihang875 closed 4 years ago
环境 spring-boot-starter-parent version>1.5.9.RELEASE mapper-spring-boot-starter version>1.2.4 mybatis-spring-boot-starter version>1.3.1 mybatis-generator-core version>1.3.2 mysql-connector-java version>5.1.41 druid-spring-boot-starter version>1.1.9
应该用insertSelective
环境 spring-boot-starter-parent version>1.5.9.RELEASE mapper-spring-boot-starter version>1.2.4 mybatis-spring-boot-starter version>1.3.1 mybatis-generator-core version>1.3.2 mysql-connector-java version>5.1.41 druid-spring-boot-starter version>1.1.9