mybatis-generator-gui-plus icon indicating copy to clipboard operation
mybatis-generator-gui-plus copied to clipboard

batch相关的接口方法,参数都不是List

Open 308299160 opened this issue 3 years ago • 3 comments

batch相关的接口方法,参数应该是List不应该是单个对象

308299160 avatar Apr 27 '21 05:04 308299160

你这个工程拉下来,,运行怎么都没有batch的方法生成呢?

`` public interface ApprovalDAO {

long countByExample(ApprovalExample example);

int deleteByExample(ApprovalExample example);

int deleteByPrimaryKey(String id);

int insert(Approval record);

int insertSelective(Approval record);

List<Approval> selectByExample(ApprovalExample example);

Approval selectByPrimaryKey(String id);

int updateByExampleSelective(@Param("record") Approval record, @Param("example") ApprovalExample example);

int updateByExample(@Param("record") Approval record, @Param("example") ApprovalExample example);

int updateByPrimaryKeySelective(Approval record);

int updateByPrimaryKey(Approval record);

}``

flykingcodepark avatar Oct 08 '21 08:10 flykingcodepark

可以打包成idea插件运行吗

dpchenxk avatar Mar 28 '22 11:03 dpchenxk

我也没看到batch方法,最后怎么解决的?

iockx avatar Aug 19 '22 16:08 iockx