-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
分组功能异常 #2746
Comments
能解决吗 |
ws |
已修复,请等待新版本发布。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本号:1.7.6
问题描述:
sql server数据库,多表连接配置数据报表。
积木报表运行的sql比配置的sql多字段,多出的字段没有带表别名,产生异常。
错误日志&截图:
重现步骤:
配置sql
SELECT
s.FSupplyName,
s.FMaterial,
s.FQty,
m.FBillDate
FROM
HAJX_KF_MaterialInStoreM_D as m
LEFT JOIN HAJX_KF_MaterialInStoreS_D as s ON m.FBillNo = s.FBillNo
积木报表执行sql
SELECT TOP
10 FSupplyName,
FMaterial,
FQty,
FBillDate
FROM
(
SELECT
ROW_NUMBER ( ) OVER ( ORDER BY ROW_ALIAS_1 ) PAGE_ROW_NUMBER,
FSupplyName,
FMaterial,
FQty,
FBillDate
FROM
(
SELECT
s.FSupplyName,
s.FMaterial,
s.FQty,
m.FBillDate,
fsupplyname AS ROW_ALIAS_1
FROM
HAJX_KF_MaterialInStoreM_D AS m
LEFT JOIN HAJX_KF_MaterialInStoreS_D AS s ON m.FBillNo = s.FBillNo
) AS PAGE_TABLE_ALIAS
) AS PAGE_TABLE_ALIAS
WHERE
PAGE_ROW_NUMBER > 0
ORDER BY
PAGE_ROW_NUMBER
友情提示(为了提高issue处理效率):
The text was updated successfully, but these errors were encountered: