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

业务实现求解 #83

Open
fenglinhuowu opened this issue Jan 12, 2024 · 2 comments
Open

业务实现求解 #83

fenglinhuowu opened this issue Jan 12, 2024 · 2 comments

Comments

@fenglinhuowu
Copy link

求教一个简单的业务,如果我想在用户表里面增加2个字段A,然后在查询、新增用户和编辑用户的时候能使用。都需要改哪些地方呀?

@AZ000000
Copy link

dao层重新生成,logic层对应的方法进行修改

@capton586
Copy link

如果logic 本身没什么修改的话, 直接重新生成就行.
如果修改比较多, 可以用新生成的和自己的代码对比一下, 然后依次对比提交
如果修改的模块耦合较多, 只是需要临时添加一下, 可以用 db对象重新获取你需要的字段
如果想自己实现, 就按照代码生成的逻辑走一遍: 接口>dao > service > 枚举 (如果有) enums > pb > pbentity

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

3 participants