Skip to content

/online/cgform/api/exportXls/{code}接口问题 #1012

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

Closed
qazjiangchuan opened this issue Mar 16, 2020 · 2 comments
Closed

/online/cgform/api/exportXls/{code}接口问题 #1012

qazjiangchuan opened this issue Mar 16, 2020 · 2 comments

Comments

@qazjiangchuan
Copy link

版本号:

hibernate-re:5.2.13

问题描述:

/online/cgform/api/exportXls/{code}
这个接口,好像是传时间范围的时候,无论begin还是end 都会解析成 >= 导致数据不准确。

截图&代码:

image
image

友情提示: 未按格式要求发帖,会直接删掉。

@qazjiangchuan
Copy link
Author

qazjiangchuan commented Mar 16, 2020

问题应该是在这里

else {
Object var11 = var2.get(var7 + "_begin");
if (var11 != null) {
var3.append(" AND " + var7 + ">=");
if (org.jeecg.modules.online.cgform.c.f.a(var8)) {
var3.append(var11.toString());
} else {
var3.append("'" + var11.toString() + "'");
}
}
Object var12 = var2.get(var7 + "_end");
if (var12 != null) {
var3.append(" AND " + var7 + ">=");
if (org.jeecg.modules.online.cgform.c.f.a(var8)) {
var3.append(var12.toString());
} else {
var3.append("'" + var12.toString() + "'");
}
}
}

@zhangdaiscott
Copy link
Member

已经发现,下个版本发布

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