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

ExcelReadHerlper问题 #10

Open
guanpingtang opened this issue Dec 8, 2017 · 0 comments
Open

ExcelReadHerlper问题 #10

guanpingtang opened this issue Dec 8, 2017 · 0 comments

Comments

@guanpingtang
Copy link

properties、obj需要符合如下规则:

* 1、obj对象必须存在默认构造函数,且属性需存在setter方法

* 2、properties中的值必须是在obj中存在的属性,且obj中必须存在这些属性的setter方法。

* 3、properties中值得顺序要与Excel中列相相应,否则值会设置错:

请问传入的properties是一个硬编码的东西,如果他跟model字段不一样或者跟excel顺序不一致的话,就得不到预期的结果了。
请问大神有良好的思路应对这些变化吗?

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

1 participant