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

还原注释的传Object的方法 #1100

Merged
merged 1 commit into from Jul 25, 2016
Merged

还原注释的传Object的方法 #1100

merged 1 commit into from Jul 25, 2016

Conversation

denghuafeng
Copy link
Contributor

还原注释的传Object的方法,项目在用这些方法了,别注释呀!

还原注释的传Object的方法,项目在用这些方法了,别注释呀!
@wendal wendal merged commit 247c4f2 into nutzam:master Jul 25, 2016
@ywjno
Copy link
Member

ywjno commented Jul 25, 2016

注释掉的这种方法加个@Deprecated

@wendal
Copy link
Member

wendal commented Jul 26, 2016

原因是会与用户自定义的方法冲突,所以才没有放在1.r.57咯

@denghuafeng
Copy link
Contributor Author

EntityService里都包含了最基础的service操作方法。涉及到业务或应用等操作时才自定义方法,自定义的方法名可以改成更具有意义些的,而不是跟EntityService方法一样。

@denghuafeng
Copy link
Contributor Author

@ywjno 不能加@deprecated注解,此注解的意义是此方法废弃了,不建议使用等。这不符合这些方法的原意,原意是鼓励使用这些方法的,限制传的objec类型为当前Service限制的泛型T,防止误传。另外一个这里Service都包含了基础的service操作,不用在调用dao().insert等类似方法去使用。提倡使用这些方法,而不是不建议废弃。

@wendal
Copy link
Member

wendal commented Aug 10, 2016

这是个大坑...

@Wizzercn
Copy link
Member

其实 Service 应该自己封装才比较合理,框架不应该带这个。
自己根据dao封装即可,用Service增改都影响很大。

@ywjno
Copy link
Member

ywjno commented Aug 10, 2016

统统进 nutzmore 里面去

@wendal
Copy link
Member

wendal commented Aug 10, 2016

加前缀了

@wendal
Copy link
Member

wendal commented Aug 10, 2016

@ywjno 快把你的java版nutz-qrcode迁入nutzmore啊

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

Successfully merging this pull request may close these issues.

None yet

4 participants