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

排序异常 #2739

Open
12341234-yangboran opened this issue Jun 26, 2024 · 1 comment
Open

排序异常 #2739

12341234-yangboran opened this issue Jun 26, 2024 · 1 comment

Comments

@12341234-yangboran
Copy link

12341234-yangboran commented Jun 26, 2024

版本号:

1.7.6

问题描述:

sql server数据库配置sql数据集,在sql中设置了order by。在报表预览中进行查询时会出现两个排序字段

错误日志&截图:

image

重现步骤:

SELECT
m.fbillno,
s.cinvname,
c.ccusname,
m.fbilldate,
s.fqty
FROM
[dbo].[KF_MaterialOutStoreM_D] as m
LEFT JOIN [dbo].[KF_MaterialOutStoreS_D] as s ON m.fbillno = s.fbillno
LEFT JOIN [dbo].[t_ClientInfo_B] as c ON m.clientcode = c.ccuscode
WHERE
m.FBillType = 'Out002' order by ccusname desc

友情提示(为了提高issue处理效率):

  • 积木报表是一款免费报表产品,功能免费源码不开放;
  • 未按格式要求发帖,会被直接删掉;
  • 请针对问题提供[报表设计配置或SQL脚本]或在官网制作报表示例并提供ID;
  • 针对不好重现的问题,请录制操作视频或详细的重现步骤;
@zhangdaiscott
Copy link
Member

cr

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