Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【GIF】使用方法 #1

Open
abel533 opened this issue Aug 5, 2018 · 6 comments
Open

【GIF】使用方法 #1

abel533 opened this issue Aug 5, 2018 · 6 comments

Comments

@abel533
Copy link
Member

abel533 commented Aug 5, 2018

create-project

@abel533
Copy link
Member Author

abel533 commented Aug 5, 2018

generator

@abel533
Copy link
Member Author

abel533 commented Aug 5, 2018

file-generator

@iwc2011911
Copy link

iwc2011911 commented Dec 20, 2018

nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression '@tk.mybatis.mapper.genid.GenIdUtil@genId(_parameter, 'id', @tk.guozilan.base.model.genid.VestaGenId@class, 'cop_staff', 'id')'. Cause: org.apache.ibatis.ognl.MethodFailedException: Method "genId" failed for object class tk.mybatis.mapper.genid.GenIdUtil [tk.mybatis.mapper.MapperException: 生成 ID 失败!]

mysql 主键bigint

@abel533
Copy link
Member Author

abel533 commented Dec 20, 2018

基类用的 vesta 的 BaseId ?

@iwc2011911
Copy link

基类用的 vesta 的 BaseId ?

我没有改动,下载parent和base、archetype,mvn install到本地库,然后mvn archetype:generate -DarchetypeCatalog=local生成的项目,删除、修改、分页都没有问题,只有新增有这个报错

@iwc2011911
Copy link

基类用的 vesta 的 BaseId ?

看了下,是用的vesta 的 BaseId。
guozilanTK\base\base-id\base-id-vesta\src\main\java\tk\guozilan\base\model\BaseId.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants